IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
All Classes Namespaces Files Functions Variables Modules Pages
Classes | Variables
puzzle.manager Namespace Reference

Manage the tracking of puzzle pieces. More...

Classes

class  Manager
 A class for associating puzzle pieces across boards. It "manages" the puzzle interpretation process over time, where each sensing cycle generates a new board instance. More...
 
class  ManagerParms
 

Variables

int SCORE_DIFFERENCE = 0
 
int SCORE_SIMILAR = 1
 

Detailed Description

Manage the tracking of puzzle pieces.

This puzzle piece manager keeps track of the puzzle pieces and their association over time as new imagery of the scene is captured. This manager stores the puzzle piece instances and organizes the code for data association. Even though the individual puzzle piece instances has some mechanism to recognize matches in their class API, the implementation in the manager can override those matching mechanisms using other considerations such as multi-piece competition or changes in the image and what regions are linked to those changes.

As an example, this manager can get all similarity (or difference) scores and use them for generating assignments instead of greedily creating assignments for each puzzle piece independently of the other pieces.

To be able to generate the associations, the puzzle manager should have a template or calibration puzzle board.

Note
This code may be outdated. A review on 2024/10/25 led to the understanding that the manager is quite similar to board correspondences. The newer code seems to use board correspondences over board.manager.
Author
Patricio A. Vela, pvela.nosp@m.@gat.nosp@m.ech.e.nosp@m.du
Yunzhi Lin, yunzh.nosp@m.i.li.nosp@m.n@gat.nosp@m.ech..nosp@m.edu
Date
2021/07/26 [created]
2021/08/01 [modified]
2024/10/20 [refactored & merged]

Variable Documentation

◆ SCORE_DIFFERENCE

int SCORE_DIFFERENCE = 0

◆ SCORE_SIMILAR

int SCORE_SIMILAR = 1