![]() |
darknet
v3
|
Functions | |
def | array_to_image (arr) |
def | detect2 (net, meta, image, thresh=.5, hier_thresh=.5, nms=.45) |
Variables | |
net = dn.load_net("cfg/tiny-yolo.cfg", "tiny-yolo.weights", 0) | |
meta = dn.load_meta("cfg/coco.data") | |
r = dn.detect(net, meta, "data/dog.jpg") | |
arr = imread('data/dog.jpg') | |
def | im = array_to_image(arr) |
def detector-scipy-opencv.array_to_image | ( | arr | ) |
Definition at line 9 of file detector-scipy-opencv.py.
def detector-scipy-opencv.detect2 | ( | net, | |
meta, | |||
image, | |||
thresh = .5 , |
|||
hier_thresh = .5 , |
|||
nms = .45 |
|||
) |
Definition at line 19 of file detector-scipy-opencv.py.
detector-scipy-opencv.arr = imread('data/dog.jpg') |
Definition at line 45 of file detector-scipy-opencv.py.
def detector-scipy-opencv.im = array_to_image(arr) |
Definition at line 46 of file detector-scipy-opencv.py.
detector-scipy-opencv.meta = dn.load_meta("cfg/coco.data") |
Definition at line 40 of file detector-scipy-opencv.py.
detector-scipy-opencv.net = dn.load_net("cfg/tiny-yolo.cfg", "tiny-yolo.weights", 0) |
Definition at line 39 of file detector-scipy-opencv.py.
Definition at line 41 of file detector-scipy-opencv.py.