var toolbox_face_detection = {
    "kind": "categoryToolbox",
    "contents": [
        {
            "kind": "category",
            "name": "%{BKY_CAT_FACE_DETECTION}",
            "toolboxitemid": "FACE_DETECTION",
            "levels": "1,2,3",
            "level": "1",
            "categorystyle": "face_detection_category",
            "cssConfig": {
                // "icon": "customIcon fas fa-microchip"
                "icon": "customIcon fas fa-play", 
            },
            "contents": [
                { 
                    "kind": "block", 
                    "type": "javascript_setup" 
                },
                { "kind": "block", "type": "ai_stop" },
                // ==================== CAMERA CONTROL BLOCKS ====================
        { "kind": "block", "type": "camera_turn_on" },
        { "kind": "block", "type": "camera_analyze_image" },

         // ==================== EXISTING CAMERA BLOCKS ====================
        // { "kind": "block", "type": "show_bounding_box" },
        { "kind": "block", "type": "toggle_bounding_box" },
        { "kind": "block", "type": "set_detection_threshold" },

                // ==================== FACE DETECTION BLOCKS ====================
        { "kind": "block", "type": "face_get_count" },
        { "kind": "block", "type": "face_get_position" },
        { "kind": "block", "type": "face_get_landmark_position_by_name" },
        { "kind": "block", "type": "face_is_expression" },

        // ==================== FACE RECOGNITION BLOCKS ====================
        // { "kind": "block", "type": "face_add_class" },
        // { "kind": "block", "type": "face_do_matching" },
        // { "kind": "block", "type": "face_get_class" },
        // { "kind": "block", "type": "face_reset_class" },
        // { "kind": "block", "type": "face_is_class_detected" },
        { "kind": "block", "type": "face_get_landmark_position" },
                
            ]
        }
    ]
}
