Generic instruments
-
class rep.generic.Camera(cam=-1)
Bases: object
-
close()
-
configure()
Opens a dialog to set the camera’s parameters.
-
find_resolutions()
Returns a list of resolution tuples that this camera supports.
-
id_string
-
open()
-
query_frame()
-
resolution
-
roi
-
class rep.generic.CameraError(msg, cam)
Bases: exceptions.Exception
-
class rep.generic.DirectShowWebcam(*args, **kwargs)
Bases: rep.generic.camera.Camera
Camera that interfaces through DirectShow
-
close()
-
configure()
-
id_string
-
open()
-
query_frame()
-
resolution
-
class rep.generic.OpenCVWebcam(*args, **kwargs)
Bases: rep.generic.camera.Camera
-
close()
-
id_string
-
open()
-
query_frame()
-
resolution
Resolution of the webcam - a 2-tuple