JanCuhel
the inference being in real time is the main focus
i'm doing inferencing on two videos besides live inference
made it work on the camera the far away video is at normal speed with blocking=False
if its true the video is slow.
with the close video (like a cctv video) video with blocking True the video is at normal pace with detections good 80-90% of the times.
with blocking False the video is fast
anyway to fix this to make it so that the video runs at a fixed fps any thing i can change ?
if video:
q_rgb = device.getOutputQueue("manip")
q_in = device.getInputQueue(name="inFrame", maxSize=4, blocking=True)
videoPath = str((parentDir / Path('../../data/' + video_source)).resolve().absolute())
cap = cv2.VideoCapture(videoPath)
inputFrameShape = (sizeX, sizeY)