Skip to content

This code can be used to recognized the tag for modular robots in the real world. The output is the coordinate (x,y) in pixels.

Notifications You must be signed in to change notification settings

langongjin/tagDetect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

tagDetect

This code can be used to recognized the tag for modular robots in the real world. The output is the image and the information as below: (1569514020.3 rb 135 293 0.8574929257125441 0.5144957554275265), that is (time, tagID, x in pixel, y in pixel, orientation_x, orientation_y)

Run this code: python colordetect1_60

Before you run this code, you have to make sure:

  1. opencv (opencv2, or opencv4) and numpy are working on your computer.
  2. your computer is connecting with the external camera. If you have some problems about the library, please fix it.

If your computer has opencv 2, you can run the code colordetect1_60.py

If your computer has opencv 3/4, you can run the code colordetect1_60_cv4.py

The code was tested on Macbook computer.

About

This code can be used to recognized the tag for modular robots in the real world. The output is the coordinate (x,y) in pixels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages