MIPI - Physical Interface for MIDI Files
Loading...
Searching...
No Matches
test4.AprilTagPianoDetector Class Reference
Inheritance diagram for test4.AprilTagPianoDetector:
Inheritance graph
Collaboration diagram for test4.AprilTagPianoDetector:
Collaboration graph

Public Member Functions

 __init__ (self)
 
 image_callback (self, Image msg)
 

Public Attributes

 subscription
 
 image_callback
 
 publisher_tag
 
 publisher_keys
 
 device
 
 yolo_model
 
 tag_detector
 
 bridge
 
 ordered_keys
 

Protected Member Functions

list _detect_piano_keys (self, np.ndarray bgr_image)
 
None _draw_piano_keys (self, np.ndarray bgr_image, list keys)
 
None _publish_keys (self)
 
dict|None _find_nearest_key (self, float px, float py)
 

Protected Attributes

 _frame_count
 
 _fps_t0
 
 _fps_count
 
 _fps
 

Constructor & Destructor Documentation

◆ __init__()

test4.AprilTagPianoDetector.__init__ (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ _detect_piano_keys()

list test4.AprilTagPianoDetector._detect_piano_keys (   self,
np.ndarray  bgr_image 
)
protected
Here is the caller graph for this function:

◆ _draw_piano_keys()

None test4.AprilTagPianoDetector._draw_piano_keys (   self,
np.ndarray  bgr_image,
list  keys 
)
protected
Here is the caller graph for this function:

◆ _find_nearest_key()

dict | None test4.AprilTagPianoDetector._find_nearest_key (   self,
float  px,
float  py 
)
protected
Here is the caller graph for this function:

◆ _publish_keys()

None test4.AprilTagPianoDetector._publish_keys (   self)
protected
Here is the caller graph for this function:

◆ image_callback()

test4.AprilTagPianoDetector.image_callback (   self,
Image  msg 
)
Here is the call graph for this function:

Member Data Documentation

◆ _fps

test4.AprilTagPianoDetector._fps
protected

◆ _fps_count

test4.AprilTagPianoDetector._fps_count
protected

◆ _fps_t0

test4.AprilTagPianoDetector._fps_t0
protected

◆ _frame_count

test4.AprilTagPianoDetector._frame_count
protected

◆ bridge

test4.AprilTagPianoDetector.bridge

◆ device

test4.AprilTagPianoDetector.device

◆ image_callback

test4.AprilTagPianoDetector.image_callback

◆ ordered_keys

test4.AprilTagPianoDetector.ordered_keys

◆ publisher_keys

test4.AprilTagPianoDetector.publisher_keys

◆ publisher_tag

test4.AprilTagPianoDetector.publisher_tag

◆ subscription

test4.AprilTagPianoDetector.subscription

◆ tag_detector

test4.AprilTagPianoDetector.tag_detector

◆ yolo_model

test4.AprilTagPianoDetector.yolo_model

The documentation for this class was generated from the following file: