PINTO0309 / MobileNet-SSD-RealSense

[High Performance / MAX 30 FPS] RaspberryPi3(RaspberryPi/Raspbian Stretch) or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435(or USB Camera or PiCamera) + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering
https://qiita.com/PINTO
MIT License
366 stars 127 forks source link

Fix usb cam mode. #2

Closed Drunkar closed 6 years ago

Drunkar commented 6 years ago

When I use MultiStickSSDwithRealSense.py in usb cam mode, some arguments like depth_scale will be undefined. This is caused by missing of global statement. (Local variable is prioritized.)