a1k0n / autorustler

experimental R/C car autopilot
18 stars 5 forks source link

I'm running the "cal.py" tooltip error #2

Open zhyb86 opened 7 years ago

zhyb86 commented 7 years ago

Traceback (most recent call last): File "cal.py", line 3, in import cv2.aruco ImportError: No module named aruco

a1k0n commented 7 years ago

I think aruco is only available in opencv 3.x, within the opencv_contrib module. I ended up compiling it myself. The module is still named cv2 despite being opencv 3.

zhyb86 commented 7 years ago

Thanks a lot for your reply. Can you share the mirrored images of raspberry pie? Cause I'm troubled in building the aruco module. Any web disks for sharing is ok. Thanks again.

a1k0n commented 7 years ago

Oh, my project actually doesn't use opencv at all on the Raspberry Pi. I use Aruco to calibrate my camera on my macbook and precompute a camera pixel -> ground plane position lookup table which is used on the car (drive/udplane.h)

zhyb86 commented 7 years ago

Lane line identification display interface to run that program? Or a procedure for vehicle status

a1k0n commented 7 years ago

You mean the videos in my Twitter feed? Those are produced in ad-hoc ipython notebooks by recording data from the car and copying to my laptop. there's no real-time display. The most recent ones are produced by diyrobocars/ekf_numeric.ipynb.

zhyb86 commented 7 years ago

Thanks a lot for your reply.