denkproto 1.0.14rc0__py3-none-any.whl → 1.0.21__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of denkproto might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: ImageAnalysis_ProtobufMessages.proto
4
- # Protobuf Python Version: 4.25.3
4
+ # Protobuf Python Version: 5.26.0
5
5
  """Generated protocol buffer code."""
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -14,106 +14,110 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ImageAnalysis_ProtobufMessages.proto\x12\x0eimage_analysis\"e\n\x1bpb_ProtocolVersionDetection\x12!\n\x16protocol_version_major\x18\x01 \x01(\x05:\x01\x31\x12#\n\x16protocol_version_minor\x18\x02 \x01(\x05:\x03\x31\x31\x39\"\x9c\x05\n\x10pb_MessageHeader\x12\x42\n\x0cmessage_type\x18\x01 \x02(\x0e\x32,.image_analysis.pb_MessageHeader.MessageType\x12\x10\n\x08response\x18\x02 \x02(\x08\x12\x17\n\x0fmessage_counter\x18\x03 \x02(\r\x12\x19\n\x11size_message_body\x18\x04 \x02(\r\x12\x1e\n\x16protocol_version_major\x18\x05 \x01(\x05\x12\x1e\n\x16protocol_version_minor\x18\x06 \x01(\x05\x12\x18\n\x10timestamp_utc_ms\x18\x07 \x02(\x03\x12\x12\n\nerror_code\x18\x08 \x02(\x05\x12\x11\n\tinfo_text\x18\t \x01(\t\x12\x12\n\nint_values\x18\n \x03(\x05\x12\x15\n\rdouble_values\x18\x0b \x03(\x01\x12\x15\n\rstring_values\x18\x0c \x03(\t\"\xba\x02\n\x0bMessageType\x12\r\n\tUNDEFINED\x10\x00\x12\r\n\tGETSTATUS\x10\x01\x12\x0e\n\nGETVERSION\x10\x02\x12\x08\n\x04INIT\x10\x03\x12\x0e\n\nGETPRESETS\x10\x04\x12\x11\n\rGETPRESETINFO\x10\x05\x12\r\n\tSETCONFIG\x10\x06\x12\x10\n\x0cREMOVECONFIG\x10\x07\x12\x13\n\x0fGETCONFIGPARAMS\x10\x08\x12\x13\n\x0fSETCONFIGPARAMS\x10\t\x12\x10\n\x0c\x41NALYZEIMAGE\x10\n\x12\x0f\n\x0bIMAGERESULT\x10\x0b\x12\x0f\n\x0bINFOMESSAGE\x10\x0c\x12\x12\n\rGETCONFIGFILE\x10\xe8\x07\x12\x12\n\rSETCONFIGFILE\x10\xe9\x07\x12\x15\n\x10MODIFYCONFIGFILE\x10\xea\x07\x12\x12\n\rGETSTATISTICS\x10\xeb\x07\"&\n\x0cpb_Body_Init\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\"\x9a\x02\n\x1apb_Body_GetStatus_Response\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\x12\x1d\n\x15init_timestamp_utc_ms\x18\x02 \x02(\x03\x12\x1a\n\x12\x63onfiguration_sets\x18\x03 \x03(\t\x12W\n\x11images_in_process\x18\x04 \x03(\x0b\x32<.image_analysis.pb_Body_GetStatus_Response.pb_ImageInProcess\x1aP\n\x11pb_ImageInProcess\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x1e\n\x16\x63onfiguration_set_name\x18\x02 \x02(\t\"L\n\x1bpb_Body_GetVersion_Response\x12\x14\n\x0cprogram_name\x18\x01 \x02(\t\x12\x17\n\x0fprogram_version\x18\x02 \x02(\t\"7\n\x1bpb_Body_GetPresets_Response\x12\x18\n\x10preset_name_list\x18\x01 \x03(\t\",\n\x15pb_Body_GetPresetInfo\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\"\xcd\x05\n\x1epb_Body_GetPresetInfo_Response\x12Q\n\x0bpreset_info\x18\x01 \x01(\x0b\x32<.image_analysis.pb_Body_GetPresetInfo_Response.pb_PresetItem\x1a-\n\x0epb_AddInfoItem\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\x1a\xc3\x01\n\x10pb_ParamInfoItem\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12]\n\tdirection\x18\x03 \x02(\x0e\x32<.image_analysis.pb_Body_GetPresetInfo_Response.DirectionEnum:\x0cUNDEFINED_DR\x1a\x99\x02\n\rpb_PresetItem\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\rfeature_types\x18\x05 \x03(\t\x12W\n\x10\x61\x64\x64itional_infos\x18\x06 \x03(\x0b\x32=.image_analysis.pb_Body_GetPresetInfo_Response.pb_AddInfoItem\x12S\n\nparam_list\x18\x07 \x03(\x0b\x32?.image_analysis.pb_Body_GetPresetInfo_Response.pb_ParamInfoItem\"G\n\rDirectionEnum\x12\x10\n\x0cUNDEFINED_DR\x10\x00\x12\t\n\x05IN_DR\x10\x01\x12\n\n\x06OUT_DR\x10\x02\x12\r\n\tIN_OUT_DR\x10\x03\"\xa4\x01\n\x0epb_ConfigParam\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12\x12\n\nval_string\x18\x03 \x01(\t\x12\x10\n\x08val_json\x18\x04 \x01(\t\x12\x1a\n\nval_double\x18\x05 \x01(\x01:\x06-1e+99\"\xcf\x04\n\x11pb_Body_SetConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12@\n\tcell_info\x18\x02 \x01(\x0b\x32-.image_analysis.pb_Body_SetConfig.pb_CellInfo\x12\x13\n\x0bpreset_name\x18\x03 \x01(\t\x12\x35\n\rconfig_params\x18\x04 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\x1a\x93\x03\n\x0bpb_CellInfo\x12\x18\n\x0c\x62usbar_count\x18\x01 \x01(\x05:\x02-1\x12p\n\x12\x62usbar_orientation\x18\x02 \x01(\x0e\x32\x46.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum:\x0cUNDEFINED_BO\x12\x64\n\x0c\x63rystal_type\x18\x03 \x01(\x0e\x32@.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum:\x0cUNDEFINED_CT\"P\n\x18pb_BusbarOrientationEnum\x12\x10\n\x0cUNDEFINED_BO\x10\x00\x12\x11\n\rHORIZONTAL_BO\x10\x01\x12\x0f\n\x0bVERTICAL_BO\x10\x02\"@\n\x12pb_CrystalTypeEnum\x12\x10\n\x0cUNDEFINED_CT\x10\x00\x12\x0b\n\x07MONO_CT\x10\x01\x12\x0b\n\x07POLY_CT\x10\x02\".\n\x14pb_Body_RemoveConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\"J\n\x17pb_Body_GetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x17\n\x0fparam_name_list\x18\x02 \x03(\t\"q\n pb_Body_GetConfigParams_Response\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"h\n\x17pb_Body_SetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"\x8c\x02\n\x0cpb_ImageData\x12I\n\x11image_file_format\x18\x01 \x02(\x0e\x32..image_analysis.pb_ImageData.pb_FileFormatEnum\x12\x12\n\nimage_data\x18\x02 \x01(\x0c\x12\x11\n\x05width\x18\x03 \x01(\x05:\x02-1\x12\x12\n\x06height\x18\x04 \x01(\x05:\x02-1\x12\x14\n\x08\x62itdepth\x18\x05 \x01(\x05:\x02-1\"`\n\x11pb_FileFormatEnum\x12\x10\n\x0cUNDEFINED_FF\x10\x00\x12\n\n\x06PNG_FF\x10\x01\x12\n\n\x06JPG_FF\x10\x02\x12\n\n\x06RAW_FF\x10\x03\x12\t\n\x05\x42YTES\x10\x64\x12\n\n\x06TIF_FF\x10\x65\"K\n\x0epb_MultiImages\x12\x0c\n\x04name\x18\x01 \x02(\t\x12+\n\x05image\x18\x02 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\"\x94\x02\n\x11pb_AdditionalData\x12I\n\x0enumeric_values\x18\x01 \x03(\x0b\x32\x31.image_analysis.pb_AdditionalData.pb_NumericValue\x12G\n\rstring_values\x18\x02 \x03(\x0b\x32\x30.image_analysis.pb_AdditionalData.pb_StringValue\x1a<\n\x0fpb_NumericValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04unit\x18\x02 \x02(\t\x12\r\n\x05value\x18\x03 \x02(\x01\x1a-\n\x0epb_StringValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"\xea\x01\n\x14pb_Body_AnalyzeImage\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12+\n\x05image\x18\x03 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x0f\x61\x64\x64itional_data\x18\x04 \x01(\x0b\x32!.image_analysis.pb_AdditionalData\x12\x34\n\x0cmulti_images\x18\x05 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\"\x93\x13\n\x13pb_Body_ImageResult\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12@\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32..image_analysis.pb_Body_ImageResult.pb_Feature\x12X\n\x14image_classification\x18\x04 \x01(\x0b\x32:.image_analysis.pb_Body_ImageResult.pb_ImageClassification\x12\x31\n\x0bimage_plain\x18\x05 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12\x34\n\x0eimage_overlaid\x18\x06 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x12multi_images_plain\x18\x07 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x12=\n\x15multi_images_overlaid\x18\x08 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x1a\x46\n\x07pb_Rect\x12\r\n\x05x_pos\x18\x01 \x01(\x01\x12\r\n\x05y_pos\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x1a%\n\rpb_DENK_Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1an\n\x1apb_DENK_MinimalBoundingBox\x12\x10\n\x08\x63\x65nter_x\x18\x01 \x01(\x01\x12\x10\n\x08\x63\x65nter_y\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x12\r\n\x05\x61ngle\x18\x05 \x01(\x01\x1a>\n\x14pb_DENK_OcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\x1ao\n\x1cpb_DENK_OcrCharacterPosition\x12O\n\rocr_character\x18\x01 \x03(\x0b\x32\x38.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacter\x1a\xd1\x08\n\npb_Feature\x12\x19\n\x11\x66\x65\x61ture_type_name\x18\x01 \x02(\t\x12T\n\rfeature_infos\x18\x02 \x03(\x0b\x32=.image_analysis.pb_Body_ImageResult.pb_Feature.pb_FeatureInfo\x12\x19\n\x11multi_image_names\x18\x03 \x03(\t\x12\x0f\n\x07section\x18\x64 \x03(\t\x12\x14\n\x0c\x66iltered_out\x18\x65 \x01(\x08\x12\x12\n\nclassifier\x18\x66 \x01(\x01\x1a\xfb\x06\n\x0epb_FeatureInfo\x12\x44\n\x0foutline_rect_px\x18\x01 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x1b\n\x0bprobability\x18\x02 \x01(\x01:\x06-1e+99\x12\x16\n\x06length\x18\x03 \x01(\x01:\x06-1e+99\x12\x14\n\x04\x61rea\x18\x04 \x01(\x01:\x06-1e+99\x12\x15\n\x05\x61ngle\x18\x05 \x01(\x01:\x06-1e+99\x12\x16\n\x06number\x18\x06 \x01(\x01:\x06-1e+99\x12\x17\n\x07\x61verage\x18\x07 \x01(\x01:\x06-1e+99\x12\x17\n\x07maximum\x18\x08 \x01(\x01:\x06-1e+99\x12\x17\n\x07minimum\x18\t \x01(\x01:\x06-1e+99\x12\x19\n\tarea_edge\x18\n \x01(\x01:\x06-1e+99\x12\x1b\n\x0b\x61rea_length\x18\x0b \x01(\x01:\x06-1e+99\x12\x1c\n\x0c\x61vggrayvalue\x18\r \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmaxgrayvalue\x18\x0e \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmingrayvalue\x18\x0f \x01(\x01:\x06-1e+99\x12\x0e\n\x02id\x18\x10 \x01(\x05:\x02-1\x12\x13\n\x0brelated_ids\x18\x11 \x03(\x05\x12\x15\n\x05width\x18\x64 \x01(\x01:\x06-1e+99\x12\x44\n\x0foutline_rect_mm\x18\x65 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x0b\n\x03uid\x18\x66 \x01(\t\x12\x14\n\x0crelated_uids\x18g \x03(\t\x12\\\n\x14minimal_bounding_box\x18h \x01(\x0b\x32>.image_analysis.pb_Body_ImageResult.pb_DENK_MinimalBoundingBox\x12U\n\x1aminimal_bounding_box_point\x18i \x03(\x0b\x32\x31.image_analysis.pb_Body_ImageResult.pb_DENK_Point\x12\x10\n\x08ocr_text\x18j \x01(\t\x12`\n\x16ocr_character_position\x18k \x03(\x0b\x32@.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacterPosition\x1a\xe2\x03\n\x16pb_ImageClassification\x12\x18\n\x10image_class_name\x18\x01 \x01(\t\x12k\n\x13image_quality_class\x18\x02 \x01(\x0e\x32N.image_analysis.pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum\x12\x1a\n\x12image_quality_code\x18\x03 \x01(\t\x12#\n\x13image_quality_score\x18\x04 \x01(\x01:\x06-1e+99\x12\x1e\n\x0eimage_ok_score\x18\x05 \x01(\x01:\x06-1e+99\x12\"\n\x12image_avggrayvalue\x18\x06 \x01(\x01:\x06-1e+99\x12\"\n\x12image_maxgrayvalue\x18\x07 \x01(\x01:\x06-1e+99\x12\"\n\x12image_mingrayvalue\x18\x08 \x01(\x01:\x06-1e+99\"t\n\x13pb_ImageQualityEnum\x12\x15\n\x11UNDEFINED_QUALITY\x10\x00\x12\x14\n\x10NO_ISSUE_QUALITY\x10\x01\x12\x17\n\x13MINOR_ISSUE_QUALITY\x10\x02\x12\x17\n\x13MAJOR_ISSUE_QUALITY\x10\x03\"\xe4\x01\n\x13pb_Body_InfoMessage\x12\x46\n\tinfo_type\x18\x01 \x02(\x0e\x32\x33.image_analysis.pb_Body_InfoMessage.pb_InfoTypeEnum\x12\x14\n\x0cnumeric_code\x18\x02 \x02(\x05\x12\x11\n\tinfo_text\x18\x03 \x02(\t\"\\\n\x0fpb_InfoTypeEnum\x12\x10\n\x0cUNDEFINED_IT\x10\x00\x12\x0c\n\x08\x44\x45\x42UG_IT\x10\x01\x12\x0b\n\x07INFO_IT\x10\x02\x12\x0e\n\nWARNING_IT\x10\x03\x12\x0c\n\x08\x45RROR_IT\x10\x04\"\x95\x01\n\x1epb_Body_GetConfigFile_Response\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\x12\x1e\n\x16\x61vailable_config_files\x18\x03 \x03(\t\x12\x1c\n\x14\x63urrent_default_file\x18\x04 \x02(\t\"M\n\x15pb_Body_SetConfigFile\x12\x1c\n\x14new_config_file_name\x18\x01 \x02(\t\x12\x16\n\x0eset_as_default\x18\x02 \x02(\x08\"Q\n\x18pb_Body_ModifyConfigFile\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\"8\n\x1epb_Body_GetStatistics_Response\x12\x16\n\x0estatistics_csv\x18\x01 \x02(\t*K\n\x0c\x44\x61taTypeEnum\x12\x10\n\x0cUNDEFINED_DT\x10\x00\x12\r\n\tSTRING_DT\x10\x01\x12\r\n\tDOUBLE_DT\x10\x02\x12\x0b\n\x07JSON_DT\x10\x03\x42-Z\x1b\x64\x65nkproto-go/image-analysis\xaa\x02\rDENK.Proto.IA')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ImageAnalysis_ProtobufMessages.proto\x12\x0eimage_analysis\"e\n\x1bpb_ProtocolVersionDetection\x12!\n\x16protocol_version_major\x18\x01 \x01(\x05:\x01\x31\x12#\n\x16protocol_version_minor\x18\x02 \x01(\x05:\x03\x31\x31\x39\"\xb9\x05\n\x10pb_MessageHeader\x12\x42\n\x0cmessage_type\x18\x01 \x02(\x0e\x32,.image_analysis.pb_MessageHeader.MessageType\x12\x10\n\x08response\x18\x02 \x02(\x08\x12\x17\n\x0fmessage_counter\x18\x03 \x02(\r\x12\x19\n\x11size_message_body\x18\x04 \x02(\r\x12\x1e\n\x16protocol_version_major\x18\x05 \x01(\x05\x12\x1e\n\x16protocol_version_minor\x18\x06 \x01(\x05\x12\x18\n\x10timestamp_utc_ms\x18\x07 \x02(\x03\x12\x12\n\nerror_code\x18\x08 \x02(\x05\x12\x11\n\tinfo_text\x18\t \x01(\t\x12\x12\n\nint_values\x18\n \x03(\x05\x12\x15\n\rdouble_values\x18\x0b \x03(\x01\x12\x15\n\rstring_values\x18\x0c \x03(\t\"\xd7\x02\n\x0bMessageType\x12\r\n\tUNDEFINED\x10\x00\x12\r\n\tGETSTATUS\x10\x01\x12\x0e\n\nGETVERSION\x10\x02\x12\x08\n\x04INIT\x10\x03\x12\x0e\n\nGETPRESETS\x10\x04\x12\x11\n\rGETPRESETINFO\x10\x05\x12\r\n\tSETCONFIG\x10\x06\x12\x10\n\x0cREMOVECONFIG\x10\x07\x12\x13\n\x0fGETCONFIGPARAMS\x10\x08\x12\x13\n\x0fSETCONFIGPARAMS\x10\t\x12\x10\n\x0c\x41NALYZEIMAGE\x10\n\x12\x0f\n\x0bIMAGERESULT\x10\x0b\x12\x0f\n\x0bINFOMESSAGE\x10\x0c\x12\x12\n\rGETCONFIGFILE\x10\xe8\x07\x12\x12\n\rSETCONFIGFILE\x10\xe9\x07\x12\x15\n\x10MODIFYCONFIGFILE\x10\xea\x07\x12\x12\n\rGETSTATISTICS\x10\xeb\x07\x12\x1b\n\x16OPENDIRECTORYINBRWOSER\x10\xec\x07\"&\n\x0cpb_Body_Init\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\"\x9a\x02\n\x1apb_Body_GetStatus_Response\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\x12\x1d\n\x15init_timestamp_utc_ms\x18\x02 \x02(\x03\x12\x1a\n\x12\x63onfiguration_sets\x18\x03 \x03(\t\x12W\n\x11images_in_process\x18\x04 \x03(\x0b\x32<.image_analysis.pb_Body_GetStatus_Response.pb_ImageInProcess\x1aP\n\x11pb_ImageInProcess\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x1e\n\x16\x63onfiguration_set_name\x18\x02 \x02(\t\"L\n\x1bpb_Body_GetVersion_Response\x12\x14\n\x0cprogram_name\x18\x01 \x02(\t\x12\x17\n\x0fprogram_version\x18\x02 \x02(\t\"7\n\x1bpb_Body_GetPresets_Response\x12\x18\n\x10preset_name_list\x18\x01 \x03(\t\",\n\x15pb_Body_GetPresetInfo\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\"\xcd\x05\n\x1epb_Body_GetPresetInfo_Response\x12Q\n\x0bpreset_info\x18\x01 \x01(\x0b\x32<.image_analysis.pb_Body_GetPresetInfo_Response.pb_PresetItem\x1a-\n\x0epb_AddInfoItem\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\x1a\xc3\x01\n\x10pb_ParamInfoItem\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12]\n\tdirection\x18\x03 \x02(\x0e\x32<.image_analysis.pb_Body_GetPresetInfo_Response.DirectionEnum:\x0cUNDEFINED_DR\x1a\x99\x02\n\rpb_PresetItem\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\rfeature_types\x18\x05 \x03(\t\x12W\n\x10\x61\x64\x64itional_infos\x18\x06 \x03(\x0b\x32=.image_analysis.pb_Body_GetPresetInfo_Response.pb_AddInfoItem\x12S\n\nparam_list\x18\x07 \x03(\x0b\x32?.image_analysis.pb_Body_GetPresetInfo_Response.pb_ParamInfoItem\"G\n\rDirectionEnum\x12\x10\n\x0cUNDEFINED_DR\x10\x00\x12\t\n\x05IN_DR\x10\x01\x12\n\n\x06OUT_DR\x10\x02\x12\r\n\tIN_OUT_DR\x10\x03\"\xa4\x01\n\x0epb_ConfigParam\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12\x12\n\nval_string\x18\x03 \x01(\t\x12\x10\n\x08val_json\x18\x04 \x01(\t\x12\x1a\n\nval_double\x18\x05 \x01(\x01:\x06-1e+99\"\xcf\x04\n\x11pb_Body_SetConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12@\n\tcell_info\x18\x02 \x01(\x0b\x32-.image_analysis.pb_Body_SetConfig.pb_CellInfo\x12\x13\n\x0bpreset_name\x18\x03 \x01(\t\x12\x35\n\rconfig_params\x18\x04 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\x1a\x93\x03\n\x0bpb_CellInfo\x12\x18\n\x0c\x62usbar_count\x18\x01 \x01(\x05:\x02-1\x12p\n\x12\x62usbar_orientation\x18\x02 \x01(\x0e\x32\x46.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum:\x0cUNDEFINED_BO\x12\x64\n\x0c\x63rystal_type\x18\x03 \x01(\x0e\x32@.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum:\x0cUNDEFINED_CT\"P\n\x18pb_BusbarOrientationEnum\x12\x10\n\x0cUNDEFINED_BO\x10\x00\x12\x11\n\rHORIZONTAL_BO\x10\x01\x12\x0f\n\x0bVERTICAL_BO\x10\x02\"@\n\x12pb_CrystalTypeEnum\x12\x10\n\x0cUNDEFINED_CT\x10\x00\x12\x0b\n\x07MONO_CT\x10\x01\x12\x0b\n\x07POLY_CT\x10\x02\".\n\x14pb_Body_RemoveConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\"J\n\x17pb_Body_GetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x17\n\x0fparam_name_list\x18\x02 \x03(\t\"q\n pb_Body_GetConfigParams_Response\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"h\n\x17pb_Body_SetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"\x8c\x02\n\x0cpb_ImageData\x12I\n\x11image_file_format\x18\x01 \x02(\x0e\x32..image_analysis.pb_ImageData.pb_FileFormatEnum\x12\x12\n\nimage_data\x18\x02 \x01(\x0c\x12\x11\n\x05width\x18\x03 \x01(\x05:\x02-1\x12\x12\n\x06height\x18\x04 \x01(\x05:\x02-1\x12\x14\n\x08\x62itdepth\x18\x05 \x01(\x05:\x02-1\"`\n\x11pb_FileFormatEnum\x12\x10\n\x0cUNDEFINED_FF\x10\x00\x12\n\n\x06PNG_FF\x10\x01\x12\n\n\x06JPG_FF\x10\x02\x12\n\n\x06RAW_FF\x10\x03\x12\t\n\x05\x42YTES\x10\x64\x12\n\n\x06TIF_FF\x10\x65\"K\n\x0epb_MultiImages\x12\x0c\n\x04name\x18\x01 \x02(\t\x12+\n\x05image\x18\x02 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\"\x94\x02\n\x11pb_AdditionalData\x12I\n\x0enumeric_values\x18\x01 \x03(\x0b\x32\x31.image_analysis.pb_AdditionalData.pb_NumericValue\x12G\n\rstring_values\x18\x02 \x03(\x0b\x32\x30.image_analysis.pb_AdditionalData.pb_StringValue\x1a<\n\x0fpb_NumericValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04unit\x18\x02 \x02(\t\x12\r\n\x05value\x18\x03 \x02(\x01\x1a-\n\x0epb_StringValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"\xaa\x03\n\x14pb_Body_AnalyzeImage\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12+\n\x05image\x18\x03 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x0f\x61\x64\x64itional_data\x18\x04 \x01(\x0b\x32!.image_analysis.pb_AdditionalData\x12\x34\n\x0cmulti_images\x18\x05 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x12S\n\x0eupload_options\x18\x64 \x01(\x0b\x32;.image_analysis.pb_Body_AnalyzeImage.pb_DENK_UploadSettings\x1ai\n\x16pb_DENK_UploadSettings\x12\x13\n\x0bupload_path\x18\x01 \x01(\t\x12\x1a\n\x12upload_annotations\x18\x02 \x01(\x08\x12\x1e\n\x12\x63ompression_option\x18\x03 \x01(\x05:\x02-1\"\x93\x13\n\x13pb_Body_ImageResult\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12@\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32..image_analysis.pb_Body_ImageResult.pb_Feature\x12X\n\x14image_classification\x18\x04 \x01(\x0b\x32:.image_analysis.pb_Body_ImageResult.pb_ImageClassification\x12\x31\n\x0bimage_plain\x18\x05 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12\x34\n\x0eimage_overlaid\x18\x06 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x12multi_images_plain\x18\x07 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x12=\n\x15multi_images_overlaid\x18\x08 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x1a\x46\n\x07pb_Rect\x12\r\n\x05x_pos\x18\x01 \x01(\x01\x12\r\n\x05y_pos\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x1a%\n\rpb_DENK_Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1an\n\x1apb_DENK_MinimalBoundingBox\x12\x10\n\x08\x63\x65nter_x\x18\x01 \x01(\x01\x12\x10\n\x08\x63\x65nter_y\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x12\r\n\x05\x61ngle\x18\x05 \x01(\x01\x1a>\n\x14pb_DENK_OcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\x1ao\n\x1cpb_DENK_OcrCharacterPosition\x12O\n\rocr_character\x18\x01 \x03(\x0b\x32\x38.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacter\x1a\xd1\x08\n\npb_Feature\x12\x19\n\x11\x66\x65\x61ture_type_name\x18\x01 \x02(\t\x12T\n\rfeature_infos\x18\x02 \x03(\x0b\x32=.image_analysis.pb_Body_ImageResult.pb_Feature.pb_FeatureInfo\x12\x19\n\x11multi_image_names\x18\x03 \x03(\t\x12\x0f\n\x07section\x18\x64 \x03(\t\x12\x14\n\x0c\x66iltered_out\x18\x65 \x01(\x08\x12\x12\n\nclassifier\x18\x66 \x01(\x01\x1a\xfb\x06\n\x0epb_FeatureInfo\x12\x44\n\x0foutline_rect_px\x18\x01 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x1b\n\x0bprobability\x18\x02 \x01(\x01:\x06-1e+99\x12\x16\n\x06length\x18\x03 \x01(\x01:\x06-1e+99\x12\x14\n\x04\x61rea\x18\x04 \x01(\x01:\x06-1e+99\x12\x15\n\x05\x61ngle\x18\x05 \x01(\x01:\x06-1e+99\x12\x16\n\x06number\x18\x06 \x01(\x01:\x06-1e+99\x12\x17\n\x07\x61verage\x18\x07 \x01(\x01:\x06-1e+99\x12\x17\n\x07maximum\x18\x08 \x01(\x01:\x06-1e+99\x12\x17\n\x07minimum\x18\t \x01(\x01:\x06-1e+99\x12\x19\n\tarea_edge\x18\n \x01(\x01:\x06-1e+99\x12\x1b\n\x0b\x61rea_length\x18\x0b \x01(\x01:\x06-1e+99\x12\x1c\n\x0c\x61vggrayvalue\x18\r \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmaxgrayvalue\x18\x0e \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmingrayvalue\x18\x0f \x01(\x01:\x06-1e+99\x12\x0e\n\x02id\x18\x10 \x01(\x05:\x02-1\x12\x13\n\x0brelated_ids\x18\x11 \x03(\x05\x12\x15\n\x05width\x18\x64 \x01(\x01:\x06-1e+99\x12\x44\n\x0foutline_rect_mm\x18\x65 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x0b\n\x03uid\x18\x66 \x01(\t\x12\x14\n\x0crelated_uids\x18g \x03(\t\x12\\\n\x14minimal_bounding_box\x18h \x01(\x0b\x32>.image_analysis.pb_Body_ImageResult.pb_DENK_MinimalBoundingBox\x12U\n\x1aminimal_bounding_box_point\x18i \x03(\x0b\x32\x31.image_analysis.pb_Body_ImageResult.pb_DENK_Point\x12\x10\n\x08ocr_text\x18j \x01(\t\x12`\n\x16ocr_character_position\x18k \x03(\x0b\x32@.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacterPosition\x1a\xe2\x03\n\x16pb_ImageClassification\x12\x18\n\x10image_class_name\x18\x01 \x01(\t\x12k\n\x13image_quality_class\x18\x02 \x01(\x0e\x32N.image_analysis.pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum\x12\x1a\n\x12image_quality_code\x18\x03 \x01(\t\x12#\n\x13image_quality_score\x18\x04 \x01(\x01:\x06-1e+99\x12\x1e\n\x0eimage_ok_score\x18\x05 \x01(\x01:\x06-1e+99\x12\"\n\x12image_avggrayvalue\x18\x06 \x01(\x01:\x06-1e+99\x12\"\n\x12image_maxgrayvalue\x18\x07 \x01(\x01:\x06-1e+99\x12\"\n\x12image_mingrayvalue\x18\x08 \x01(\x01:\x06-1e+99\"t\n\x13pb_ImageQualityEnum\x12\x15\n\x11UNDEFINED_QUALITY\x10\x00\x12\x14\n\x10NO_ISSUE_QUALITY\x10\x01\x12\x17\n\x13MINOR_ISSUE_QUALITY\x10\x02\x12\x17\n\x13MAJOR_ISSUE_QUALITY\x10\x03\"\xe4\x01\n\x13pb_Body_InfoMessage\x12\x46\n\tinfo_type\x18\x01 \x02(\x0e\x32\x33.image_analysis.pb_Body_InfoMessage.pb_InfoTypeEnum\x12\x14\n\x0cnumeric_code\x18\x02 \x02(\x05\x12\x11\n\tinfo_text\x18\x03 \x02(\t\"\\\n\x0fpb_InfoTypeEnum\x12\x10\n\x0cUNDEFINED_IT\x10\x00\x12\x0c\n\x08\x44\x45\x42UG_IT\x10\x01\x12\x0b\n\x07INFO_IT\x10\x02\x12\x0e\n\nWARNING_IT\x10\x03\x12\x0c\n\x08\x45RROR_IT\x10\x04\"\x95\x01\n\x1epb_Body_GetConfigFile_Response\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\x12\x1e\n\x16\x61vailable_config_files\x18\x03 \x03(\t\x12\x1c\n\x14\x63urrent_default_file\x18\x04 \x02(\t\"M\n\x15pb_Body_SetConfigFile\x12\x1c\n\x14new_config_file_name\x18\x01 \x02(\t\x12\x16\n\x0eset_as_default\x18\x02 \x02(\x08\"Q\n\x18pb_Body_ModifyConfigFile\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\"8\n\x1epb_Body_GetStatistics_Response\x12\x16\n\x0estatistics_csv\x18\x01 \x02(\t\".\n\x1epb_Body_OpenDirectoryInBrowser\x12\x0c\n\x04path\x18\x01 \x02(\t*K\n\x0c\x44\x61taTypeEnum\x12\x10\n\x0cUNDEFINED_DT\x10\x00\x12\r\n\tSTRING_DT\x10\x01\x12\r\n\tDOUBLE_DT\x10\x02\x12\x0b\n\x07JSON_DT\x10\x03\x42-Z\x1b\x64\x65nkproto-go/image-analysis\xaa\x02\rDENK.Proto.IA')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ImageAnalysis_ProtobufMessages_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- _globals['DESCRIPTOR']._options = None
22
+ if not _descriptor._USE_C_DESCRIPTORS:
23
+ _globals['DESCRIPTOR']._loaded_options = None
24
24
  _globals['DESCRIPTOR']._serialized_options = b'Z\033denkproto-go/image-analysis\252\002\rDENK.Proto.IA'
25
- _globals['_DATATYPEENUM']._serialized_start=7083
26
- _globals['_DATATYPEENUM']._serialized_end=7158
25
+ _globals['_DATATYPEENUM']._serialized_start=7352
26
+ _globals['_DATATYPEENUM']._serialized_end=7427
27
27
  _globals['_PB_PROTOCOLVERSIONDETECTION']._serialized_start=56
28
28
  _globals['_PB_PROTOCOLVERSIONDETECTION']._serialized_end=157
29
29
  _globals['_PB_MESSAGEHEADER']._serialized_start=160
30
- _globals['_PB_MESSAGEHEADER']._serialized_end=828
30
+ _globals['_PB_MESSAGEHEADER']._serialized_end=857
31
31
  _globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_start=514
32
- _globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_end=828
33
- _globals['_PB_BODY_INIT']._serialized_start=830
34
- _globals['_PB_BODY_INIT']._serialized_end=868
35
- _globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_start=871
36
- _globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_end=1153
37
- _globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_start=1073
38
- _globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_end=1153
39
- _globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_start=1155
40
- _globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_end=1231
41
- _globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_start=1233
42
- _globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_end=1288
43
- _globals['_PB_BODY_GETPRESETINFO']._serialized_start=1290
44
- _globals['_PB_BODY_GETPRESETINFO']._serialized_end=1334
45
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_start=1337
46
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_end=2054
47
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_start=1454
48
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_end=1499
49
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_start=1502
50
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_end=1697
51
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_start=1700
52
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_end=1981
53
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_start=1983
54
- _globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_end=2054
55
- _globals['_PB_CONFIGPARAM']._serialized_start=2057
56
- _globals['_PB_CONFIGPARAM']._serialized_end=2221
57
- _globals['_PB_BODY_SETCONFIG']._serialized_start=2224
58
- _globals['_PB_BODY_SETCONFIG']._serialized_end=2815
59
- _globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_start=2412
60
- _globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_end=2815
61
- _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_start=2669
62
- _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_end=2749
63
- _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_start=2751
64
- _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_end=2815
65
- _globals['_PB_BODY_REMOVECONFIG']._serialized_start=2817
66
- _globals['_PB_BODY_REMOVECONFIG']._serialized_end=2863
67
- _globals['_PB_BODY_GETCONFIGPARAMS']._serialized_start=2865
68
- _globals['_PB_BODY_GETCONFIGPARAMS']._serialized_end=2939
69
- _globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_start=2941
70
- _globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_end=3054
71
- _globals['_PB_BODY_SETCONFIGPARAMS']._serialized_start=3056
72
- _globals['_PB_BODY_SETCONFIGPARAMS']._serialized_end=3160
73
- _globals['_PB_IMAGEDATA']._serialized_start=3163
74
- _globals['_PB_IMAGEDATA']._serialized_end=3431
75
- _globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_start=3335
76
- _globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_end=3431
77
- _globals['_PB_MULTIIMAGES']._serialized_start=3433
78
- _globals['_PB_MULTIIMAGES']._serialized_end=3508
79
- _globals['_PB_ADDITIONALDATA']._serialized_start=3511
80
- _globals['_PB_ADDITIONALDATA']._serialized_end=3787
81
- _globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_start=3680
82
- _globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_end=3740
83
- _globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_start=3742
84
- _globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_end=3787
85
- _globals['_PB_BODY_ANALYZEIMAGE']._serialized_start=3790
86
- _globals['_PB_BODY_ANALYZEIMAGE']._serialized_end=4024
87
- _globals['_PB_BODY_IMAGERESULT']._serialized_start=4027
88
- _globals['_PB_BODY_IMAGERESULT']._serialized_end=6478
89
- _globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_start=4487
90
- _globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_end=4557
91
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_start=4559
92
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_end=4596
93
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_start=4598
94
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_end=4708
95
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_start=4710
96
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_end=4772
97
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_start=4774
98
- _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_end=4885
99
- _globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_start=4888
100
- _globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_end=5993
101
- _globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_start=5102
102
- _globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_end=5993
103
- _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_start=5996
104
- _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_end=6478
105
- _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_start=6362
106
- _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_end=6478
107
- _globals['_PB_BODY_INFOMESSAGE']._serialized_start=6481
108
- _globals['_PB_BODY_INFOMESSAGE']._serialized_end=6709
109
- _globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_start=6617
110
- _globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_end=6709
111
- _globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_start=6712
112
- _globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_end=6861
113
- _globals['_PB_BODY_SETCONFIGFILE']._serialized_start=6863
114
- _globals['_PB_BODY_SETCONFIGFILE']._serialized_end=6940
115
- _globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_start=6942
116
- _globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_end=7023
117
- _globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_start=7025
118
- _globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_end=7081
32
+ _globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_end=857
33
+ _globals['_PB_BODY_INIT']._serialized_start=859
34
+ _globals['_PB_BODY_INIT']._serialized_end=897
35
+ _globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_start=900
36
+ _globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_end=1182
37
+ _globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_start=1102
38
+ _globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_end=1182
39
+ _globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_start=1184
40
+ _globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_end=1260
41
+ _globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_start=1262
42
+ _globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_end=1317
43
+ _globals['_PB_BODY_GETPRESETINFO']._serialized_start=1319
44
+ _globals['_PB_BODY_GETPRESETINFO']._serialized_end=1363
45
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_start=1366
46
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_end=2083
47
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_start=1483
48
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_end=1528
49
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_start=1531
50
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_end=1726
51
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_start=1729
52
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_end=2010
53
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_start=2012
54
+ _globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_end=2083
55
+ _globals['_PB_CONFIGPARAM']._serialized_start=2086
56
+ _globals['_PB_CONFIGPARAM']._serialized_end=2250
57
+ _globals['_PB_BODY_SETCONFIG']._serialized_start=2253
58
+ _globals['_PB_BODY_SETCONFIG']._serialized_end=2844
59
+ _globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_start=2441
60
+ _globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_end=2844
61
+ _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_start=2698
62
+ _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_end=2778
63
+ _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_start=2780
64
+ _globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_end=2844
65
+ _globals['_PB_BODY_REMOVECONFIG']._serialized_start=2846
66
+ _globals['_PB_BODY_REMOVECONFIG']._serialized_end=2892
67
+ _globals['_PB_BODY_GETCONFIGPARAMS']._serialized_start=2894
68
+ _globals['_PB_BODY_GETCONFIGPARAMS']._serialized_end=2968
69
+ _globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_start=2970
70
+ _globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_end=3083
71
+ _globals['_PB_BODY_SETCONFIGPARAMS']._serialized_start=3085
72
+ _globals['_PB_BODY_SETCONFIGPARAMS']._serialized_end=3189
73
+ _globals['_PB_IMAGEDATA']._serialized_start=3192
74
+ _globals['_PB_IMAGEDATA']._serialized_end=3460
75
+ _globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_start=3364
76
+ _globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_end=3460
77
+ _globals['_PB_MULTIIMAGES']._serialized_start=3462
78
+ _globals['_PB_MULTIIMAGES']._serialized_end=3537
79
+ _globals['_PB_ADDITIONALDATA']._serialized_start=3540
80
+ _globals['_PB_ADDITIONALDATA']._serialized_end=3816
81
+ _globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_start=3709
82
+ _globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_end=3769
83
+ _globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_start=3771
84
+ _globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_end=3816
85
+ _globals['_PB_BODY_ANALYZEIMAGE']._serialized_start=3819
86
+ _globals['_PB_BODY_ANALYZEIMAGE']._serialized_end=4245
87
+ _globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_start=4140
88
+ _globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_end=4245
89
+ _globals['_PB_BODY_IMAGERESULT']._serialized_start=4248
90
+ _globals['_PB_BODY_IMAGERESULT']._serialized_end=6699
91
+ _globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_start=4708
92
+ _globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_end=4778
93
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_start=4780
94
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_end=4817
95
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_start=4819
96
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_end=4929
97
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_start=4931
98
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_end=4993
99
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_start=4995
100
+ _globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_end=5106
101
+ _globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_start=5109
102
+ _globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_end=6214
103
+ _globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_start=5323
104
+ _globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_end=6214
105
+ _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_start=6217
106
+ _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_end=6699
107
+ _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_start=6583
108
+ _globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_end=6699
109
+ _globals['_PB_BODY_INFOMESSAGE']._serialized_start=6702
110
+ _globals['_PB_BODY_INFOMESSAGE']._serialized_end=6930
111
+ _globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_start=6838
112
+ _globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_end=6930
113
+ _globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_start=6933
114
+ _globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_end=7082
115
+ _globals['_PB_BODY_SETCONFIGFILE']._serialized_start=7084
116
+ _globals['_PB_BODY_SETCONFIGFILE']._serialized_end=7161
117
+ _globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_start=7163
118
+ _globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_end=7244
119
+ _globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_start=7246
120
+ _globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_end=7302
121
+ _globals['_PB_BODY_OPENDIRECTORYINBROWSER']._serialized_start=7304
122
+ _globals['_PB_BODY_OPENDIRECTORYINBROWSER']._serialized_end=7350
119
123
  # @@protoc_insertion_point(module_scope)
@@ -46,6 +46,7 @@ class pb_MessageHeader(_message.Message):
46
46
  SETCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
47
47
  MODIFYCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
48
48
  GETSTATISTICS: _ClassVar[pb_MessageHeader.MessageType]
49
+ OPENDIRECTORYINBRWOSER: _ClassVar[pb_MessageHeader.MessageType]
49
50
  UNDEFINED: pb_MessageHeader.MessageType
50
51
  GETSTATUS: pb_MessageHeader.MessageType
51
52
  GETVERSION: pb_MessageHeader.MessageType
@@ -63,6 +64,7 @@ class pb_MessageHeader(_message.Message):
63
64
  SETCONFIGFILE: pb_MessageHeader.MessageType
64
65
  MODIFYCONFIGFILE: pb_MessageHeader.MessageType
65
66
  GETSTATISTICS: pb_MessageHeader.MessageType
67
+ OPENDIRECTORYINBRWOSER: pb_MessageHeader.MessageType
66
68
  MESSAGE_TYPE_FIELD_NUMBER: _ClassVar[int]
67
69
  RESPONSE_FIELD_NUMBER: _ClassVar[int]
68
70
  MESSAGE_COUNTER_FIELD_NUMBER: _ClassVar[int]
@@ -325,18 +327,29 @@ class pb_AdditionalData(_message.Message):
325
327
  def __init__(self, numeric_values: _Optional[_Iterable[_Union[pb_AdditionalData.pb_NumericValue, _Mapping]]] = ..., string_values: _Optional[_Iterable[_Union[pb_AdditionalData.pb_StringValue, _Mapping]]] = ...) -> None: ...
326
328
 
327
329
  class pb_Body_AnalyzeImage(_message.Message):
328
- __slots__ = ("serial_number_image", "configset_name", "image", "additional_data", "multi_images")
330
+ __slots__ = ("serial_number_image", "configset_name", "image", "additional_data", "multi_images", "upload_options")
331
+ class pb_DENK_UploadSettings(_message.Message):
332
+ __slots__ = ("upload_path", "upload_annotations", "compression_option")
333
+ UPLOAD_PATH_FIELD_NUMBER: _ClassVar[int]
334
+ UPLOAD_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
335
+ COMPRESSION_OPTION_FIELD_NUMBER: _ClassVar[int]
336
+ upload_path: str
337
+ upload_annotations: bool
338
+ compression_option: int
339
+ def __init__(self, upload_path: _Optional[str] = ..., upload_annotations: bool = ..., compression_option: _Optional[int] = ...) -> None: ...
329
340
  SERIAL_NUMBER_IMAGE_FIELD_NUMBER: _ClassVar[int]
330
341
  CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
331
342
  IMAGE_FIELD_NUMBER: _ClassVar[int]
332
343
  ADDITIONAL_DATA_FIELD_NUMBER: _ClassVar[int]
333
344
  MULTI_IMAGES_FIELD_NUMBER: _ClassVar[int]
345
+ UPLOAD_OPTIONS_FIELD_NUMBER: _ClassVar[int]
334
346
  serial_number_image: str
335
347
  configset_name: str
336
348
  image: pb_ImageData
337
349
  additional_data: pb_AdditionalData
338
350
  multi_images: _containers.RepeatedCompositeFieldContainer[pb_MultiImages]
339
- def __init__(self, serial_number_image: _Optional[str] = ..., configset_name: _Optional[str] = ..., image: _Optional[_Union[pb_ImageData, _Mapping]] = ..., additional_data: _Optional[_Union[pb_AdditionalData, _Mapping]] = ..., multi_images: _Optional[_Iterable[_Union[pb_MultiImages, _Mapping]]] = ...) -> None: ...
351
+ upload_options: pb_Body_AnalyzeImage.pb_DENK_UploadSettings
352
+ def __init__(self, serial_number_image: _Optional[str] = ..., configset_name: _Optional[str] = ..., image: _Optional[_Union[pb_ImageData, _Mapping]] = ..., additional_data: _Optional[_Union[pb_AdditionalData, _Mapping]] = ..., multi_images: _Optional[_Iterable[_Union[pb_MultiImages, _Mapping]]] = ..., upload_options: _Optional[_Union[pb_Body_AnalyzeImage.pb_DENK_UploadSettings, _Mapping]] = ...) -> None: ...
340
353
 
341
354
  class pb_Body_ImageResult(_message.Message):
342
355
  __slots__ = ("serial_number_image", "configset_name", "features", "image_classification", "image_plain", "image_overlaid", "multi_images_plain", "multi_images_overlaid")
@@ -551,3 +564,9 @@ class pb_Body_GetStatistics_Response(_message.Message):
551
564
  STATISTICS_CSV_FIELD_NUMBER: _ClassVar[int]
552
565
  statistics_csv: str
553
566
  def __init__(self, statistics_csv: _Optional[str] = ...) -> None: ...
567
+
568
+ class pb_Body_OpenDirectoryInBrowser(_message.Message):
569
+ __slots__ = ("path",)
570
+ PATH_FIELD_NUMBER: _ClassVar[int]
571
+ path: str
572
+ def __init__(self, path: _Optional[str] = ...) -> None: ...
denkproto/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.0.14rc0"
1
+ __version__ = "1.0.21"
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: modelfile-v1.proto
4
- # Protobuf Python Version: 4.25.3
4
+ # Protobuf Python Version: 5.26.0
5
5
  """Generated protocol buffer code."""
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -14,32 +14,34 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12modelfile-v1.proto\x12\x0cmodelfile.v1\"J\n\x0eRegionFromEdge\x12\x0c\n\x04left\x18\x01 \x01(\x01\x12\r\n\x05right\x18\x02 \x01(\x01\x12\x0b\n\x03top\x18\x03 \x01(\x01\x12\x0e\n\x06\x62ottom\x18\x04 \x01(\x01\"]\n\x0c\x46\x65\x61tureClass\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x13\n\x0b\x66\x65\x61ture_tag\x18\x04 \x01(\t\"\x80\x02\n\nInputField\x12\r\n\x05label\x18\x01 \x01(\t\x12(\n\x08\x64\x61tatype\x18\x02 \x01(\x0e\x32\x16.modelfile.v1.DataType\x12\x0f\n\x07image_w\x18\x03 \x01(\x05\x12\x0f\n\x07image_h\x18\x04 \x01(\x05\x12\x0f\n\x07image_c\x18\x05 \x01(\x05\x12\x38\n\x12region_of_interest\x18\x06 \x03(\x0b\x32\x1c.modelfile.v1.RegionFromEdge\x12\x18\n\x10training_image_w\x18\x08 \x01(\x05\x12\x18\n\x10training_image_h\x18\t \x01(\x05\x12\x18\n\x10training_image_c\x18\n \x01(\x05\"\xf3\x01\n\x0bOutputField\x12\r\n\x05label\x18\x01 \x01(\t\x12(\n\x08\x64\x61tatype\x18\x02 \x01(\x0e\x32\x16.modelfile.v1.DataType\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x0f\n\x07image_w\x18\x04 \x01(\x05\x12\x0f\n\x07image_h\x18\x05 \x01(\x05\x12\x0f\n\x07image_c\x18\x06 \x01(\x05\x12+\n\x07\x63lasses\x18\x07 \x03(\x0b\x32\x1a.modelfile.v1.FeatureClass\x12\x13\n\x0bmax_queries\x18\x08 \x01(\x05\x12\x0f\n\x07\x63harset\x18\t \x01(\x0c\x12\x16\n\x0e\x63harset_filter\x18\n \x01(\x0c\"\xdd\x04\n\tModelFile\x12\x18\n\x10protocol_version\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\x0c\x12;\n\x12\x63ompression_method\x18\x03 \x01(\x0e\x32\x1f.modelfile.v1.CompressionMethod\x12\x1a\n\x12model_hash_blake2b\x18\x04 \x01(\t\x12\'\n\x05input\x18\x05 \x03(\x0b\x32\x18.modelfile.v1.InputField\x12)\n\x06output\x18\x06 \x03(\x0b\x32\x19.modelfile.v1.OutputField\x12\x0e\n\x06tenant\x18\x07 \x01(\t\x12\x13\n\x0bmodel_label\x18\x08 \x01(\t\x12\x11\n\tmodel_tag\x18\t \x01(\t\x12\x10\n\x08model_id\x18\n \x01(\x05\x12\x1a\n\x12\x63reation_timestamp\x18\x0b \x01(\x03\x12\x11\n\ttenant_id\x18\x0c \x01(\t\x12\x1a\n\x12onnx_version_major\x18\r \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x0e \x01(\x05\x12\x11\n\tmodel_uid\x18\x0f \x01(\t\x12\x17\n\x0fmodel_timestamp\x18\x10 \x01(\x03\x12+\n\nmodel_type\x18\x11 \x01(\x0e\x32\x17.modelfile.v1.ModelType\x12\x38\n\x11model_output_type\x18\x12 \x01(\x0e\x32\x1d.modelfile.v1.ModelOutputType\x12)\n\tfile_type\x18\x13 \x01(\x0e\x32\x16.modelfile.v1.FileType\x12\x0b\n\x03key\x18\x14 \x01(\t*?\n\x08\x46ileType\x12\x0c\n\x08\x46T_MODEL\x10\x00\x12\x13\n\x0f\x46T_VIZIOTIX_KEY\x10\x01\x12\x10\n\x0c\x46T_ZXING_KEY\x10\x02*D\n\x11\x43ompressionMethod\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04GZIP\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04LZMA\x10\x03\x12\x07\n\x03\x42Z2\x10\x04*\x9a\x02\n\x08\x44\x61taType\x12\x0e\n\nSCALAR_INT\x10\x00\x12\x10\n\x0cSCALAR_FLOAT\x10\x01\x12\x11\n\rIMAGE_RAW_INT\x10\x02\x12\x13\n\x0fIMAGE_RAW_FLOAT\x10\x03\x12\r\n\tIMAGE_PNG\x10\x04\x12\r\n\tIMAGE_JPG\x10\x05\x12\r\n\tIMAGE_TIF\x10\x06\x12\x15\n\x11\x42OUNDING_BOX_LIST\x10\x07\x12\"\n\x1e\x42OUNDING_BOX_LIST_SEGMENTATION\x10\x08\x12+\n\'BOUNDING_BOX_LIST_SEGMENTATION_HIGH_RES\x10\t\x12!\n\x1dOPTICAL_CHARACTER_RECOGNITION\x10\n\x12\x0c\n\x08\x42\x41RCODES\x10\x0b*-\n\tModelType\x12\x0b\n\x07REGULAR\x10\x00\x12\x13\n\x0f\x41REA_DEFINITION\x10\x01*\xd2\x01\n\x0fModelOutputType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x17\n\x13TYPE_CLASSIFICATION\x10\x01\x12\x15\n\x11TYPE_SEGMENTATION\x10\x02\x12\x1e\n\x1aTYPE_INSTANCE_SEGMENTATION\x10\x03\x12\x19\n\x15TYPE_OBJECT_DETECTION\x10\x04\x12\x1a\n\x16TYPE_ANOMALY_DETECTION\x10\x05\x12&\n\"TYPE_OPTICAL_CHARACTER_RECOGNITION\x10\x06\x42\x35Z\x19\x64\x65nkproto-go/modelfile/v1\xaa\x02\x17\x44\x45NK.Proto.Modelfile.V1b\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12modelfile-v1.proto\x12\x0cmodelfile.v1\"J\n\x0eRegionFromEdge\x12\x0c\n\x04left\x18\x01 \x01(\x01\x12\r\n\x05right\x18\x02 \x01(\x01\x12\x0b\n\x03top\x18\x03 \x01(\x01\x12\x0e\n\x06\x62ottom\x18\x04 \x01(\x01\"]\n\x0c\x46\x65\x61tureClass\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x13\n\x0b\x66\x65\x61ture_tag\x18\x04 \x01(\t\"\x97\x02\n\nInputField\x12\r\n\x05label\x18\x01 \x01(\t\x12(\n\x08\x64\x61tatype\x18\x02 \x01(\x0e\x32\x16.modelfile.v1.DataType\x12\x0f\n\x07image_w\x18\x03 \x01(\x05\x12\x0f\n\x07image_h\x18\x04 \x01(\x05\x12\x0f\n\x07image_c\x18\x05 \x01(\x05\x12\x38\n\x12region_of_interest\x18\x06 \x03(\x0b\x32\x1c.modelfile.v1.RegionFromEdge\x12\x18\n\x10training_image_w\x18\x08 \x01(\x05\x12\x18\n\x10training_image_h\x18\t \x01(\x05\x12\x18\n\x10training_image_c\x18\n \x01(\x05\x12\x15\n\rmoving_window\x18\x0b \x01(\x08\"U\n\x19OcrFormatRestrictionBlock\x12\x1c\n\x14number_of_characters\x18\x01 \x01(\r\x12\x1a\n\x12\x61llowed_characters\x18\x02 \x01(\x0c\"\xbd\x02\n\x0bOutputField\x12\r\n\x05label\x18\x01 \x01(\t\x12(\n\x08\x64\x61tatype\x18\x02 \x01(\x0e\x32\x16.modelfile.v1.DataType\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x0f\n\x07image_w\x18\x04 \x01(\x05\x12\x0f\n\x07image_h\x18\x05 \x01(\x05\x12\x0f\n\x07image_c\x18\x06 \x01(\x05\x12+\n\x07\x63lasses\x18\x07 \x03(\x0b\x32\x1a.modelfile.v1.FeatureClass\x12\x13\n\x0bmax_queries\x18\x08 \x01(\x05\x12\x0f\n\x07\x63harset\x18\t \x01(\x0c\x12\x16\n\x0e\x63harset_filter\x18\n \x01(\x0c\x12H\n\x17ocr_format_restrictions\x18\x0b \x03(\x0b\x32\'.modelfile.v1.OcrFormatRestrictionBlock\"\xdd\x04\n\tModelFile\x12\x18\n\x10protocol_version\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\x0c\x12;\n\x12\x63ompression_method\x18\x03 \x01(\x0e\x32\x1f.modelfile.v1.CompressionMethod\x12\x1a\n\x12model_hash_blake2b\x18\x04 \x01(\t\x12\'\n\x05input\x18\x05 \x03(\x0b\x32\x18.modelfile.v1.InputField\x12)\n\x06output\x18\x06 \x03(\x0b\x32\x19.modelfile.v1.OutputField\x12\x0e\n\x06tenant\x18\x07 \x01(\t\x12\x13\n\x0bmodel_label\x18\x08 \x01(\t\x12\x11\n\tmodel_tag\x18\t \x01(\t\x12\x10\n\x08model_id\x18\n \x01(\x05\x12\x1a\n\x12\x63reation_timestamp\x18\x0b \x01(\x03\x12\x11\n\ttenant_id\x18\x0c \x01(\t\x12\x1a\n\x12onnx_version_major\x18\r \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x0e \x01(\x05\x12\x11\n\tmodel_uid\x18\x0f \x01(\t\x12\x17\n\x0fmodel_timestamp\x18\x10 \x01(\x03\x12+\n\nmodel_type\x18\x11 \x01(\x0e\x32\x17.modelfile.v1.ModelType\x12\x38\n\x11model_output_type\x18\x12 \x01(\x0e\x32\x1d.modelfile.v1.ModelOutputType\x12)\n\tfile_type\x18\x13 \x01(\x0e\x32\x16.modelfile.v1.FileType\x12\x0b\n\x03key\x18\x14 \x01(\t*?\n\x08\x46ileType\x12\x0c\n\x08\x46T_MODEL\x10\x00\x12\x13\n\x0f\x46T_VIZIOTIX_KEY\x10\x01\x12\x10\n\x0c\x46T_ZXING_KEY\x10\x02*D\n\x11\x43ompressionMethod\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04GZIP\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04LZMA\x10\x03\x12\x07\n\x03\x42Z2\x10\x04*\xea\x02\n\x08\x44\x61taType\x12\x0e\n\nSCALAR_INT\x10\x00\x12\x10\n\x0cSCALAR_FLOAT\x10\x01\x12\x11\n\rIMAGE_RAW_INT\x10\x02\x12\x13\n\x0fIMAGE_RAW_FLOAT\x10\x03\x12\r\n\tIMAGE_PNG\x10\x04\x12\r\n\tIMAGE_JPG\x10\x05\x12\r\n\tIMAGE_TIF\x10\x06\x12\x15\n\x11\x42OUNDING_BOX_LIST\x10\x07\x12\"\n\x1e\x42OUNDING_BOX_LIST_SEGMENTATION\x10\x08\x12+\n\'BOUNDING_BOX_LIST_SEGMENTATION_HIGH_RES\x10\t\x12!\n\x1dOPTICAL_CHARACTER_RECOGNITION\x10\n\x12\x0c\n\x08\x42\x41RCODES\x10\x0b\x12&\n\"BOUNDING_BOX_LIST_HALF_ORIENTATION\x10\x0c\x12&\n\"BOUNDING_BOX_LIST_FULL_ORIENTATION\x10\r*-\n\tModelType\x12\x0b\n\x07REGULAR\x10\x00\x12\x13\n\x0f\x41REA_DEFINITION\x10\x01*\xbd\x02\n\x0fModelOutputType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x17\n\x13TYPE_CLASSIFICATION\x10\x01\x12\x15\n\x11TYPE_SEGMENTATION\x10\x02\x12\x1e\n\x1aTYPE_INSTANCE_SEGMENTATION\x10\x03\x12\x19\n\x15TYPE_OBJECT_DETECTION\x10\x04\x12\x1a\n\x16TYPE_ANOMALY_DETECTION\x10\x05\x12&\n\"TYPE_OPTICAL_CHARACTER_RECOGNITION\x10\x06\x12\x11\n\rTYPE_BARCODES\x10\x07\x12*\n&TYPE_OBJECT_DETECTION_HALF_ORIENTATION\x10\x08\x12*\n&TYPE_OBJECT_DETECTION_FULL_ORIENTATION\x10\tB5Z\x19\x64\x65nkproto-go/modelfile/v1\xaa\x02\x17\x44\x45NK.Proto.Modelfile.V1b\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'modelfile_v1_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- _globals['DESCRIPTOR']._options = None
22
+ if not _descriptor._USE_C_DESCRIPTORS:
23
+ _globals['DESCRIPTOR']._loaded_options = None
24
24
  _globals['DESCRIPTOR']._serialized_options = b'Z\031denkproto-go/modelfile/v1\252\002\027DENK.Proto.Modelfile.V1'
25
- _globals['_FILETYPE']._serialized_start=1320
26
- _globals['_FILETYPE']._serialized_end=1383
27
- _globals['_COMPRESSIONMETHOD']._serialized_start=1385
28
- _globals['_COMPRESSIONMETHOD']._serialized_end=1453
29
- _globals['_DATATYPE']._serialized_start=1456
30
- _globals['_DATATYPE']._serialized_end=1738
31
- _globals['_MODELTYPE']._serialized_start=1740
32
- _globals['_MODELTYPE']._serialized_end=1785
33
- _globals['_MODELOUTPUTTYPE']._serialized_start=1788
34
- _globals['_MODELOUTPUTTYPE']._serialized_end=1998
25
+ _globals['_FILETYPE']._serialized_start=1504
26
+ _globals['_FILETYPE']._serialized_end=1567
27
+ _globals['_COMPRESSIONMETHOD']._serialized_start=1569
28
+ _globals['_COMPRESSIONMETHOD']._serialized_end=1637
29
+ _globals['_DATATYPE']._serialized_start=1640
30
+ _globals['_DATATYPE']._serialized_end=2002
31
+ _globals['_MODELTYPE']._serialized_start=2004
32
+ _globals['_MODELTYPE']._serialized_end=2049
33
+ _globals['_MODELOUTPUTTYPE']._serialized_start=2052
34
+ _globals['_MODELOUTPUTTYPE']._serialized_end=2369
35
35
  _globals['_REGIONFROMEDGE']._serialized_start=36
36
36
  _globals['_REGIONFROMEDGE']._serialized_end=110
37
37
  _globals['_FEATURECLASS']._serialized_start=112
38
38
  _globals['_FEATURECLASS']._serialized_end=205
39
39
  _globals['_INPUTFIELD']._serialized_start=208
40
- _globals['_INPUTFIELD']._serialized_end=464
41
- _globals['_OUTPUTFIELD']._serialized_start=467
42
- _globals['_OUTPUTFIELD']._serialized_end=710
43
- _globals['_MODELFILE']._serialized_start=713
44
- _globals['_MODELFILE']._serialized_end=1318
40
+ _globals['_INPUTFIELD']._serialized_end=487
41
+ _globals['_OCRFORMATRESTRICTIONBLOCK']._serialized_start=489
42
+ _globals['_OCRFORMATRESTRICTIONBLOCK']._serialized_end=574
43
+ _globals['_OUTPUTFIELD']._serialized_start=577
44
+ _globals['_OUTPUTFIELD']._serialized_end=894
45
+ _globals['_MODELFILE']._serialized_start=897
46
+ _globals['_MODELFILE']._serialized_end=1502
45
47
  # @@protoc_insertion_point(module_scope)
@@ -34,6 +34,8 @@ class DataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
34
34
  BOUNDING_BOX_LIST_SEGMENTATION_HIGH_RES: _ClassVar[DataType]
35
35
  OPTICAL_CHARACTER_RECOGNITION: _ClassVar[DataType]
36
36
  BARCODES: _ClassVar[DataType]
37
+ BOUNDING_BOX_LIST_HALF_ORIENTATION: _ClassVar[DataType]
38
+ BOUNDING_BOX_LIST_FULL_ORIENTATION: _ClassVar[DataType]
37
39
 
38
40
  class ModelType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
39
41
  __slots__ = ()
@@ -49,6 +51,9 @@ class ModelOutputType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
49
51
  TYPE_OBJECT_DETECTION: _ClassVar[ModelOutputType]
50
52
  TYPE_ANOMALY_DETECTION: _ClassVar[ModelOutputType]
51
53
  TYPE_OPTICAL_CHARACTER_RECOGNITION: _ClassVar[ModelOutputType]
54
+ TYPE_BARCODES: _ClassVar[ModelOutputType]
55
+ TYPE_OBJECT_DETECTION_HALF_ORIENTATION: _ClassVar[ModelOutputType]
56
+ TYPE_OBJECT_DETECTION_FULL_ORIENTATION: _ClassVar[ModelOutputType]
52
57
  FT_MODEL: FileType
53
58
  FT_VIZIOTIX_KEY: FileType
54
59
  FT_ZXING_KEY: FileType
@@ -69,6 +74,8 @@ BOUNDING_BOX_LIST_SEGMENTATION: DataType
69
74
  BOUNDING_BOX_LIST_SEGMENTATION_HIGH_RES: DataType
70
75
  OPTICAL_CHARACTER_RECOGNITION: DataType
71
76
  BARCODES: DataType
77
+ BOUNDING_BOX_LIST_HALF_ORIENTATION: DataType
78
+ BOUNDING_BOX_LIST_FULL_ORIENTATION: DataType
72
79
  REGULAR: ModelType
73
80
  AREA_DEFINITION: ModelType
74
81
  TYPE_UNKNOWN: ModelOutputType
@@ -78,6 +85,9 @@ TYPE_INSTANCE_SEGMENTATION: ModelOutputType
78
85
  TYPE_OBJECT_DETECTION: ModelOutputType
79
86
  TYPE_ANOMALY_DETECTION: ModelOutputType
80
87
  TYPE_OPTICAL_CHARACTER_RECOGNITION: ModelOutputType
88
+ TYPE_BARCODES: ModelOutputType
89
+ TYPE_OBJECT_DETECTION_HALF_ORIENTATION: ModelOutputType
90
+ TYPE_OBJECT_DETECTION_FULL_ORIENTATION: ModelOutputType
81
91
 
82
92
  class RegionFromEdge(_message.Message):
83
93
  __slots__ = ("left", "right", "top", "bottom")
@@ -104,7 +114,7 @@ class FeatureClass(_message.Message):
104
114
  def __init__(self, feature_uid: _Optional[str] = ..., feature_name: _Optional[str] = ..., color: _Optional[_Iterable[int]] = ..., feature_tag: _Optional[str] = ...) -> None: ...
105
115
 
106
116
  class InputField(_message.Message):
107
- __slots__ = ("label", "datatype", "image_w", "image_h", "image_c", "region_of_interest", "training_image_w", "training_image_h", "training_image_c")
117
+ __slots__ = ("label", "datatype", "image_w", "image_h", "image_c", "region_of_interest", "training_image_w", "training_image_h", "training_image_c", "moving_window")
108
118
  LABEL_FIELD_NUMBER: _ClassVar[int]
109
119
  DATATYPE_FIELD_NUMBER: _ClassVar[int]
110
120
  IMAGE_W_FIELD_NUMBER: _ClassVar[int]
@@ -114,6 +124,7 @@ class InputField(_message.Message):
114
124
  TRAINING_IMAGE_W_FIELD_NUMBER: _ClassVar[int]
115
125
  TRAINING_IMAGE_H_FIELD_NUMBER: _ClassVar[int]
116
126
  TRAINING_IMAGE_C_FIELD_NUMBER: _ClassVar[int]
127
+ MOVING_WINDOW_FIELD_NUMBER: _ClassVar[int]
117
128
  label: str
118
129
  datatype: DataType
119
130
  image_w: int
@@ -123,10 +134,19 @@ class InputField(_message.Message):
123
134
  training_image_w: int
124
135
  training_image_h: int
125
136
  training_image_c: int
126
- def __init__(self, label: _Optional[str] = ..., datatype: _Optional[_Union[DataType, str]] = ..., image_w: _Optional[int] = ..., image_h: _Optional[int] = ..., image_c: _Optional[int] = ..., region_of_interest: _Optional[_Iterable[_Union[RegionFromEdge, _Mapping]]] = ..., training_image_w: _Optional[int] = ..., training_image_h: _Optional[int] = ..., training_image_c: _Optional[int] = ...) -> None: ...
137
+ moving_window: bool
138
+ def __init__(self, label: _Optional[str] = ..., datatype: _Optional[_Union[DataType, str]] = ..., image_w: _Optional[int] = ..., image_h: _Optional[int] = ..., image_c: _Optional[int] = ..., region_of_interest: _Optional[_Iterable[_Union[RegionFromEdge, _Mapping]]] = ..., training_image_w: _Optional[int] = ..., training_image_h: _Optional[int] = ..., training_image_c: _Optional[int] = ..., moving_window: bool = ...) -> None: ...
139
+
140
+ class OcrFormatRestrictionBlock(_message.Message):
141
+ __slots__ = ("number_of_characters", "allowed_characters")
142
+ NUMBER_OF_CHARACTERS_FIELD_NUMBER: _ClassVar[int]
143
+ ALLOWED_CHARACTERS_FIELD_NUMBER: _ClassVar[int]
144
+ number_of_characters: int
145
+ allowed_characters: bytes
146
+ def __init__(self, number_of_characters: _Optional[int] = ..., allowed_characters: _Optional[bytes] = ...) -> None: ...
127
147
 
128
148
  class OutputField(_message.Message):
129
- __slots__ = ("label", "datatype", "color", "image_w", "image_h", "image_c", "classes", "max_queries", "charset", "charset_filter")
149
+ __slots__ = ("label", "datatype", "color", "image_w", "image_h", "image_c", "classes", "max_queries", "charset", "charset_filter", "ocr_format_restrictions")
130
150
  LABEL_FIELD_NUMBER: _ClassVar[int]
131
151
  DATATYPE_FIELD_NUMBER: _ClassVar[int]
132
152
  COLOR_FIELD_NUMBER: _ClassVar[int]
@@ -137,6 +157,7 @@ class OutputField(_message.Message):
137
157
  MAX_QUERIES_FIELD_NUMBER: _ClassVar[int]
138
158
  CHARSET_FIELD_NUMBER: _ClassVar[int]
139
159
  CHARSET_FILTER_FIELD_NUMBER: _ClassVar[int]
160
+ OCR_FORMAT_RESTRICTIONS_FIELD_NUMBER: _ClassVar[int]
140
161
  label: str
141
162
  datatype: DataType
142
163
  color: _containers.RepeatedScalarFieldContainer[int]
@@ -147,7 +168,8 @@ class OutputField(_message.Message):
147
168
  max_queries: int
148
169
  charset: bytes
149
170
  charset_filter: bytes
150
- def __init__(self, label: _Optional[str] = ..., datatype: _Optional[_Union[DataType, str]] = ..., color: _Optional[_Iterable[int]] = ..., image_w: _Optional[int] = ..., image_h: _Optional[int] = ..., image_c: _Optional[int] = ..., classes: _Optional[_Iterable[_Union[FeatureClass, _Mapping]]] = ..., max_queries: _Optional[int] = ..., charset: _Optional[bytes] = ..., charset_filter: _Optional[bytes] = ...) -> None: ...
171
+ ocr_format_restrictions: _containers.RepeatedCompositeFieldContainer[OcrFormatRestrictionBlock]
172
+ def __init__(self, label: _Optional[str] = ..., datatype: _Optional[_Union[DataType, str]] = ..., color: _Optional[_Iterable[int]] = ..., image_w: _Optional[int] = ..., image_h: _Optional[int] = ..., image_c: _Optional[int] = ..., classes: _Optional[_Iterable[_Union[FeatureClass, _Mapping]]] = ..., max_queries: _Optional[int] = ..., charset: _Optional[bytes] = ..., charset_filter: _Optional[bytes] = ..., ocr_format_restrictions: _Optional[_Iterable[_Union[OcrFormatRestrictionBlock, _Mapping]]] = ...) -> None: ...
151
173
 
152
174
  class ModelFile(_message.Message):
153
175
  __slots__ = ("protocol_version", "model", "compression_method", "model_hash_blake2b", "input", "output", "tenant", "model_label", "model_tag", "model_id", "creation_timestamp", "tenant_id", "onnx_version_major", "onnx_version_minor", "model_uid", "model_timestamp", "model_type", "model_output_type", "file_type", "key")