do only one photo with photocapture
This commit is contained in:
@@ -22,7 +22,7 @@ subscriber = videoDevice.subscribeCamera(
|
|||||||
# create image
|
# create image
|
||||||
image = np.zeros((res[1][0], res[1][1], 3), np.uint8)
|
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)
|
result = videoDevice.getImageRemote(subscriber)
|
||||||
videoDevice.releaseImage(subscriber)
|
videoDevice.releaseImage(subscriber)
|
||||||
|
|||||||
Reference in New Issue
Block a user