/** * Class label mappings for YOLOv8 COCO model * * These labels correspond to the 80 classes in the COCO dataset. * Food-related classes: banana (46), apple (47), sandwich (48), orange (49), * broccoli (50), carrot (51), hot dog (52), pizza (53), donut (54), cake (55) */ import type { ProductCategory, ClassLabelMap } from '../types'; /** * COCO class names in order */ export declare const COCO_CLASSES: readonly ["person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "couch", "potted plant", "bed", "dining table", "toilet", "tv", "laptop", "mouse", "remote", "keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear", "hair drier", "toothbrush"]; /** * Map class index to label and category for COCO */ export declare const CLASS_LABELS_COCO: ClassLabelMap; /** * Number of classes in COCO model */ export declare const NUM_CLASSES_COCO = 80; /** * Food class indices in COCO (useful for filtering) */ export declare const FOOD_CLASS_INDICES: number[]; /** * Kitchen/dining class indices (context) */ export declare const KITCHEN_CLASS_INDICES: number[]; /** * Get label info for a COCO class index */ export declare function getCocoClassInfo(classIndex: number): { label: string; category: ProductCategory; }; /** * Check if a class index is a food item */ export declare function isFoodClass(classIndex: number): boolean; /** * Get all COCO labels as an array */ export declare function getCocoLabelsArray(): string[]; //# sourceMappingURL=classLabelsCoco.d.ts.map