Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)