61 inimg = inframe.getCvBGR()
81 outimg = cv2.Laplacian(inimg, -1, ksize=5, scale=0.25, delta=127)
84 cv2.putText(outimg,
"JeVois Python Sandbox", (3, 20), cv2.FONT_HERSHEY_SIMPLEX, 0.5, (255,255,255))
87 fps = self.
timer.stop()
88 outheight = outimg.shape[0]
89 outwidth = outimg.shape[1]
90 cv2.putText(outimg, fps, (3, outheight - 6), cv2.FONT_HERSHEY_SIMPLEX, 0.5, (255,255,255))
93 outframe.sendCv(outimg)
99 idle, winw, winh = helper.startFrame()
102 x, y, w, h = helper.drawInputFrame(
"c", inframe,
False,
False)
111 helper.drawCircle(50, 50, 20, 0xffffffff,
True)
112 helper.drawRect(100, 100, 300, 200, 0xffffffff,
True)
115 fps = self.
timer.stop()
116 helper.iinfo(inframe, fps, winw, winh);