Global Mapper SDK
Detects vehicles in aerial or satellite imagery and returns a vector layer with an area feature highlighting each detected vehicle.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_VehicleDetect
(
GM_LayerHandle_t32* aLayerList, // IN: List of imagery layers to use for vehicle detection (if NULL, all loaded layers will be used)
uint32 aLayerCount, // IN: Number of layers in list (0 for all)
GM_Rectangle_t* aWorldBounds, // IN: Bounds to run vehicle detection within (if NULL, whole extent of input layers will be used)
GM_ImageryType_t8 aImageryType, // IN: Type of imagery being used for vehicle detection, classified by its source: aerial or satellite
boolean aUseCUDADevice, // IN: If true, will attempt to run on CUDA GPU if available, but will fall back to CPU if not. If false, will run on CPU
const char* aCustomModelName, // IN: Optional name of a custom model created by previous experimentation to use for this inference
HWND aParentWnd, // IN: Handle to parent window to attach the inference progress dialog to
GM_LayerHandle_t32* aOutputLayer, // OUT: output handle to a new vector layer containing axis-aligned bounding boxes around detected vehicles
void* aReserved // IN: Reserved for future use, must be NULL
);
Comments
0 comments
Please sign in to leave a comment.