Skip to main content

This project is designed to detect balls and make decisions based on their positions in the context of a Robocon competition.

Project description

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

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:

    git clone https://github.com/mariswarycharan/Robocon_24_version.git
    
  2. Install the required dependencies:

    pip install -r requirements.txt
    
  3. Run the project:

     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()
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Robocon_24-0.3.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

Robocon_24-0.3.3-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page