-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
In examples/17_video_mobilenet.py, the input stream for XLinkIn (from the video file to the nn input) is named “inDet” and then further down in the code when we retrieve inference results from the output queue, we use the same name to store the incoming detections from the output queue (ie, inDet = qDet.tryGet()). This duplicate use of that name may be potentially confusing for people who are just getting started with these examples. Also, the use of “Det” for the XInLink input stream name (“inDet”) is also confusing (since the input is an image frame from the input video stream). Suggest changing:
xinDet = pipeline.createXLinkIn()
xinDet.setStreamName("inDet")
To something more like this:
xinFrame = pipeline.createXLinkIn()
xinFrame.setStreamName(“inFrame")
Metadata
Metadata
Assignees
Labels
No labels