Slice Condition using Python
Hi,
I'm trying to make use of the CameraStreamSlicer() function to change the duration of each slice.
I've tried looking through all the documentation but I cant seem to figure out how to do this using the Python functions.
Based on the information I could find I tried the following (and some variations of this):
slicecondition = SliceCondition.make_n_us(1000)
slicer = CameraStreamSlicer(camera=camera.move(), slice_condition=slicecondition, max_queue_size=5)
But this gives me the following error:
TypeError: __init__(): incompatible constructor arguments.
I have also tried using a json file using camera.load(settings)file) instead, which seems to work when I have a camera connected but not when im playing back from a file as it gives: "Error 102119: Cannot deserialize when running from a file."
I would very much appreciate any support that anyone can provide with this.
Information
In this Community Forum, you can discuss products, technology and applications. Only registred users can post but everyone can read. To ask a private question, enter a support ticket in My Area
https://support.prophesee.ai/portal/en/newticket