JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Variables | |
str | MODEL_FPATH = "face-detection-retail-0004.bin" |
str | ARCH_FPATH = "face-detection-retail-0004.xml" |
float | CONF_THRESH = 0.5 |
net = cv2.dnn.readNet(ARCH_FPATH, MODEL_FPATH) | |
vid_cap = cv2.VideoCapture(0) | |
ret | |
frame | |
blob = cv2.dnn.blobFromImage(frame, size=(300, 300), ddepth=cv2.CV_8U) | |
out = net.forward() | |
conf = float(detect[2]) | |
xmin = int(detect[3] * frame.shape[1]) | |
ymin = int(detect[4] * frame.shape[0]) | |
xmax = int(detect[5] * frame.shape[1]) | |
ymax = int(detect[6] * frame.shape[0]) | |
color | |
thickness | |
str test-model.ARCH_FPATH = "face-detection-retail-0004.xml" |
Definition at line 6 of file test-model.py.
test-model.blob = cv2.dnn.blobFromImage(frame, size=(300, 300), ddepth=cv2.CV_8U) |
Definition at line 25 of file test-model.py.
test-model.color |
Definition at line 38 of file test-model.py.
test-model.conf = float(detect[2]) |
Definition at line 31 of file test-model.py.
float test-model.CONF_THRESH = 0.5 |
Definition at line 7 of file test-model.py.
test-model.frame |
Definition at line 22 of file test-model.py.
str test-model.MODEL_FPATH = "face-detection-retail-0004.bin" |
Definition at line 5 of file test-model.py.
test-model.net = cv2.dnn.readNet(ARCH_FPATH, MODEL_FPATH) |
Definition at line 10 of file test-model.py.
test-model.out = net.forward() |
Definition at line 27 of file test-model.py.
test-model.ret |
Definition at line 22 of file test-model.py.
test-model.thickness |
Definition at line 38 of file test-model.py.
test-model.vid_cap = cv2.VideoCapture(0) |
Definition at line 16 of file test-model.py.
test-model.xmax = int(detect[5] * frame.shape[1]) |
Definition at line 34 of file test-model.py.
test-model.xmin = int(detect[3] * frame.shape[1]) |
Definition at line 32 of file test-model.py.
test-model.ymax = int(detect[6] * frame.shape[0]) |
Definition at line 35 of file test-model.py.
test-model.ymin = int(detect[4] * frame.shape[0]) |
Definition at line 33 of file test-model.py.