JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Go to the source code of this file.
Namespaces | |
namespace | demo |
Functions | |
demo.str2bool (v) | |
Variables | |
demo.choices | |
demo.recognizer = SFace(modelPath=args.model, disType=args.dis_type, backendId=args.backend, targetId=args.target) | |
demo.detector | |
demo.img1 = cv.imread(args.input1) | |
demo.img2 = cv.imread(args.input2) | |
demo.face1 = detector.infer(img1) | |
demo.face2 = detector.infer(img2) | |
demo.result = recognizer.match(img1, face1[0][:-1], img2, face2[0][:-1]) | |