This repository contains the codebase for the Vision Subteam of FRC Lioneers.
This repository hosts the codebase for our vision processing system. It includes object detection algorithms, network communication scripts, and other related components.
- Python (version 3.7 or later)
- OpenCV (version 4.0 or later)
- numpy (version 1.20 or later)
- ntcore (version 4.0 or later)
- ultralytics (version 6.0 or later)
- Clone the repository:
git clone https://github.com/Earl-Of-March-FRC/Vision2024.git
-
Install the dependencies:
-
Run the main script:
python main.py
To access the HTML interface for viewing the vision feed, follow these steps:
- Open a web browser and go to http://localhost:5500/Vision2024/src/templates/.
We welcome contributions from team members. If you have any improvements, bug fixes, or new features, please follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature-name
. - Commit your changes:
git commit -am 'Add some feature'
. - Push to the branch:
git push origin feature-name
. - Submit a pull request.
We follow a simple branching strategy to manage our codebase efficiently:
- main: This branch contains stable, production-ready code. It should always be deployable.
- development: All feature development and integration work should be done in this branch. It's where new features are developed and tested.
- feature branches: Each feature or task should have its own branch, branched off from the development branch. Once complete, it will be merged back into development.
- referemce: Where all reference dependencies for Vision team is located.
Please ensure that your code follows the PEP 8 style guide for Python.