Enum CocoClass
- Namespace
- VisioForge.Core.AI
- Assembly
- VisioForge.Core.AI.dll
COCO dataset class IDs for use with object detection and analytics.
Enum values match the standard COCO-80 class index, so they can be cast
directly to int for VisioForge.Core.Types.X.AI.DetectionFilterSettings.IncludedClassIds.
public enum CocoClassFields
Person = 0-
Person (COCO id 0).
Bicycle = 1-
Bicycle (COCO id 1).
Car = 2-
Car (COCO id 2).
Motorcycle = 3-
Motorcycle (COCO id 3).
Airplane = 4-
Airplane (COCO id 4).
Bus = 5-
Bus (COCO id 5).
Train = 6-
Train (COCO id 6).
Truck = 7-
Truck (COCO id 7).
Boat = 8-
Boat (COCO id 8).
TrafficLight = 9-
Traffic light (COCO id 9).
FireHydrant = 10-
Fire hydrant (COCO id 10).
StopSign = 11-
Stop sign (COCO id 11).
Cat = 15-
Cat (COCO id 15).
Dog = 16-
Dog (COCO id 16).
Horse = 17-
Horse (COCO id 17).
Sheep = 18-
Sheep (COCO id 18).
Cow = 19-
Cow (COCO id 19).
Elephant = 20-
Elephant (COCO id 20).
Bear = 21-
Bear (COCO id 21).
Zebra = 22-
Zebra (COCO id 22).
Giraffe = 23-
Giraffe (COCO id 23).
SportsBall = 32-
Sports ball (COCO id 32).
Examples
settings.Filter.IncludedClassIds = new[] { (int)CocoClass.Person, (int)CocoClass.Car };