I\'m writing a C++ python extension to communicate to a GigE camera, and return a numpy array of the pixel values from the sensor to python. The part of the code responsible