Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nashory/image_converter
Multi-threaded image converter for easy image preprocessing for torch.
https://github.com/nashory/image_converter
converter image-processing multi-threading torch7
Last synced: 10 days ago
JSON representation
Multi-threaded image converter for easy image preprocessing for torch.
- Host: GitHub
- URL: https://github.com/nashory/image_converter
- Owner: nashory
- Created: 2017-09-05T04:27:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T09:25:41.000Z (over 7 years ago)
- Last Synced: 2024-11-19T05:59:49.143Z (2 months ago)
- Topics: converter, image-processing, multi-threading, torch7
- Language: Lua
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# image_converter
Multi-threaded image converter for easy image preprocessing for torch.## Prerequisites
+ python2.7
+ Torch7## Functionality
__1.Change file format__
+ png, jpg__2. Filter invalid image__
__3. Extract desired number of images from the source__
__4. Resize and padding__
__5. Multi-threaded loading and saving__
__6. Adjust contrast/brightness__
__7. Save images into .t7 format__
## USAGE
~~~
th imconverter.lua --input --output --format --extract --resize --padding --brightness --save_t7(e.g.) th imconverter.lua \
--input /home/nashory/src
--output /home/nashory/target
--format png
--extract 1000
--resize 128
--padding no
--brightness 0.5
--save_t7 yes
~~~## TODO
- [ ] Change file format
- [ ] Filter invalid image
- [ ] extract specific number of images
- [ ] resize and padding
- [ ] Multi-threaded loading and saving
- [ ] Adjust contrast/brightness
- [ ] Save into .t7 format## Author
MinchulShin, [@nashory](https://github.com/nashory)