Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::MapObjectDetector Class Reference

Object definition to interact with the MapObjectDetector system. More...

Inheritance diagram for gem::MapObjectDetector:
Collaboration diagram for gem::MapObjectDetector:

Public Member Functions

SearchableParameterList detect (StrongPointer< IBitmap > imagePtr, const Xy pixelPosition) noexcept
 Detect map object from the given image at the given pixel position.

Static Public Member Functions

static gem::StrongPointer< MapObjectDetectorproduce (EMapObjectDetectorRegion region)
 Create a MapObjectDetector object.

Detailed Description

Object definition to interact with the MapObjectDetector system.

Member Function Documentation

◆ detect()

SearchableParameterList gem::MapObjectDetector::detect ( StrongPointer< IBitmap > imagePtr,
const Xy pixelPosition )
inlinenoexcept

Detect map object from the given image at the given pixel position.

Parameters
imagePtrThe image in which to detect the map object, provided as a strong pointer to an IBitmap object.
pixelPositionThe pixel position in the image where the map object detection should be performed, represented as an Xy struct.
Returns
The detected map object details a list of parameters

◆ produce()

gem::StrongPointer< MapObjectDetector > gem::MapObjectDetector::produce ( EMapObjectDetectorRegion region)
inlinestatic

Create a MapObjectDetector object.

Parameters
regionThe region for which the MapObjectDetector should be created.
Returns
The newly created MapObjectDetector object as a shared pointer. If the creation fails, an empty pointer is returned.