I am currently writing a script that helps me translate points to camera data in Autodesk Maya 2023. You can install python libraries like numpy and scipy into Maya like this:
"C:\Program Files\Autodesk\Maya2023\bin\mayapy.exe" -m pip install --user numpy
"C:\Program Files\Autodesk\Maya2023\bin\mayapy.exe" -m pip install --user scipy
and that works great, but I can not install opencv. My code works great inside of Python but because I can not use opencv in Maya I can not get it to work there.
I reduced all my code to just one opencv function I still need. But unfortunately it's a big one.
cv2.solvePnP()
Do you know of a python function someone wrote that works kinda like the solvePnP function from opencv but not using opencv?
Any help would be appreciated. Thanks