nanophotonics / nplab

Core functions and instrument scripts for the Nanophotonics lab experimental scripts
GNU General Public License v3.0
38 stars 15 forks source link

instrument.camera.Camera should be generic #3

Closed rwb27 closed 9 years ago

rwb27 commented 9 years ago

Currently, instrument.camera.Camera is a concrete class that talks to OpenCV cameras. We should really rearrange so that Camera is a generic (abstract) instrument that defines useful things for cameras to do, perhaps along with a GUI, and move the OpenCV code to instrument.camera.opencv.OpenCVCamera.

rwb27 commented 9 years ago

Now it is :)