This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vision_definitions | |
import numpy | |
import time | |
import Image | |
camProxy = ALProxy("ALVideoDevice", NAO_IP, PORT) | |
t0 = time.time() | |
# block to capture image from NAO's camera with 640x480 resolution and YUV422 colorspace | |
client = camProxy.subscribe("client", vision_definitions.kVGA, vision_definitions.kYUV422ColorSpace, 5) |