# 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/5e/c3/028dfbdc635eba28dd6d368dd52deb2c4f555f192389873b416ffcdd0066/Robocon_24-1.0.1.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": "1.0.1",
"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": "3f6837846b76c7a955fef1b66afc810955a82f4d4c53be678bb44b40c0a65e4e",
"md5": "1c8634e4b328c9fcac0c8b604455e273",
"sha256": "a0e86cc7e1bd70ce6a366912b7892c86cfbd90a6cfe94c166b8c98bf5d9d451e"
},
"downloads": -1,
"filename": "Robocon_24-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1c8634e4b328c9fcac0c8b604455e273",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10856,
"upload_time": "2024-09-26T07:44:54",
"upload_time_iso_8601": "2024-09-26T07:44:54.032319Z",
"url": "https://files.pythonhosted.org/packages/3f/68/37846b76c7a955fef1b66afc810955a82f4d4c53be678bb44b40c0a65e4e/Robocon_24-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5ec3028dfbdc635eba28dd6d368dd52deb2c4f555f192389873b416ffcdd0066",
"md5": "fc56fe435d9c75d61417a4af8bed8f47",
"sha256": "c04b568c61cd671a1ab9ace367c98ad052ff2af4730aa24e3402bf8c2eebcc94"
},
"downloads": -1,
"filename": "Robocon_24-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "fc56fe435d9c75d61417a4af8bed8f47",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8585,
"upload_time": "2024-09-26T07:44:55",
"upload_time_iso_8601": "2024-09-26T07:44:55.090162Z",
"url": "https://files.pythonhosted.org/packages/5e/c3/028dfbdc635eba28dd6d368dd52deb2c4f555f192389873b416ffcdd0066/Robocon_24-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-26 07:44:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mariswarycharan",
"github_project": "Robocon_24_version",
"github_not_found": true,
"lcname": "robocon-24"
}