Skip to main content

Interface to the SpotCam driver.

Project description

Overview

This module provides a Python interface to the SpotCam driver from SPOT Imaging Solutions

Installation

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.)

Usage

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.

History

  • 1.0.0 : Initial release

  • 1.0.1 : Error in the SetExposure method corrected

Contact

Please send bug reports or feedback to Pierre Cladé.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PySpotCam-1.0.1.tar.gz (27.3 kB view details)

Uploaded Source

File details

Details for the file PySpotCam-1.0.1.tar.gz.

File metadata

  • Download URL: PySpotCam-1.0.1.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PySpotCam-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e257aeed147f7482c7971bfa08101ac5dadad5d268adf0e17b47c14d69ab2959
MD5 1dd597ba28038aede775c856e248d067
BLAKE2b-256 857f0a002cf55e2a9ec6679050c662f9eb3f3bdc6e265c32026231c7cb29f7cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page