46 inimggray = inframe.getCvGRAY()
52 edges = cv2.Canny(inimggray, 100, 200, apertureSize = 3)
55 fps = self.
timer.stop()
56 height, width = edges.shape
57 cv2.putText(edges, fps, (3, height - 6), cv2.FONT_HERSHEY_SIMPLEX, 0.5, 255, 1, cv2.LINE_AA)
60 outframe.sendCvGRAY(edges)
66 idle, winw, winh = helper.startFrame()
69 x, y, w, h = helper.drawInputFrame(
"c", inframe,
False,
False)
70 helper.itext(
'JeVois-Pro AprilTag detection')
73 ingray = inframe.getCvGRAYp()
79 edges = cv2.Canny(inimggray, 100, 200, apertureSize = 3)
83 mask = cv2.merge( [ edges, edges, edges, edges ] )
84 helper.drawImage(
"edges", mask,
True, x, y, w, h,
False,
True);
87 fps = self.
timer.stop()
88 helper.iinfo(inframe, fps, winw, winh);