var toolbox_python_main = {
  "kind": "categoryToolbox",
  "contents": [
    {
      "kind": "category",
      "name": "%{BKY_CAT_PYTHON}",
      "toolboxitemid": "PYTHON",
      "levels": "1,2,3",
      "level": "1",
      "categorystyle": "python_category",
      "cssConfig": {
        "icon": "customIcon fas fa-play"
      },
      "contents": [
        { "kind": "block", "type": "python_setup" },
        { "kind": "block", "type": "javascript_setup" },
        { "kind": "block", "type": "ai_stop" },

        // ==================== 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" },

        // ==================== 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" },
        {
          "kind": "sep",
          "gap": 50
        },

        // ==================== TRANSLATION BLOCKS ====================
        { "kind": "block", "type": "translate_text_container", "blockxml": "<block type='translate_text_container'><value name='TEXT'><block type='text'><field name='TEXT'>abc</field></block></value></block>" },
        { "kind": "block", "type": "detect_language_container", "blockxml": "<block type='detect_language_container'><value name='TEXT'><block type='text'><field name='TEXT'>abc</field></block></value></block>" },

        // ==================== TEXT-TO-SPEECH BLOCKS ====================
        { "kind": "block", "type": "speak_text_container", "blockxml": "<block type='speak_text_container'><value name='TEXT'><block type='text'><field name='TEXT'>abc</field></block></value></block>" },
        // ==================== UTILITY BLOCKS ====================
        { "kind": "block", "type": "get_supported_languages" },
        { "kind": "block", "type": "get_language_name" },
        { "kind": "block", "type": "set_voice_speed" },
        {
          "kind": "sep",
          "gap": 50
        },
        // ==================== SPEECH-TO-TEXT BLOCKS ====================
        { "kind": "block", "type": "speech_to_text_listen" },
        { "kind": "block", "type": "speech_to_text_continuous" },
        { "kind": "block", "type": "speech_to_text_stop" },
        { "kind": "block", "type": "speech_to_text_is_listening" },
        { "kind": "block", "type": "speech_to_text_get_language" },
        { "kind": "block", "type": "speech_to_text_supported_languages" },
        { "kind": "block", "type": "speech_to_text_set_confidence" },
        {
          "kind": "sep",
          "gap": 50
        },
          {
            "kind": "block",
            "type": "qr_turn_on_video"
        },
        {
            "kind": "block", 
            "type": "qr_analyze_with_bounding_box"
        },
        {
            "kind": "block",
            "type": "qr_is_camera_on"
        },
        {
            "kind": "block",
            "type": "qr_is_detected"
        },
        {
            "kind": "block",
            "type": "qr_get_data"
        },
        {
            "kind": "block",
            "type": "qr_get_center_position"
        },
        {
            "kind": "block",
            "type": "qr_get_angle"
        },
        {
            "kind": "block",
            "type": "qr_get_count"
        },        
        {
            "kind": "block",
            "type": "qr_generate_code"
        },        
        {
            "kind": "block",
            "type": "qr_generate_code_data"
        },
        {
          "kind": "sep",
          "gap": 100
        },
        {
            "kind": "block",
            "type": "text_recognition_turn_camera"
        },
        {
            "kind": "block",
            "type": "text_recognition_from_camera"
        },
        {
            "kind": "block",
            "type": "text_recognition_from_stage"
        },
        {
            "kind": "block",
            "type": "text_recognition_from_url"
        },
        {
            "kind": "block",
            "type": "text_recognition_get_result"
        },
        {
          "kind": "sep",
          "gap": 50
        },
        // ==================== Weather BLOCKS ====================
    {
      "kind": "block",
      "type": "weather_get_data"
    },
    {
      "kind": "block",
      "type": "weather_set_api"
    },
    {
      "kind": "sep",
      "gap": "8"
    },
    {
      "kind": "block",
      "type": "weather_temperature"
    },
    {
      "kind": "block",
      "type": "weather_pressure" 
    },
    {
      "kind": "block",
      "type": "weather_humidity"
    },
    {
      "kind": "block",
      "type": "weather_wind"
    },
    {
      "kind": "block",
      "type": "weather_coordinate"
    },
    {
      "kind": "block",
      "type": "weather_sun_time"
    },
    {
      "kind": "block", 
      "type": "weather_condition"
    },
    {
      "kind": "block",
      "type": "weather_city"
    },
    {
      "kind": "sep",
      "gap": "50"
    },
    {
      "kind": "block",
      "type": "object_turn_on_video"
    },
    {
      "kind": "block",
      "type": "object_bounding_box"
    },
    {
      "kind": "block",
      "type": "object_detection_threshold"
    },
    {
      "kind": "block",
      "type": "object_analyze_image"
    },
    {
      "kind": "block",
      "type": "object_get_count"
    },
    {
      "kind": "block",
      "type": "object_get_class_by_index"
    },
    {
      "kind": "block",
      "type": "object_is_class_detected"
    },
    {
      "kind": "block",
      "type": "object_get_number_of_class"
    },


      ]
    }
  ]
};


