JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Go to the source code of this file.
Namespaces | |
namespace | test-model |
Variables | |
str | test-model.MODEL_FPATH = "face-detection-retail-0004.bin" |
str | test-model.ARCH_FPATH = "face-detection-retail-0004.xml" |
float | test-model.CONF_THRESH = 0.5 |
test-model.net = cv2.dnn.readNet(ARCH_FPATH, MODEL_FPATH) | |
test-model.vid_cap = cv2.VideoCapture(0) | |
test-model.ret | |
test-model.frame | |
test-model.blob = cv2.dnn.blobFromImage(frame, size=(300, 300), ddepth=cv2.CV_8U) | |
test-model.out = net.forward() | |
test-model.conf = float(detect[2]) | |
test-model.xmin = int(detect[3] * frame.shape[1]) | |
test-model.ymin = int(detect[4] * frame.shape[0]) | |
test-model.xmax = int(detect[5] * frame.shape[1]) | |
test-model.ymax = int(detect[6] * frame.shape[0]) | |
test-model.color | |
test-model.thickness | |