Skip to main content

Use Elphel camera from python with opencv2

Project description

Control Elphel camera 353 from python using RTSP protocol and from imgsrv access for full resoltion images. See the GitHub Page:


From file:

python install

From pip:

pip install pyElphel


Video at full resolution (2592x1936) is impossible using RTSP. For this resolution use grab_image_slow(), which relies on imgsrv access through http.

Set parameters:

from pyElphel import Elphel

cam = Elphel()

cam.params['WOI_WIDTH'] = 1280
cam.params['WOI_HEIGHT'] = 720
cam.params['COLOR'] = 1
cam.params['EXPOS'] = 10000


Live display:

from pyElphel import Elphel

with Elphel() as cam:

Get single image:

from pyElphel import Elphel

with Elphel() as cam:

    img = cam.grab_image()

Get single image at full resolution:

from pyElphel import Elphel

cam = Elphel()

img = cam.grab_image_slow()

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyElphel-0.1.tar.gz (6.1 kB) Copy SHA256 hash SHA256 Source None May 22, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page