Skip to content

Forklift Detection with YOLOv8 🚚

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENCE.md
Notifications You must be signed in to change notification settings

azimjaan21/forklift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Forklift Detection with YOLOv8 🚚

Introduction ✨

This repository contains a real-time forklift detection model implemented using YOLOv8. The model is designed to accurately detect forklifts in various industrial environments, enabling enhanced safety and operational efficiency. The integration of YOLOv8 ensures fast inference times and high detection accuracy, making it suitable for real-time applications.


Datasets πŸ“ƒ

The model was trained on a curated dataset containing forklift images sourced from diverse environments, including warehouses, loading docks, and industrial facilities. The dataset includes:

  • Training Set: Annotated forklift images with bounding boxes.
  • Validation Set: Images for evaluating the model during training.
  • Test Set: Independent images for final evaluation.

Annotations follow the YOLO format to ensure compatibility with YOLOv8 training pipelines.


Model Evaluation βš™οΈ

The performance of the trained YOLOv8 model was evaluated using standard metrics:

  • Precision (P): πŸ”  Measures the percentage of correct positive detections.
  • Recall (R): πŸ”„ Evaluates the ability to detect all forklifts in the images.
  • F1-Score: βœ”οΈ The harmonic mean of Precision and Recall, providing a balanced performance metric.

Detailed results:

Metric Value
Precision 0.95
Recall 0.93
F1-Score 0.94

Prediction Results πŸ“Έ

Below are some examples of the model's detection capabilities. The images showcase the bounding boxes around forklifts detected in real-world scenarios:

[πŸ” Detection Example 1]

image

[πŸ” Detection Example 2]

image

[πŸ” Detection Example 3]

image

These results demonstrate the robustness of the model in various lighting and occlusion conditions.


Monitoring System Integration πŸš€

The YOLOv8 model has been integrated into a real-time monitoring system to enhance operational safety. Key features include:

  1. Live Video Stream Detection: πŸŽ₯ Real-time forklift detection from live camera feeds.
  2. Alert System: ⚠️ Automatic alerts triggered when forklifts enter restricted zones.
  3. Data Logging: πŸ“‹ Storing detection logs for further analysis and auditing.

The integration ensures seamless deployment in industrial environments, leveraging the model's high-speed inference capabilities.

image


How to Use πŸ“š

Prerequisites πŸ› οΈ

Installation βš™οΈ

  1. Clone the repository:
    git clone https://github.com/yourusername/forklift.git
    cd forklift
  2. Install dependencies:
    pip install -r requirements.txt

Training the Model πŸ’ͺ

Use the following command to train the model:

python train.py --data forklift_data.yaml --epochs 50 --img 640

Running Inference ⏯

To run inference on test images or video streams:

python detect.py --weights best.pt --source path/to/images_or_video

Contributions πŸ™Œ

Contributions are welcome! Please submit issues or pull requests for improvements or bug fixes.


License πŸ”’

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Forklift Detection with YOLOv8 🚚

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENCE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages