{"id":20982313,"url":"https://github.com/nashory/image_converter","last_synced_at":"2026-04-16T14:35:54.276Z","repository":{"id":89673753,"uuid":"102434084","full_name":"nashory/image_converter","owner":"nashory","description":"Multi-threaded image converter for easy image preprocessing for torch.","archived":false,"fork":false,"pushed_at":"2017-09-15T09:25:41.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T06:45:16.118Z","etag":null,"topics":["converter","image-processing","multi-threading","torch7"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nashory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-05T04:27:45.000Z","updated_at":"2019-07-15T13:17:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"353f9556-ee0e-4642-8b45-d981acf407e9","html_url":"https://github.com/nashory/image_converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Fimage_converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Fimage_converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Fimage_converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Fimage_converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nashory","download_url":"https://codeload.github.com/nashory/image_converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243384863,"owners_count":20282444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","image-processing","multi-threading","torch7"],"created_at":"2024-11-19T05:45:12.897Z","updated_at":"2025-12-28T14:22:46.614Z","avatar_url":"https://github.com/nashory.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image_converter\nMulti-threaded image converter for easy image preprocessing for torch.\n\n\n## Prerequisites\n+ python2.7\n+ Torch7\n\n\n\n## Functionality\n__1.Change file format__\n    + png, jpg\n\n__2. Filter invalid image__\n\n__3. Extract desired number of images from the source__\n\n__4. Resize and padding__\n\n__5. Multi-threaded loading and saving__\n\n__6. Adjust contrast/brightness__\n\n__7. Save images into .t7 format__\n\n\n## USAGE\n~~~\nth imconverter.lua --input \u003csource_dir\u003e --output \u003ctarget_dir\u003e --format \u003cimage_format\u003e --extract \u003cnumber_of_images\u003e --resize \u003cimg_size\u003e --padding \u003cyes/no\u003e --brightness \u003cbrightness_range\u003e --save_t7 \u003cyes/no\u003e\n\n(e.g.) th imconverter.lua \\\n\t\t\t--input /home/nashory/src\n\t\t\t--output /home/nashory/target\n\t\t\t--format png\n\t\t\t--extract 1000\n\t\t\t--resize 128\n\t\t\t--padding no\n\t\t\t--brightness 0.5\n\t\t\t--save_t7 yes\n~~~\n\n## TODO\n- [ ] Change file format\n- [ ] Filter invalid image\n- [ ] extract specific number of images\n- [ ] resize and padding\n- [ ] Multi-threaded loading and saving\n- [ ] Adjust contrast/brightness\n- [ ] Save into .t7 format\n\n\n## Author\nMinchulShin, [@nashory](https://github.com/nashory)\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnashory%2Fimage_converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnashory%2Fimage_converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnashory%2Fimage_converter/lists"}