# Robocon Ball Detection and Decision Making
This project is designed to detect balls and make decisions based on their positions in the context of a Robocon competition.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [License](https://github.com/mariswarycharan/Robocon_24_version/blob/main/LICENSE)
## Introduction
Robocon Ball Detection and Decision Making is a Python project that utilizes computer vision techniques to detect balls and analyze their positions. The main goal is to aid in decision-making processes, especially in scenarios such as Robocon competitions where precise understanding of the game environment is crucial.
## Features
- Ball detection using YOLO (You Only Look Once) object detection model.
- Decision-making algorithm based on the positions of detected balls and predefined rules.
- Visualization of detected balls and decision outcomes.
## Installation
To use this project, follow these steps:
1. Clone the repository to your local machine:
```bash
git clone https://github.com/mariswarycharan/Robocon_24_version.git
```
2. Install the required dependencies:
```bash
pip install -r requirements.txt
```
3. Run the project:
```bash
from Robocon_24 import decision_maker
import cv2
image = cv2.imread(r'sample.jpg')
final_decision, result_image = decision_maker(image)
print(final_decision)
cv2.imshow('Result',result_image)
cv2.waitKey(0)
cv2.destroyAllWindows()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/mariswarycharan/Robocon_24_version",
"name": "Robocon-24",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Robocon, Ball, Detection, Decision, Making, Computer Vision, YOLO, Ultralytics, OpenCV, Python, Ball Detection, Ball Decision Making, Robocon 2024, Robocon 24",
"author": "Charan A A",
"author_email": "mariswarycharan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/88/f6/dfe1283f661edc45843fe9132a13ddfb82767010291acf1ecbcd18754129/Robocon_24-0.3.3.tar.gz",
"platform": null,
"description": "# Robocon Ball Detection and Decision Making\r\n\r\nThis project is designed to detect balls and make decisions based on their positions in the context of a Robocon competition.\r\n\r\n## Table of Contents\r\n- [Introduction](#introduction)\r\n- [Features](#features)\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [License](https://github.com/mariswarycharan/Robocon_24_version/blob/main/LICENSE)\r\n\r\n## Introduction\r\n\r\nRobocon Ball Detection and Decision Making is a Python project that utilizes computer vision techniques to detect balls and analyze their positions. The main goal is to aid in decision-making processes, especially in scenarios such as Robocon competitions where precise understanding of the game environment is crucial.\r\n\r\n## Features\r\n\r\n- Ball detection using YOLO (You Only Look Once) object detection model.\r\n- Decision-making algorithm based on the positions of detected balls and predefined rules.\r\n- Visualization of detected balls and decision outcomes.\r\n\r\n## Installation\r\n\r\nTo use this project, follow these steps:\r\n\r\n1. Clone the repository to your local machine:\r\n\r\n ```bash\r\n git clone https://github.com/mariswarycharan/Robocon_24_version.git\r\n ```\r\n\r\n2. Install the required dependencies:\r\n\r\n ```bash\r\n pip install -r requirements.txt\r\n ```\r\n\r\n3. Run the project:\r\n\r\n ```bash\r\n from Robocon_24 import decision_maker\r\n import cv2\r\n\r\n image = cv2.imread(r'sample.jpg')\r\n\r\n final_decision, result_image = decision_maker(image)\r\n\r\n print(final_decision)\r\n\r\n cv2.imshow('Result',result_image)\r\n cv2.waitKey(0)\r\n cv2.destroyAllWindows()\r\n ```\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "This project is designed to detect balls and make decisions based on their positions in the context of a Robocon competition.",
"version": "0.3.3",
"project_urls": {
"Documentation": "https://github.com/mariswarycharan/Robocon_24_version/blob/main/README.md",
"Download": "https://github.com/mariswarycharan/Robocon_24_version.git",
"GitHub Statistics": "https://github.com/mariswarycharan/Robocon_24_version",
"Homepage": "https://github.com/mariswarycharan/Robocon_24_version",
"Issue tracker": "https://github.com/mariswarycharan/Robocon_24_version/issues",
"Source code": "https://github.com/mariswarycharan/Robocon_24_version"
},
"split_keywords": [
"robocon",
" ball",
" detection",
" decision",
" making",
" computer vision",
" yolo",
" ultralytics",
" opencv",
" python",
" ball detection",
" ball decision making",
" robocon 2024",
" robocon 24"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a2674f98007d95f1aaf2efc9a051af94d7bbf25dd8a9c101bcd386758bcdca97",
"md5": "21a350023c33b373611281a72b3d1c35",
"sha256": "3a528e2d0852fab0ab53307a94f8cdd1e88fd190832cd8aae0c5140858bd23f7"
},
"downloads": -1,
"filename": "Robocon_24-0.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21a350023c33b373611281a72b3d1c35",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4964,
"upload_time": "2024-04-27T20:42:28",
"upload_time_iso_8601": "2024-04-27T20:42:28.612026Z",
"url": "https://files.pythonhosted.org/packages/a2/67/4f98007d95f1aaf2efc9a051af94d7bbf25dd8a9c101bcd386758bcdca97/Robocon_24-0.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "88f6dfe1283f661edc45843fe9132a13ddfb82767010291acf1ecbcd18754129",
"md5": "a8b8909fd77bcf6eebb4f46c94147998",
"sha256": "30548f23e36ea52979abe6a5cd52d9eb3854534cc938ef733516588b3675b5cc"
},
"downloads": -1,
"filename": "Robocon_24-0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "a8b8909fd77bcf6eebb4f46c94147998",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4537,
"upload_time": "2024-04-27T20:42:30",
"upload_time_iso_8601": "2024-04-27T20:42:30.781513Z",
"url": "https://files.pythonhosted.org/packages/88/f6/dfe1283f661edc45843fe9132a13ddfb82767010291acf1ecbcd18754129/Robocon_24-0.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-27 20:42:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mariswarycharan",
"github_project": "Robocon_24_version",
"github_not_found": true,
"lcname": "robocon-24"
}