do only one photo with photocapture

This commit is contained in:
Jonas
2018-05-31 10:26:49 +02:00
parent 24bcac78e3
commit f54fbc952d

View File

@@ -22,7 +22,7 @@ subscriber = videoDevice.subscribeCamera(
# create image
image = np.zeros((res[1][0], res[1][1], 3), np.uint8)
for k in range(2):
for k in range(1):
result = videoDevice.getImageRemote(subscriber)
videoDevice.releaseImage(subscriber)