- NVIDIA Driver (Official Download Link)
- CUDA Toolkit (Official Link)
- Miniconda (Official Link)
- PyTorch (Official Link)
- Ultralytics YOLOv8 (Official Link)
- ByteTracker (Official Link)
- Supervision (Official Link)
- Onemetric (Official Link)
- Create conda env.
- Install dependencies into env.
- Annotate your datasets of cement bags. A good online data annotation tool is Roboflow or VGG Image Annotator. A
data.yamlfile must get created along withtrain,validandtestfolders containing the images and labels. - Follow Official Link to train network and generate
yolo8.ptfile with your network architecture of choice, along with your dataset.
- Update the
video fileand.ptfile paths incounter.pyin themain()function. - Run
python counter.pyinside your conda env.
A brief REPORT can be read to better understand the algorithm.
See the LICENSE file for details.
