{"id":25019658,"url":"https://github.com/djeada/coin-detection","last_synced_at":"2025-08-17T13:13:05.704Z","repository":{"id":71154085,"uuid":"562226613","full_name":"djeada/Coin-Detection","owner":"djeada","description":"Training and using a machine learning model locally to accurately identify and count coins in a given image. This project includes data preprocessing, model training, and evaluation to ensure precise coin detection and counting.","archived":false,"fork":false,"pushed_at":"2025-06-13T19:19:24.000Z","size":1166,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T20:28:49.241Z","etag":null,"topics":["image-recognition","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/djeada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-11-05T17:30:28.000Z","updated_at":"2025-06-13T19:19:21.000Z","dependencies_parsed_at":"2023-09-26T14:28:05.076Z","dependency_job_id":"bcf66f84-7b34-4094-9d9e-9d245fce0fd1","html_url":"https://github.com/djeada/Coin-Detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/djeada/Coin-Detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FCoin-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FCoin-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FCoin-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FCoin-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djeada","download_url":"https://codeload.github.com/djeada/Coin-Detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FCoin-Detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270851969,"owners_count":24656788,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["image-recognition","opencv","python"],"created_at":"2025-02-05T11:51:21.755Z","updated_at":"2025-08-17T13:13:05.650Z","avatar_url":"https://github.com/djeada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coin-Detection\n\nTraining and using a machine learning model locally to accurately identify and count coins in a given image. This project includes data preprocessing, model training, and evaluation to ensure precise coin detection and counting.\n\n## Demo\n\nI. Example Input Image\n\n![Input Image](https://user-images.githubusercontent.com/37275728/200141206-688cf1be-a38f-4205-b44d-977cc153b020.png)\n\nII. Example Output Image\n\n![Output Image](https://user-images.githubusercontent.com/37275728/200141208-d525c6ab-54b6-4df9-b697-677ed7564d52.png)\n\n## Installation\n\nTo set up the project locally, follow these steps:\n\n1. **Clone the repository:**\n   \n   ```bash\n   git clone https://github.com/djeada/kaggle-house-prices.git\n   ```\n\n2. **Install virtualenv (if it's not already installed)**:\n\n   ```bash\n   pip install virtualenv\n   ```\n\n3. **Set up the virtual environment and install dependencies**:\n\n   ```bash\n   cd kaggle-house-prices\n   virtualenv env\n   source env/bin/activate\n   pip install -r requirements.txt\n   ```\n   \n4. **Run the project**:\n\n   ```bash\n   cd src\n   python -m src.main\n   ```\n\n## Usage\n\nTo display the help message and learn about the available options, run the following command:\n\n```bash\npython -m src.main -h\n```\n\nThe output should look like this:\n\n```\nusage: main.py [-h] [--path PATH] [--output_dir OUTPUT_DIR] [--r_min R_MIN]\n               [--r_max R_MAX] [--interactive INTERACTIVE] [--verbose VERBOSE]\n               [--image_output IMAGE_OUTPUT] [--csv_output CSV_OUTPUT]\n\noptions:\n  -h, --help            show this help message and exit\n  --path PATH           Path to the image\n  --output_dir OUTPUT_DIR\n                        Path to the output directory\n  --r_min R_MIN         Minimum radius of the coins\n  --r_max R_MAX         Maximum radius of the coins\n  --interactive INTERACTIVE\n                        Interactive mode\n  --verbose VERBOSE     Verbose mode\n  --image_output IMAGE_OUTPUT\n                        Should the images be displayed\n  --csv_output CSV_OUTPUT\n                        Should the csv with coin coordinates be saved\n```\n\n### Example Command\n\nIf your image is located at '/home/user/images/image.png', and you want to specify coin radii between 20 and 30 pixels, display the images, and save the results to a CSV file, use the following command:\n\n```bash\npython -m src.main --path /home/user/images/image.png --r_min 20 --r_max 30 --image_output True --csv_output True\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Fcoin-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjeada%2Fcoin-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Fcoin-detection/lists"}