Open xinaesthete opened 1 year ago
Follow these steps works fine with me:
python demo-main.py
on WindowsIf I start demo-main.py firstly, it shows the same error like you said.
Unfortunately, I couldn't replicate the issue. When running demo-main.py
using Python 3.11 on Windows 11 and with the latest version of iTunes, I was able to run the demo without errors, so I want to apologize for not being able to troubleshoot this issue. The C++ and Python demos both use the same underlying C++ library, so it is strange that the C++ demo seems to work meanwhile the Python does not.
I can only suggest what I usually do when Record3D does not seem to stream data:
python demo-main.py
. The order should not matter.The reason why OpenCV isn't listed as a dependency is that the record3d
library itself is not dependent on OpenCV (I didn't want to include such a heavy dependency), only the demos are (those are not a part of the library per se). But I agree that I should have mentioned the OpenCV requirement for the demos.
Thanks, I'll try to have another look at some point.
Rationale with OpenCV seems sensible.
When running
python demo-main.py
on Windows 10, I get(and then ctrl-c doesn't seem able to break out of the script).
I have installed iTunes, and accepted prompts on the iPad to trust this computer etc. The C++ demo seems to manage to connect and stream data across, although I have yet to get it properly configured to use OpenCV. I couldn't see any graphics output in the C++ demo, but I imagine that might be because it was built without OpenCV. All other signs were that the connection was fine in C++ (status messages in the iPad app, console output from C++, setting breakpoints in frame callbacks...).
On Mac, the Python demo ran fine - although it was necessary to manually install python-opencv which isn't mentioned in the readme.
In case it's useful: