Interface to the SpotCam driver.
This module provides a Python interface to the SpotCam driver from SPOT Imaging Solutions
You need to install the driver from SPOT Imaging Solutions.
To install PySpotCam, download the package and run the command
python setup.py install
You can also directly move the PySpotCam directory to a location that Python can import from (directory in which scripts using PySpotCam are run, etc.)
Here is a small example
from PySpotCam.spot import SpotClass Spot = SpotClass() Spot.BitDepth = max(Spot.BitDepths) # Set the BitDepth to the max value Spot.ExternalTriggerMode = 1 Spot.SetExposure(gain=1, time=2) image = Spot.GetImage() print Spot.VersionInfo2
Almost all the functions described in the SPOTCam API are implemented.
- 1.0.0 : Initial release
- 1.0.1 : Error in the SetExposure method corrected
Please send bug reports or feedback to Pierre Cladé.