gudovskiy / yoloNCS

YOLO object detector for Movidius Neural Compute Stick (NCS)
MIT License
180 stars 77 forks source link

Error running detectionExample #17

Closed kumar-shridhar closed 6 years ago

kumar-shridhar commented 6 years ago

File " ./YoloV2NCS/detectionExample/ObjectWrapper.py", line 101, in Detect ObjectWrapper.fifoInHandle[i], NameError: name 'i' is not defined

kumar-shridhar commented 6 years ago

Changing line 101 and 102 from: ObjectWrapper.fifoInHandle[i], ObjectWrapper.fifoOutHandle[i],

to : ObjectWrapper.fifoInHandle[idx], ObjectWrapper.fifoOutHandle[idx],

will solve the issue.