skip to navigation
skip to content

Not Logged In

pyElphel 0.1

Use Elphel camera from python with opencv2

Control Elphel camera 353 from python using RTSP protocol and from imgsrv access for full resoltion images. See the GitHub Page: https://github.com/hchauvet/pyElphel

Installation

From file:

python setup.py install

From pip:

pip install pyElphel

Examples

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

cam.set_params()

Live display:

from pyElphel import Elphel

with Elphel() as cam:
    cam.display()

Get single image:

from pyElphel import Elphel

with Elphel() as cam:
    cam.init_live()

    img = cam.grab_image()

Get single image at full resolution:

from pyElphel import Elphel

cam = Elphel()

img = cam.grab_image_slow()
 
File Type Py Version Uploaded on Size
pyElphel-0.1.tar.gz (md5) Source 2014-05-22 5KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 11 downloads in the last week
  • 64 downloads in the last month