{"id":23658234,"url":"https://github.com/timooo-thy/image-detection","last_synced_at":"2025-11-27T05:30:17.066Z","repository":{"id":190689311,"uuid":"683163015","full_name":"timooo-thy/image-detection","owner":"timooo-thy","description":"This Streamlit app allows you to upload images, detect objects in them, generate text descriptions, and add metadata to the images.","archived":false,"fork":false,"pushed_at":"2023-09-04T17:35:27.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T00:07:33.264Z","etag":null,"topics":[],"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/timooo-thy.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":"2023-08-25T18:42:33.000Z","updated_at":"2024-07-30T09:59:00.000Z","dependencies_parsed_at":"2024-12-29T00:16:27.511Z","dependency_job_id":null,"html_url":"https://github.com/timooo-thy/image-detection","commit_stats":null,"previous_names":["timooo-thy/imagedetection","timooo-thy/image-detection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fimage-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fimage-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fimage-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fimage-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timooo-thy","download_url":"https://codeload.github.com/timooo-thy/image-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239639226,"owners_count":19672780,"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":[],"created_at":"2024-12-29T00:06:07.239Z","updated_at":"2025-11-27T05:30:17.015Z","avatar_url":"https://github.com/timooo-thy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Detection (Write Metadata) Streamlit App\n\nWelcome to the Image Detection (Write Metadata) Streamlit App!\n\nWith this Streamlit app, you can easily:\n\n-Upload images\n\n-Detect objects within them\n\n-Generate text descriptions\n\n-Add metadata to the images\n\nThe models employed in this app are sourced from [Hugging Face](https://huggingface.co) and include \"facebook/detr-resnet-50\" for object detection and \"Salesforce/blip-image-captioning-base\" for text generation.\n\n## Getting Started\n\nFollow these steps to set up and run the Streamlit app on your local machine.\n\n## Prerequisites\n\n- Python (\u003e=3.9)\n- pip (Python package manager)\n\n## Installation\n\n1. Clone this repository to your local machine:\n\n   ```bash\n   git clone https://github.com/timooo-thy/image-detection.git\n   cd image-detection\n\n2. Create a virtual environment (recommended):\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate # On Windows: venv\\Scripts\\activate\n   \n3. Install the required packages:\n\n   ```bash\n   pip install -r requirements.txt\n\n## Setup Environment Variables\n\n1. Create a `.env` file in the root directory of the project.\n\n2. Add your huggingface token information to the `.env` file in the following format:\n   HUGGINGFACEHUB_API_TOKEN = your_api_key_here\n\n3. Make sure to include `.env` in your `.gitignore` file to keep your sensitive information secure.\n\n## Running the App\n\n1. Open a terminal and navigate to the project directory.\n\n2. Activate the virtual environment if you created one:\n\n   ```bash\n   source venv/bin/activate # On Windows: venv\\Scripts\\activate\n   \n3. Run the Streamlit app:\n\n   ```bash\n   streamlit run app.py\n\n4. The app should open in your default web browser.\n\n## Deploying to Production\n\nFor deploying the app to a production environment, consider deploying from Streamlit. Be sure to adjust configurations and follow deployment instructions for your chosen platform.\n\n## Author\n\n©Timothy Lee\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimooo-thy%2Fimage-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimooo-thy%2Fimage-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimooo-thy%2Fimage-detection/lists"}