I have a bit of a problem when trying to use Aruco on Raspberry Pi 3.
I am using Python 3.5 on headless version of Raspbian and I followed this tutorial to install OpenCV with opencv_contrib - which as far as I understand contains all the packages:
https://www.pyimagesearch.com/2015/07/27/installing-opencv-3-0-for-both-python-2-7-and-python-3-on-your-raspberry-pi-2/
OpenCV installed without any problems, I can import it in Python and it works fine. I need to use Aruco for a project and when I try to import it I get this error:
Traceback (most recent call last):
File "<stdin>", line1, in <module>
ImportError: No module named 'cv2.aruco': 'cv2' is not a package
I had the same problem before so I flashed SD card and started with fresh installation, but it happens again. From the previous question I found here I tried to install opencv_contrib by using
pip install opencv-contrib-python
But I got the error:
Could not find a version that satisfies the requirement opencv-contrib-python (from versions: )
No matching distribution found for opencv-contrib-python
Did anybody encounter the same issue, or do you have any suggestions or how to fix that? Any help would be appreciated.