Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.24 KB

README.md

File metadata and controls

64 lines (38 loc) · 1.24 KB

labyrinth-project

This project is part of the Mobile Robotics given at EPFL during fall semester 2021. For more informations about implmentation of the code, please check our Jupyter notebook report.

Main: Main.py

Requirements

Install the requirements.

pip install -r requirements.txt

Make sure opencv-contrib is installed instead of opencv. This is needed to use the ArUco utilities.

Usage

Run the project.

  • Deactivate any laptop's webcam in the device manager
  • Connect the external webcam + Thymio
  • Start the project using:
python Main.py

Troubleshooting

Generate AruCo

No module named "cv2.aruco" : https://stackoverflow.com/questions/45972357/python-opencv-aruco-no-module-named-cv2-aruco

ArUco

aruco

Labyrinth layout

labyrinth

Localize ArUco

localize

Detect Labyrinth

detect labyrinth

big labyrinth

In ~ 12 ms

Detect corners

original corners

corners cropped