Expected behavior
I expected to have an Aravis.Buffer reference to be created
Camera description:
arv-fake-gv-camera-0.8 -i 127.0.0.1
Platform description:
Aravis version 0.8
OS: [Ubuntu 22.04]
Hardware [x86_64]
Python version: Python 3.10.12 64bit
Additional context
Trying in python to create an Aravis Buffer which is already preallocated and populated with fake values like above. The context is to push this buffer into a stream, start acquiring with a fake camera, and see if the values can be correctly read out once the buffer is poped.
Describe the bug Creating a preallocated buffer in python throws the above error
To Reproduce import gi, numpy gi.require_version('Aravis','0.8') from gi.repository import Aravis,
fake_array = numpy.arange(1,17, dtype= numpy.uint16).reshape((4,4)) fake_buffer = Aravis.Buffer.new(fake_array.nbytes, fake_array.flatten().tobytes())
Expected behavior I expected to have an Aravis.Buffer reference to be created
Camera description:
Platform description:
Additional context Trying in python to create an Aravis Buffer which is already preallocated and populated with fake values like above. The context is to push this buffer into a stream, start acquiring with a fake camera, and see if the values can be correctly read out once the buffer is poped.