C# Vehicle Detector API¶
OneML model to detect vehicles in images, returning their confident score and bounding box.
-
OneML.Alpr.VehicleDetector : public global.SystemIDisposable
Public Functions
-
inline void
Dispose
() Gracefully destroy the object and free memory.
-
inline
VehicleDetector
(LicenseManager manager)¶ Construct a VehicleDetector object.
- Parameters
manager
: LicenseManager instance.
-
inline VehicleDetectorResultList
Detect
(ImageBatch imgs) Detect vehicles in images.
- Return
an instance of VehicleDetectorResultList.
- Parameters
imgs
: an instance of ImageBatch.
-
inline VehicleDetectorResult
Detect
(Image img) Detect vehicles in an image.
- Return
an instance of VehicleDetectorResult.
- Parameters
img
: an instance of Image.
-
inline void
-
OneML.Alpr.VehicleDetectorResult : public global.SystemIDisposable
Public Functions
-
inline void
Dispose
() Gracefully destroy the object and free memory.
-
inline BBoxList
GetBBoxes
() Get result Bounding Boxes.
- Return
an instance of BBoxList.
-
inline FloatList
GetScores
() Get result scores.
- Return
an instance of FloatList.
-
inline StatusCodeList
GetReturnStatus
() Get result status code.
- Return
an instance of StatusCodeList.
-
inline void
-
OneML.Alpr.VehicleDetectorResultList : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< VehicleDetectorResult >
Public Functions
-
inline void
Dispose
() Gracefully destroy the object and free memory.
-
VehicleDetectorResultListEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< VehicleDetectorResult >
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.
This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.
-
inline void