{"id":16587284,"url":"https://github.com/diogo364/cli-image-categorizer","last_synced_at":"2026-04-22T09:31:35.570Z","repository":{"id":106514298,"uuid":"386691352","full_name":"Diogo364/cli-image-categorizer","owner":"Diogo364","description":"Minimalistic image categorizer to help separate images into individual categories.","archived":false,"fork":false,"pushed_at":"2022-08-11T19:38:44.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T08:56:57.176Z","etag":null,"topics":["opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Diogo364.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-07-16T15:56:30.000Z","updated_at":"2022-08-11T18:12:01.000Z","dependencies_parsed_at":"2023-07-21T13:50:10.415Z","dependency_job_id":null,"html_url":"https://github.com/Diogo364/cli-image-categorizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Diogo364/cli-image-categorizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diogo364%2Fcli-image-categorizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diogo364%2Fcli-image-categorizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diogo364%2Fcli-image-categorizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diogo364%2Fcli-image-categorizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Diogo364","download_url":"https://codeload.github.com/Diogo364/cli-image-categorizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diogo364%2Fcli-image-categorizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32129596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["opencv","python"],"created_at":"2024-10-11T22:53:45.049Z","updated_at":"2026-04-22T09:31:35.547Z","avatar_url":"https://github.com/Diogo364.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Categorizer\n\n## Description\nThese CLI programs help speed up and improve the manual image categorization process by providing a simple, but effective workflow. \n\n## Table of contents\n- [Image Categorizer](#image-categorizer)\n  - [Description](#description)\n  - [Table of contents](#table-of-contents)\n  - [How to use](#how-to-use)\n    - [Manual Binary Categorizer](#manual-binary-categorizer)\n      - [Description:](#description-1)\n      - [Commands:](#commands)\n      - [CLI Parameters:](#cli-parameters)\n      - [Example of usage:](#example-of-usage)\n    - [Manual Multiclass Categorizer](#manual-multiclass-categorizer)\n      - [Description:](#description-2)\n      - [Commands:](#commands-1)\n      - [CLI Parameters:](#cli-parameters-1)\n      - [Example of usage:](#example-of-usage-1)\n    - [Instalation](#instalation)\n  - [Technologies](#technologies)\n  - [Autor](#autor)\n\n---\n## How to use\n### Manual Binary Categorizer\n#### Description:\nCLI application to classify all images from a specific directory into two categories: `A` or `B`.\n\nBy calling the CLI application you will define the directory associated with `A` and `B`. When a image is classified, it is automatically moved from the source directory to the target directory assigned.\n\n#### Commands:\n- `a`: Move the shown image to directory `A`;\n- `b`: Move the shown image to directory `B`;\n- `q`: Exit the program;\n- `h`: Print all commands and instructions in the terminal;\n#### CLI Parameters:\n- `images_dir`:\n  - Source directory containing all images that should be classified.\n  - Kind: Positional argument.\n- `-a` or `--dir-a`:\n  - Directory associated with the category `A`.\n- `b` or `--dir-b`:\n  - Directory associated with the category `B`.\n- `--create-dir`:\n  - If used both ,dir-a and dir-b, are going to be created if already do not exist.\n\n#### Example of usage:\n\u003e ```$ python manual_binary_categorizer ./dataset/images -a ./target/classA -b ./target/classB --create-dir```\n\n---\n### Manual Multiclass Categorizer\n#### Description:\nCLI application to classify all images from a specific directory into various categories (Maximum of 34 classes).\n\nBy calling the CLI application you will define a list of output directories, corresponding to each class you want to classify. This list o directories will be associated with all digits and lower-case letters, in that order. When a image is classified, it is automatically moved from the source directory to the target directory assigned.\n\n#### Commands:\n- `digits` and `letters`: Move the shown image to directory associated;\n  - The directories listed are going to be assigned first by numeric order from [0,9] and then in alphabetical order [a, z].\n- `q`: Exit the program;\n- `h`: Print all commands and instructions in the terminal;\n#### CLI Parameters:\n- `images_dir`:\n  - Source directory containing all images that should be classified.\n  - Kind: Positional argument.\n- `-d` or `--dir-list`:\n  - Output directories separated by space.\n- `--create-dir`:\n  - If used both ,dir-a and dir-b, are going to be created if already do not exist.\n\n#### Example of usage:\n\u003e ```$ python manual_multiclass_categorizer ./dataset/images -d ./target/classA ./target/classB ./target/classC --create-dir```\n\n### Instalation\nAll requirements are in the `requirements.txt` file. From pip, just run in the terminal the following command and you are ready to go.\n\u003e ```$ pip install -r requirements.txt```\n## Technologies\n\n- `Python\u003e=3.8`\n- `OpenCV\u003e=4.5`\n\n## Autor\n\n\u003ca href=\"https://github.com/Diogo364\" \u003e\n \u003cimg style=\"border-radius: 50%;\" src=\"https://avatars.githubusercontent.com/u/44041957?s=400\u0026u=44d208aa5d0b6df75c0bb60e2583fe6015cc0ed0\u0026v=4\" width=\"100px;\" alt=\"\"/\u003e\n\u003c/a\u003e\n\u003cbr\u003e\n\n[Diogo Nascimento](https://github.com/Diogo364)\n[![Linkedin Badge](https://img.shields.io/badge/-Diogo-blue?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\u0026link=https://www.linkedin.com/in/diogo-telheiro-do-nascimento/)](https://www.linkedin.com/in/diogo-telheiro-do-nascimento/) \n[![Gmail Badge](https://img.shields.io/badge/-diogotnascimento94@gmail.com-c14438?style=flat-square\u0026logo=Gmail\u0026logoColor=white\u0026link=mailto:diogotnascimento94@gmail.com)](mailto:diogotnascimento94@gmail.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogo364%2Fcli-image-categorizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiogo364%2Fcli-image-categorizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogo364%2Fcli-image-categorizer/lists"}