Change camera configurations using Python

57 views
Skip to first unread message

Tom

unread,
Nov 16, 2020, 2:25:45 PM11/16/20
to dv-users

Hi all,


I am looking to understand how the dvs cameras works by completing an automated custom calibration of the camera.  I am comfortable in python and was looking to use the dv-python module that has been built.


The dv-python module allows the recording and image processing of the aedat4 data in python, but does not allow the user to change the configuration parameters of the camera using python.  I was looking to be able to use some basic c++ code to change camera configurations then wrap them into python, allowing me to change camera configuration parameters from python.


I have looked for some documentation on how to write the c++ code to change the configurations parameters of the camera, but failed to find anything I see as useful.

 

Hopefully someone could help me with this effort.

 

Thanks you.

Luca Longinotti

unread,
Nov 17, 2020, 11:27:35 AM11/17/20
to ttttt...@gmail.com, dv-u...@googlegroups.com
Hello, this is actually possible with dv-python:
https://gitlab.com/inivation/dv/dv-python#experimental-interfacing-with-config-tree
It uses the dv-control utility to manipulate the configuration, to see
all available configuration you can call dv-control directly and type
'dump_tree' as command.
Hope this helps, have a nice week!
Reply all
Reply to author
Forward
0 new messages