Call Python from C++ OpenCV 3.0
Call Python from C++ OpenCV 3.0 Question: So i was using PiCam to get video feed, but figured i could try to get the stream to C++ for processing. Python code: import time import picamera import picamera.array import cv2 with picamera.PiCamera() as camera: camera.start_preview() time.sleep(2) with picamera.array.PiRGBArray(camera) as stream: camera.capture(stream, format=’bgr’) # At this point …
Total answers: 1