Views
No views yet
ultralytics package for YOLOgit clone https://huggingface.co/Accurateinfosolution/Suspicious_activity_detection_Yolov11_Custompip install ultralyticsSuspicious_Activities_nano.pt file in the project directory.python predict.pypredict.pybest.pt model and detect objects:1from ultralytics import YOLO
2
3# Load the custom YOLO model
4model = YOLO("Suspicious_Activities_nano.pt")
5
6# Perform prediction
7model.predict(source="0", show=True, conf=0.6)"0" with:0 or 1).