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