Assertion Error on OpenCVTexture()

Hey Thomas thanks for your help. I got it to work on Linux using your code, it works flawlessly. But trying the same code on Windows it didn’t run.

For some reason in windows this:

from direct.showbase.ShowBase import ShowBase 
ShowBase()

needs to be before this call in Windows:

WebcamVideo.getOptions()

Or else this call returns an empty list.

When I place the ShowBase() call before, it runs fine but there are the same accuracy issue I mentioned before (no jumping when close to the left side though). The rest of the code is exactly the same.

loadPrcFileData("", "textures-power-2 none")

doesn’t fix the accuracy issues in Windows. Should I report it as a bug?