Namespace : AL
#include <alproxies/allandmarkdetectionproxy.h>
The output ALValue is organized as follows:
ALLandMarkDetectionInfo {
TimeStamp,
MarkInfo[N],
CameraPoseInNAOSpace,
CameraPoseInWorldSpace,
CurrentCameraName
}
with as many mark_info tags as marks currently detected.
This field is the time stamp of the image that was used to perform the detection.
TimeStamp {
TimeStamp_Seconds,
Timestamp_Microseconds
}
For each detected mark, we have one MarkInfo field:
MarkInfo {
ShapeInfo,
MarkID
}
MarkID is the number written on the naomark and which corresponds to its pattern.
ShapeInfo {
1,
alpha,
beta,
sizeX,
sizeY
}
See also
Gets the current period.
Returns: | Refresh period (in milliseconds). |
---|
Gets the current precision.
Returns: | Precision of the extractor. |
---|
Gets the period for a specific subscription.
Parameters: |
|
---|---|
Returns: | Refresh period (in milliseconds). |
Gets the precision for a specific subscription.
Parameters: |
|
---|---|
Returns: | precision of the extractor |
Get the list of values updated in ALMemory.
Returns: | Array of values updated by this extractor in ALMemory |
---|
Gets the parameters given by the module.
Returns: | Array of names and parameters of all subscribers. |
---|
Subscribes to the extractor. This causes the extractor to start writing information to memory using the keys described by getOutputNames(). These can be accessed in memory using ALMemory.getData(“keyName”). In many cases you can avoid calling subscribe on the extractor by just calling ALMemory.subscribeToEvent() supplying a callback method. This will automatically subscribe to the extractor for you.
Parameters: |
|
---|
Subscribes to the extractor. This causes the extractor to start writing information to memory using the keys described by getOutputNames(). These can be accessed in memory using ALMemory.getData(“keyName”). In many cases you can avoid calling subscribe on the extractor by just calling ALMemory.subscribeToEvent() supplying a callback method. This will automatically subscribe to the extractor for you.
Parameters: |
|
---|
Unsubscribes from the extractor.
Parameters: |
|
---|
Updates the period if relevant.
Parameters: |
|
---|
Updates the precision if relevant.
Parameters: |
|
---|