Browse Source

add usage for our custom trained model

dev
sipp11 5 years ago
parent
commit
f83352cee2
  1. 6
      examples/yolo_obj_detector.py

6
examples/yolo_obj_detector.py

@ -4,6 +4,12 @@ python examples/yolo_obj_detector.py \
-w ~/dev/obj-tracking/yolov3.weights \
-cl ~/dev/obj-tracking/yolo/darknet/data/coco.names \
-i ~/dev/obj-tracking/person.jpg
python examples/yolo_obj_detector.py \
-c ~/syncthing/dropbox/tracking-obj/mytrain.cfg \
-w ~/syncthing/dropbox/tracking-obj/mytrain_final.weights \
-cl ~/syncthing/dropbox/tracking-obj/mytrain.names \
-i /media/sipp11/500BUP/handai_photos/test/6294.jpg
"""
import cv2
import argparse

Loading…
Cancel
Save