Skip to content

MacMat01/yolo-detection-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cards Object Detection

CodeQL

This project aims to detect strategic fruits cards using YOLOv8. It is implemented in Python and uses several libraries for data processing and model training.

Project Structure

The project has the following structure:

  • card_detection_app.py: Main application script for card detection.
  • environment.yml: Contains the conda environment configuration.
  • setup.py: Contains the setup configuration for the Python package.

Getting Started

Prerequisites

Ensure you have the following installed on your system:

Installation

  1. Clone the repository:
git clone https://github.com/MacMat01/yolo-detection-app.git
  1. Navigate to the project directory:
cd yolo-detection-app
  1. Create a new conda environment from the environment.yml file:
conda env create --name <your-environment-name>
  1. Activate the conda environment:
conda activate <your-environment-name>
  1. Install the build and pip tools:
pip install --upgrade build pip
  1. Build a source distribution (sdist) and a binary distribution (wheel) of your package:
python -m build
  1. Install the package from the wheel file:
pip install --user dist/*.whl # If it doesn't work, change </*.whl> to the name of the wheel file generated in step 6

Running the Application

For Using the Main Application

To run the main application, navigate to the src directory and run the card_detection_app.py script:

cd src

Before running the main application, in the CardDetectionApp’s init method, remember to change the video_path to the path of the video you want to use. Otherwise, by default will be used the video camera

For the main application, run the following command:

python card_detection_app.py

License

This project is licensed under the MIT License—see the LICENSE file for details.

About

This app manages real time data collection for cards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages