You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Model Details

YoloV8n 3M parameters model for Guns Detection, trained on 16k images

Model Description

  • Shared by [optional]: Karun Sharma
  • License: MIT

Model Sources [optional]

Uses

Can be used to detect presenece of Guns in images for Moderation.

Downstream Use [optional]

Classes of Arms/Guns(Pistols, Grenades)

How to Get Started with the Model

Use the code below to get started with the model.

from ultralytics import YOLO

model = YOLO('best.pt')

results = model(['im1.jpg', 'im2.jpg'])  # return a list of Results objects

# Process results list
for result in results:
    boxes = result.boxes  # Boxes object for bounding box outputs
    masks = result.masks  # Masks object for segmentation masks outputs
    keypoints = result.keypoints  # Keypoints object for pose outputs
    probs = result.probs  # Probs object for classification outputs
    result.show()  # display to screen
    result.save(filename='result.jpg')  # save to disk
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Examples
Unable to determine this model's library. Check the docs .