{"id":18449099,"url":"https://github.com/alekseyscorpi/fruits-vegetables-cv","last_synced_at":"2026-04-28T18:30:56.916Z","repository":{"id":259692409,"uuid":"871912268","full_name":"AlekseyScorpi/fruits-vegetables-CV","owner":"AlekseyScorpi","description":"PET CV project. The application simulates the operation of smart scales, which themselves classify the product and offer options to the customer.","archived":false,"fork":false,"pushed_at":"2025-03-29T11:40:28.000Z","size":22927,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T01:54:01.424Z","etag":null,"topics":["classification","computervision","cv2","detection","fruits-and-vegetables","nano","pillow","psycopg2","python","python3","python311","small","yolov8"],"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/AlekseyScorpi.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,"zenodo":null}},"created_at":"2024-10-13T09:45:23.000Z","updated_at":"2025-03-29T11:41:18.000Z","dependencies_parsed_at":"2025-04-15T11:48:11.627Z","dependency_job_id":null,"html_url":"https://github.com/AlekseyScorpi/fruits-vegetables-CV","commit_stats":null,"previous_names":["alekseyscorpi/fruits-vegetables-cv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlekseyScorpi/fruits-vegetables-CV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyScorpi%2Ffruits-vegetables-CV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyScorpi%2Ffruits-vegetables-CV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyScorpi%2Ffruits-vegetables-CV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyScorpi%2Ffruits-vegetables-CV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlekseyScorpi","download_url":"https://codeload.github.com/AlekseyScorpi/fruits-vegetables-CV/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyScorpi%2Ffruits-vegetables-CV/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32394169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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":["classification","computervision","cv2","detection","fruits-and-vegetables","nano","pillow","psycopg2","python","python3","python311","small","yolov8"],"created_at":"2024-11-06T07:18:29.281Z","updated_at":"2026-04-28T18:30:56.911Z","avatar_url":"https://github.com/AlekseyScorpi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍏 Python FRUITS-VEGETABLES SMART SCALES PET PROJECT\n\n🚀 **PET project**, featuring:\n- 📸 **YOLO (nano/small) models** for detecting fruits and vegetables (YOLOv8)\n- 🖥️ **Qt application** (simulation of smart scales for automatic product detection)\n- 🗄️ **Database** (PostgreSQL in a Docker container)  \n  👉 Repository with the container: [fruits-vegetables-cv-docker](https://github.com/AlekseyScorpi/fruits-vegetables-cv-docker)\n\n![Python](https://img.shields.io/badge/python-3.11-blue)\n![YOLOv8](https://img.shields.io/badge/YOLOv8-nano%2Fsmall-green)\n![PostgreSQL](https://img.shields.io/badge/PostgreSQL-Docker-blue)\n\n---\n\n## 🛠 Installation Guide\n\n### 1️⃣ Create and activate a virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # Linux/macOS\nvenv\\Scripts\\activate     # Windows\n```\n\n### 2️⃣ Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n### 3️⃣ Configure the `.env` file:\nCreate a `.env` file and add the following parameters:\n\n| Variable           | Example Value           | Description |\n|---------------------|-------------------------|----------|\n| `DEBUG`            | `TRUE` or `FALSE`       | Debug mode |\n| `MODEL`            | `NANO` or `SMALL`       | YOLO version |\n| `DATABASE_DBNAME`  | `smart_scales_db`       | Database name |\n| `DATABASE_USERNAME`| `smart_scales_user`     | Database user |\n| `DATABASE_PASSWORD`| `your_password`        | Database password |\n| `DATABASE_HOST`    | `localhost` or IP       | Database host |\n| `DATABASE_PORT`    | `5432` (or `5433`)      | Database port |\n\n🔹 **Note**:  \nThe parameters `DBNAME`, `USERNAME`, and `PASSWORD` are set in the PostgreSQL container. Details can be found in the repository [fruits-vegetables-cv-docker](https://github.com/AlekseyScorpi/fruits-vegetables-cv-docker).\n\n---\n\n## 🚀 Running the Application\n\nSimply execute the following command:\n```bash\npython main.py\n```\n\n---\n\n## 🏆 About the Models\n\n📖 More details about our models and the problem-solving approach can be found in our article:  \n📝 **[elibrary.ru/item.asp?id=80257050](https://elibrary.ru/item.asp?id=80257050)** (in Russian)\n\n📂 **Training logs and model weights 1-YOLOv8 (small), 2-YOLOv8 (nano), 3-YOLOv11 (nano), 4-YOLOv11 (small)**:  \n📎 **[Google Drive](https://drive.google.com/file/d/1d2SuxCLBYriJ4DaPlrhQIz8JvasaTVLF/view?usp=drive_link)**\n\n---\n\n## ✉ Contact\n📧 **Email**: timoshin_aleksey02@mail.ru  \n🐙 **GitHub**: [AlekseyScorpi](https://github.com/AlekseyScorpi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekseyscorpi%2Ffruits-vegetables-cv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falekseyscorpi%2Ffruits-vegetables-cv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekseyscorpi%2Ffruits-vegetables-cv/lists"}