Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 618 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 618 Bytes

Monocular-Visual-Odometry

The distance from the object to the monocular camera is roughly estimated by opencv.

Environment

  • OpenCV
  • Numpy

Usage

  • A priori image is acquired through this camera.

  • config.txt
    KNOWN_DISTANCE : The actual distance from the object of the prior image to the camera
    KNOWN_WIDTH : The actual width of the object in the prior image
    image_path : Path to a priori image
    Classifier_path : Path to a detector

  • python odometry.py
    This example is based on opencv for face detection.The distance from the camera of the laptop to the face is measured.