Difference between revisions of "Machine Vision Localization System"

From Mech
Jump to navigationJump to search
Line 15: Line 15:
* Calibration matricies are now calculated correctly.
* Calibration matricies are now calculated correctly.
* File handling bug that causes an off-by-one error in '''LoadTargetData()''' fixed.
* File handling bug that causes an off-by-one error in '''LoadTargetData()''' fixed.

==Camera Calibration Routine==
The camera calibration routine used is explained in the document [[Media:Image_Formation_and Camera_Calibration.pdf | Image_Formation_and Camera_Calibration.pdf]] by Professor Ying Wu.

Revision as of 18:07, 15 January 2009

Overview

This is a machine vision systems that tracks multiple targets and can send out the positions via the serial port. It is based upon the Indoor_Localization_System, but has several enhancements and bug fixes. Refer to Indoor_Localization_System for a basic overview of the setup of the system and the workings of the patter identification algorithm.

Major Enhancements/Changes

  • The system will now mark the targets with an overlay and display coordinate data onscreen.
  • The serial output is now formatted for the XBee radio using the XBee's API mode with escape characters.
  • The calibration routine has been improved, and only needs to be performed once.
  • A command interface for sending out commands via the serial port has been added.
  • The system will discard targets too close to the edge of the camera frame to prevent misidentification due to clipping.
  • The origin of the world coordinate is now in the middle, not the lower left corner.

Major Bug Fixes

  • Two major memory leaks fixed.
  • Calibration matricies are now calculated correctly.
  • File handling bug that causes an off-by-one error in LoadTargetData() fixed.

Camera Calibration Routine

The camera calibration routine used is explained in the document Image_Formation_and Camera_Calibration.pdf by Professor Ying Wu.