Python 3 cv2 Has No Attribute Aruco

Osiyo. Dohiju? ᎣᏏᏲ. ᏙᎯᏧ? Hey, welcome back.

I don’t use Aruco in my work. I haven’t had a need for Hiro or Aruco markers. However, I was testing some code and came across this error:

AttributeError: module ‘cv2.cv2’ has no attribute ‘aruco’

Sometimes my pip installs get munged when I install other packages. So I uninstalled and reinstalled the following:

pip3 uninstall opencv-python
pip3 uninstall opencv-contrib-python
pip3 install opencv-contrib-python

Until next time. Dodadagohvi. ᏙᏓᏓᎪᎲᎢ.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.