Closed SamDM closed 7 months ago
I am sorry for the inconvenience and the time you spent on this Sam. Zivid::Application must be kept alive while operating the Zivid Camera. This is essentially the Zivid driver. I suggest going through the Capture Tutorial that we host on our Knowledge Base to get familiar with the process: https://support.zivid.com/latest/academy/camera/capture-tutorial.html
When executing the code:
The result is:
The error message is misleading, the true problems seems to be that the application is not initialized. Running
zivid.Application()
before loading the file solves the issue.It took me an hour to figure out this was the problem, installing and re-installing zivid libraries in new envs and such.
In the meantime, I hope this issue may help a future dev encountering this may find this page by googling, and identify the issue faster. 😃