| GM_Utility .VehicleDetect Method |
Detects vehicles in aerial or satellite imagery and returns a vector layer with an area feature highlighting each detected vehicle.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 27.0.0.0 (27.0.0.0)
C#
Copy
VehicleDetect(
GM_LayerList_t aLayerList
GM_Rectangle_t aWorldBounds
GM_ImageryType_t8 aImageryType
bool aUseCUDADevice
string aCustomModelName
IntPtr aParentWnd
out GM_Layer_t aOutputLayer
object aReserved)
)Parameters
- aLayerList
-
Type:
GlobalMapper
.
GM_LayerList_t
IN: List of layers to process - aWorldBounds
-
Type:
GlobalMapper .
GM_Rectangle_t
IN: World bounds to process - aImageryType
-
Type:
GlobalMapper .
GM_ImageryType_t8
IN: Type of imagery being used for vehicle detection, classified by its source: aerial or satellite - aUseCUDADevice
-
Type:
System
.
bool
IN: Whether to use CUDA device - aCustomModelName
-
Type:
System .
String
IN: Name of custom model to use - aParentWnd
-
Type:
System .
IntPtr
IN: Handle to parent window - aOutputLayer
-
Type:
GlobalMapper .
GM_Layer_t
OUT: Output footprint layer - aReserved
-
Type:
System .
object
IN: Reserved for future use, must be 0
Return Value
Type: GM_Error_t32A GM Error Code