{"id":21864166,"url":"https://github.com/tristan-mcinnis/ollama-image-processing-cli-tool","last_synced_at":"2026-05-19T19:36:05.293Z","repository":{"id":264746534,"uuid":"894279314","full_name":"tristan-mcinnis/Ollama-Image-Processing-CLI-Tool","owner":"tristan-mcinnis","description":"This tool processes images from a specified directory or file using a local API for image analysis.  It allows users to provide custom prompts and select vision-capable models for generating image descriptions.","archived":false,"fork":false,"pushed_at":"2024-11-26T04:40:06.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T15:29:23.651Z","etag":null,"topics":["ai","cli","image-annotation","image-annotation-tool","image-processing","local-llm","ollama","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tristan-mcinnis.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":"2024-11-26T04:32:28.000Z","updated_at":"2024-12-07T22:20:27.000Z","dependencies_parsed_at":"2024-11-26T05:25:28.533Z","dependency_job_id":null,"html_url":"https://github.com/tristan-mcinnis/Ollama-Image-Processing-CLI-Tool","commit_stats":null,"previous_names":["tristan-mcinnis/ollama-image-processing-cli-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FOllama-Image-Processing-CLI-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FOllama-Image-Processing-CLI-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FOllama-Image-Processing-CLI-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FOllama-Image-Processing-CLI-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tristan-mcinnis","download_url":"https://codeload.github.com/tristan-mcinnis/Ollama-Image-Processing-CLI-Tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868095,"owners_count":20523582,"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":["ai","cli","image-annotation","image-annotation-tool","image-processing","local-llm","ollama","python"],"created_at":"2024-11-28T04:07:43.445Z","updated_at":"2026-05-19T19:36:05.243Z","avatar_url":"https://github.com/tristan-mcinnis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Image Processing CLI Tool\n\nThis tool processes images from a specified directory or file using a local API for image analysis. \nIt allows users to provide custom prompts and select vision-capable models for generating image descriptions.\n\n## Features\n- Encodes and processes images using a local API.\n- Supports various image formats (e.g., JPG, PNG, BMP, TIFF, HEIC).\n- Generates image descriptions using user-defined or default prompts.\n- Logs detailed progress with categorized feedback.\n- Saves results to timestamped output files.\n\n## CLI Showcase\n![image](https://github.com/user-attachments/assets/35f31676-d88a-41e6-9eae-ace8b4038756)\n\n\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/tristan-mcinnis/Ollama-Image-Processing-CLI-Tool.git\ncd Ollama-Image-Processing-CLI-Tool\n```\n\n2. Install the required dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n3. Ensure your local API server is running at `http://localhost:11434`.\n\n## Usage\n\nRun the script:\n\n```bash\npython main.py\n```\n\n### Configuration\n\n1. The default directory for images is `./data`. Create this directory and add your images before running the script.\n\n2. Select a vision-capable model and customize the prompt during runtime.\n\n## Supported Models\n\nEnsure you have a vision-capable model like `llava:latest` installed on your local server.\n\n## Output\n\nProcessed results are saved in the `./outputs` directory with timestamped filenames.\n\n## Requirements\n\n- Python 3.8+\n- Local API server running at `http://localhost:11434`\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristan-mcinnis%2Follama-image-processing-cli-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftristan-mcinnis%2Follama-image-processing-cli-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristan-mcinnis%2Follama-image-processing-cli-tool/lists"}