Skip to content

Real-time knife and firearm detection on video/stream with YOLOv8 and Roboflow.

License

Notifications You must be signed in to change notification settings

Puyz/weapon-knife-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🇹🇷 Türkçe | 🇬🇧 English

VİDEODA VEYA KAMERADA BIÇAK VE ATEŞLİ SİLAH TESPİTİ

PROBLEM TANIMI

  • Güvenlik alanlarında, özellikle kamu yerlerinde, bıçak ve ateşli silahların tespiti hayati önem taşımaktadır. Günümüzde, bu tür tehlikeli nesnelerin tespit edilmesi için etkili ve hızlı yöntemlere ihtiyaç duyulmaktadır. Bu proje, video dosyaları veya canlı kamera akışlarında gerçek zamanlı olarak bıçak ve ateşli silah tespiti yapmayı amaçlar.

PROBLEMİN ÇÖZÜMÜ

  • Problemin çözümü için YOLOv8 modeli kullanılarak tespit gerçekleştirilmiştir. Bu model, Roboflow ile etiketlenmiş veriler üzerinde eğitilmiş ve test verileri ile gerçek zamanlı senaryolarda bıçak ve silahları başarıyla tespit edebilmektedir. GPU desteği ile akıcı ve düşük gecikmeli çalışır.

YOLOv8

  • YOLOv8, önceki YOLO sürümlerinin başarısını temel alan, performansı ve esnekliği artıran yeni özellikler ve iyileştirmeler sunar. Hızlı ve doğru olmasının yanı sıra edge cihazlarda gerçek zamanlı çalışmaya uygundur.

image

ROBOFLOW

  • Roboflow, verilerin etiketlenmesi ve yönetimi için kullanılan bir platformdur. YOLO formatında etiketleme yapılarak veri seti eğitim, doğrulama ve test olarak üçe ayrılmıştır. Bu süreç deneyleri hızlandırır ve veri kalitesini artırır.

image

SONUÇLAR

Aşağıda eğitimli modelden örnek tespit çıktıları yer almaktadır:

image

image


🇬🇧 English

Knife and Firearm Detection in Video or Camera

Problem Statement

  • In security-critical environments, especially public areas, detecting knives and firearms is vital. There is a strong need for fast and accurate methods to identify such dangerous objects. This project aims to perform real-time detection of knives and firearms on video files and live camera streams.

Solution

  • We use the YOLOv8 object detection model. The model is trained on data labeled with Roboflow and can successfully detect knives and firearms on test data and real-time scenarios. With GPU support, inference runs smoothly with low latency.

YOLOv8

  • YOLOv8 builds on the success of previous YOLO versions and introduces improvements that boost both performance and flexibility. It is fast, accurate, and suitable for real-time deployment on edge devices.

image

Roboflow

  • Roboflow is used for dataset preparation and labeling in YOLO format. The dataset is split into training, validation, and test sets, which streamlines experimentation and improves data quality.

image

Results

Below are sample detection outputs from the trained model:

image

image

About

Real-time knife and firearm detection on video/stream with YOLOv8 and Roboflow.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages