RobotCore
Robot Core Documentation
|
The PiCameraRegions specifies list of detected regions. More...
Public Member Functions | |
int | getRegionCount () |
PiCameraRegion | getRegion (int region) |
Public Attributes | |
int | m_targetVertPos |
Specifies the vertical target position as set by the ImageViewer. | |
int | m_targetHorzPos |
Specifies the horizontal target position as set by the ImageViewer. | |
int | m_frameNo |
Specifies the frame #. | |
int | m_width |
Specifies the width of the camera image (e.g. 640) | |
int | m_height |
Specifies the height of the camera image (e.g. 480) | |
int | m_lostFrames |
Specifies the number of lost frames. | |
int | m_profile |
Specifies which capture profile is in effect. | |
long | m_captureTime |
Specifies the time at which the image was acquired in ms. | |
int | m_procTime |
Specifies the time required to process this image in ms. | |
ArrayList< PiCameraRegion > | m_regions = new ArrayList<PiCameraRegion>() |
The PiCameraRegions specifies list of detected regions.
The list will contain up to the max regions specified using the ImageViewer and will be sorted from the largest to smallest area.
PiCameraRegion robotCore.PiCamera.PiCameraRegions.getRegion | ( | int | region | ) |
Returns a specified region
region | - Specifies the region to return |
int robotCore.PiCamera.PiCameraRegions.getRegionCount | ( | ) |
Returns a count of the regions