denkproto 1.0.30__py3-none-any.whl → 1.0.40__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.
- denkproto/ImageAnalysis_ProtobufMessages_pb2.py +101 -95
- denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi +32 -6
- denkproto/__about__.py +1 -1
- denkproto/denkcache_pb2.py +27 -19
- denkproto/denkcache_pb2.pyi +28 -2
- denkproto/denkcache_pb2_grpc.py +86 -0
- denkproto/inference_graph_pb2.py +68 -0
- denkproto/inference_graph_pb2.pyi +196 -0
- denkproto/inference_graph_pb2_grpc.py +24 -0
- denkproto/modelfile_v2_pb2.py +11 -11
- denkproto/modelfile_v2_pb2.pyi +4 -2
- denkproto/results_pb2.py +45 -41
- denkproto/results_pb2.pyi +20 -2
- {denkproto-1.0.30.dist-info → denkproto-1.0.40.dist-info}/METADATA +1 -1
- denkproto-1.0.40.dist-info/RECORD +27 -0
- denkproto-1.0.30.dist-info/RECORD +0 -24
- {denkproto-1.0.30.dist-info → denkproto-1.0.40.dist-info}/WHEEL +0 -0
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
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')
|
|
27
|
+
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\"\xd1\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\"\xef\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\x16OPENDIRECTORYINBROWSER\x10\xec\x07\x12\x16\n\x11OPENTASKINBROWSER\x10\xed\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\"\xbd\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\x1a|\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\x12\x11\n\ttask_name\x18\x04 \x01(\t\"\x85\x15\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(\n\x10pb_DENK_PointInt\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x1aW\n\x0fpb_DENK_Contour\x12\x44\n\x06points\x18\x01 \x03(\x0b\x32\x34.image_analysis.pb_Body_ImageResult.pb_DENK_PointInt\x1a\xc0\t\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\xea\x07\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\x12\x19\n\x11segmentation_mask\x18l \x01(\x0c\x12R\n\x15segmentation_contours\x18m \x03(\x0b\x32\x33.image_analysis.pb_Body_ImageResult.pb_DENK_Contour\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\".\n\x19pb_Body_OpenTaskInBrowser\x12\x11\n\ttask_name\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')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,102 +32,108 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ImageAnalysis_ProtobufMessa
|
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'Z\033denkproto-go/image-analysis\252\002\rDENK.Proto.IA'
|
|
35
|
-
_globals['_DATATYPEENUM']._serialized_start=
|
|
36
|
-
_globals['_DATATYPEENUM']._serialized_end=
|
|
35
|
+
_globals['_DATATYPEENUM']._serialized_start=7685
|
|
36
|
+
_globals['_DATATYPEENUM']._serialized_end=7760
|
|
37
37
|
_globals['_PB_PROTOCOLVERSIONDETECTION']._serialized_start=56
|
|
38
38
|
_globals['_PB_PROTOCOLVERSIONDETECTION']._serialized_end=157
|
|
39
39
|
_globals['_PB_MESSAGEHEADER']._serialized_start=160
|
|
40
|
-
_globals['_PB_MESSAGEHEADER']._serialized_end=
|
|
40
|
+
_globals['_PB_MESSAGEHEADER']._serialized_end=881
|
|
41
41
|
_globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_start=514
|
|
42
|
-
_globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_end=
|
|
43
|
-
_globals['_PB_BODY_INIT']._serialized_start=
|
|
44
|
-
_globals['_PB_BODY_INIT']._serialized_end=
|
|
45
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_start=
|
|
46
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_end=
|
|
47
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_start=
|
|
48
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_end=
|
|
49
|
-
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_start=
|
|
50
|
-
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_end=
|
|
51
|
-
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_start=
|
|
52
|
-
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_end=
|
|
53
|
-
_globals['_PB_BODY_GETPRESETINFO']._serialized_start=
|
|
54
|
-
_globals['_PB_BODY_GETPRESETINFO']._serialized_end=
|
|
55
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_start=
|
|
56
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_end=
|
|
57
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_start=
|
|
58
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_end=
|
|
59
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_start=
|
|
60
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_end=
|
|
61
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_start=
|
|
62
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_end=
|
|
63
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_start=
|
|
64
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_end=
|
|
65
|
-
_globals['_PB_CONFIGPARAM']._serialized_start=
|
|
66
|
-
_globals['_PB_CONFIGPARAM']._serialized_end=
|
|
67
|
-
_globals['_PB_BODY_SETCONFIG']._serialized_start=
|
|
68
|
-
_globals['_PB_BODY_SETCONFIG']._serialized_end=
|
|
69
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_start=
|
|
70
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_end=
|
|
71
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_start=
|
|
72
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_end=
|
|
73
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_start=
|
|
74
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_end=
|
|
75
|
-
_globals['_PB_BODY_REMOVECONFIG']._serialized_start=
|
|
76
|
-
_globals['_PB_BODY_REMOVECONFIG']._serialized_end=
|
|
77
|
-
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_start=
|
|
78
|
-
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_end=
|
|
79
|
-
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_start=
|
|
80
|
-
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_end=
|
|
81
|
-
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_start=
|
|
82
|
-
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_end=
|
|
83
|
-
_globals['_PB_IMAGEDATA']._serialized_start=
|
|
84
|
-
_globals['_PB_IMAGEDATA']._serialized_end=
|
|
85
|
-
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_start=
|
|
86
|
-
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_end=
|
|
87
|
-
_globals['_PB_MULTIIMAGES']._serialized_start=
|
|
88
|
-
_globals['_PB_MULTIIMAGES']._serialized_end=
|
|
89
|
-
_globals['_PB_ADDITIONALDATA']._serialized_start=
|
|
90
|
-
_globals['_PB_ADDITIONALDATA']._serialized_end=
|
|
91
|
-
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_start=
|
|
92
|
-
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_end=
|
|
93
|
-
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_start=
|
|
94
|
-
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_end=
|
|
95
|
-
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_start=
|
|
96
|
-
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_end=
|
|
97
|
-
_globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_start=
|
|
98
|
-
_globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_end=
|
|
99
|
-
_globals['_PB_BODY_IMAGERESULT']._serialized_start=
|
|
100
|
-
_globals['_PB_BODY_IMAGERESULT']._serialized_end=
|
|
101
|
-
_globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_start=
|
|
102
|
-
_globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_end=
|
|
103
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_start=
|
|
104
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_end=
|
|
105
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_start=
|
|
106
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_end=
|
|
107
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_start=
|
|
108
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_end=
|
|
109
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_start=
|
|
110
|
-
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_end=
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
123
|
-
_globals['
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
130
|
-
_globals['
|
|
131
|
-
_globals['
|
|
132
|
-
_globals['
|
|
42
|
+
_globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_end=881
|
|
43
|
+
_globals['_PB_BODY_INIT']._serialized_start=883
|
|
44
|
+
_globals['_PB_BODY_INIT']._serialized_end=921
|
|
45
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_start=924
|
|
46
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_end=1206
|
|
47
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_start=1126
|
|
48
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_end=1206
|
|
49
|
+
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_start=1208
|
|
50
|
+
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_end=1284
|
|
51
|
+
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_start=1286
|
|
52
|
+
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_end=1341
|
|
53
|
+
_globals['_PB_BODY_GETPRESETINFO']._serialized_start=1343
|
|
54
|
+
_globals['_PB_BODY_GETPRESETINFO']._serialized_end=1387
|
|
55
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_start=1390
|
|
56
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_end=2107
|
|
57
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_start=1507
|
|
58
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_end=1552
|
|
59
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_start=1555
|
|
60
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_end=1750
|
|
61
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_start=1753
|
|
62
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_end=2034
|
|
63
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_start=2036
|
|
64
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_end=2107
|
|
65
|
+
_globals['_PB_CONFIGPARAM']._serialized_start=2110
|
|
66
|
+
_globals['_PB_CONFIGPARAM']._serialized_end=2274
|
|
67
|
+
_globals['_PB_BODY_SETCONFIG']._serialized_start=2277
|
|
68
|
+
_globals['_PB_BODY_SETCONFIG']._serialized_end=2868
|
|
69
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_start=2465
|
|
70
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_end=2868
|
|
71
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_start=2722
|
|
72
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_end=2802
|
|
73
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_start=2804
|
|
74
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_end=2868
|
|
75
|
+
_globals['_PB_BODY_REMOVECONFIG']._serialized_start=2870
|
|
76
|
+
_globals['_PB_BODY_REMOVECONFIG']._serialized_end=2916
|
|
77
|
+
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_start=2918
|
|
78
|
+
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_end=2992
|
|
79
|
+
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_start=2994
|
|
80
|
+
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_end=3107
|
|
81
|
+
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_start=3109
|
|
82
|
+
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_end=3213
|
|
83
|
+
_globals['_PB_IMAGEDATA']._serialized_start=3216
|
|
84
|
+
_globals['_PB_IMAGEDATA']._serialized_end=3484
|
|
85
|
+
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_start=3388
|
|
86
|
+
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_end=3484
|
|
87
|
+
_globals['_PB_MULTIIMAGES']._serialized_start=3486
|
|
88
|
+
_globals['_PB_MULTIIMAGES']._serialized_end=3561
|
|
89
|
+
_globals['_PB_ADDITIONALDATA']._serialized_start=3564
|
|
90
|
+
_globals['_PB_ADDITIONALDATA']._serialized_end=3840
|
|
91
|
+
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_start=3733
|
|
92
|
+
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_end=3793
|
|
93
|
+
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_start=3795
|
|
94
|
+
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_end=3840
|
|
95
|
+
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_start=3843
|
|
96
|
+
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_end=4288
|
|
97
|
+
_globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_start=4164
|
|
98
|
+
_globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_end=4288
|
|
99
|
+
_globals['_PB_BODY_IMAGERESULT']._serialized_start=4291
|
|
100
|
+
_globals['_PB_BODY_IMAGERESULT']._serialized_end=6984
|
|
101
|
+
_globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_start=4751
|
|
102
|
+
_globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_end=4821
|
|
103
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_start=4823
|
|
104
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_end=4860
|
|
105
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_start=4862
|
|
106
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_end=4972
|
|
107
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_start=4974
|
|
108
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_end=5036
|
|
109
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_start=5038
|
|
110
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_end=5149
|
|
111
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINTINT']._serialized_start=5151
|
|
112
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINTINT']._serialized_end=5191
|
|
113
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_CONTOUR']._serialized_start=5193
|
|
114
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_CONTOUR']._serialized_end=5280
|
|
115
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_start=5283
|
|
116
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_end=6499
|
|
117
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_start=5497
|
|
118
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_end=6499
|
|
119
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_start=6502
|
|
120
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_end=6984
|
|
121
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_start=6868
|
|
122
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_end=6984
|
|
123
|
+
_globals['_PB_BODY_INFOMESSAGE']._serialized_start=6987
|
|
124
|
+
_globals['_PB_BODY_INFOMESSAGE']._serialized_end=7215
|
|
125
|
+
_globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_start=7123
|
|
126
|
+
_globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_end=7215
|
|
127
|
+
_globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_start=7218
|
|
128
|
+
_globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_end=7367
|
|
129
|
+
_globals['_PB_BODY_SETCONFIGFILE']._serialized_start=7369
|
|
130
|
+
_globals['_PB_BODY_SETCONFIGFILE']._serialized_end=7446
|
|
131
|
+
_globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_start=7448
|
|
132
|
+
_globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_end=7529
|
|
133
|
+
_globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_start=7531
|
|
134
|
+
_globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_end=7587
|
|
135
|
+
_globals['_PB_BODY_OPENDIRECTORYINBROWSER']._serialized_start=7589
|
|
136
|
+
_globals['_PB_BODY_OPENDIRECTORYINBROWSER']._serialized_end=7635
|
|
137
|
+
_globals['_PB_BODY_OPENTASKINBROWSER']._serialized_start=7637
|
|
138
|
+
_globals['_PB_BODY_OPENTASKINBROWSER']._serialized_end=7683
|
|
133
139
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -46,7 +46,8 @@ 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
|
-
|
|
49
|
+
OPENDIRECTORYINBROWSER: _ClassVar[pb_MessageHeader.MessageType]
|
|
50
|
+
OPENTASKINBROWSER: _ClassVar[pb_MessageHeader.MessageType]
|
|
50
51
|
UNDEFINED: pb_MessageHeader.MessageType
|
|
51
52
|
GETSTATUS: pb_MessageHeader.MessageType
|
|
52
53
|
GETVERSION: pb_MessageHeader.MessageType
|
|
@@ -64,7 +65,8 @@ class pb_MessageHeader(_message.Message):
|
|
|
64
65
|
SETCONFIGFILE: pb_MessageHeader.MessageType
|
|
65
66
|
MODIFYCONFIGFILE: pb_MessageHeader.MessageType
|
|
66
67
|
GETSTATISTICS: pb_MessageHeader.MessageType
|
|
67
|
-
|
|
68
|
+
OPENDIRECTORYINBROWSER: pb_MessageHeader.MessageType
|
|
69
|
+
OPENTASKINBROWSER: pb_MessageHeader.MessageType
|
|
68
70
|
MESSAGE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
69
71
|
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
70
72
|
MESSAGE_COUNTER_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -329,14 +331,16 @@ class pb_AdditionalData(_message.Message):
|
|
|
329
331
|
class pb_Body_AnalyzeImage(_message.Message):
|
|
330
332
|
__slots__ = ("serial_number_image", "configset_name", "image", "additional_data", "multi_images", "upload_options")
|
|
331
333
|
class pb_DENK_UploadSettings(_message.Message):
|
|
332
|
-
__slots__ = ("upload_path", "upload_annotations", "compression_option")
|
|
334
|
+
__slots__ = ("upload_path", "upload_annotations", "compression_option", "task_name")
|
|
333
335
|
UPLOAD_PATH_FIELD_NUMBER: _ClassVar[int]
|
|
334
336
|
UPLOAD_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
335
337
|
COMPRESSION_OPTION_FIELD_NUMBER: _ClassVar[int]
|
|
338
|
+
TASK_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
336
339
|
upload_path: str
|
|
337
340
|
upload_annotations: bool
|
|
338
341
|
compression_option: int
|
|
339
|
-
|
|
342
|
+
task_name: str
|
|
343
|
+
def __init__(self, upload_path: _Optional[str] = ..., upload_annotations: bool = ..., compression_option: _Optional[int] = ..., task_name: _Optional[str] = ...) -> None: ...
|
|
340
344
|
SERIAL_NUMBER_IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
341
345
|
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
342
346
|
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -396,10 +400,22 @@ class pb_Body_ImageResult(_message.Message):
|
|
|
396
400
|
OCR_CHARACTER_FIELD_NUMBER: _ClassVar[int]
|
|
397
401
|
ocr_character: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_OcrCharacter]
|
|
398
402
|
def __init__(self, ocr_character: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_OcrCharacter, _Mapping]]] = ...) -> None: ...
|
|
403
|
+
class pb_DENK_PointInt(_message.Message):
|
|
404
|
+
__slots__ = ("x", "y")
|
|
405
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
406
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
407
|
+
x: int
|
|
408
|
+
y: int
|
|
409
|
+
def __init__(self, x: _Optional[int] = ..., y: _Optional[int] = ...) -> None: ...
|
|
410
|
+
class pb_DENK_Contour(_message.Message):
|
|
411
|
+
__slots__ = ("points",)
|
|
412
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
413
|
+
points: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_PointInt]
|
|
414
|
+
def __init__(self, points: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_PointInt, _Mapping]]] = ...) -> None: ...
|
|
399
415
|
class pb_Feature(_message.Message):
|
|
400
416
|
__slots__ = ("feature_type_name", "feature_infos", "multi_image_names", "section", "filtered_out", "classifier")
|
|
401
417
|
class pb_FeatureInfo(_message.Message):
|
|
402
|
-
__slots__ = ("outline_rect_px", "probability", "length", "area", "angle", "number", "average", "maximum", "minimum", "area_edge", "area_length", "avggrayvalue", "maxgrayvalue", "mingrayvalue", "id", "related_ids", "width", "outline_rect_mm", "uid", "related_uids", "minimal_bounding_box", "minimal_bounding_box_point", "ocr_text", "ocr_character_position")
|
|
418
|
+
__slots__ = ("outline_rect_px", "probability", "length", "area", "angle", "number", "average", "maximum", "minimum", "area_edge", "area_length", "avggrayvalue", "maxgrayvalue", "mingrayvalue", "id", "related_ids", "width", "outline_rect_mm", "uid", "related_uids", "minimal_bounding_box", "minimal_bounding_box_point", "ocr_text", "ocr_character_position", "segmentation_mask", "segmentation_contours")
|
|
403
419
|
OUTLINE_RECT_PX_FIELD_NUMBER: _ClassVar[int]
|
|
404
420
|
PROBABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
405
421
|
LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -424,6 +440,8 @@ class pb_Body_ImageResult(_message.Message):
|
|
|
424
440
|
MINIMAL_BOUNDING_BOX_POINT_FIELD_NUMBER: _ClassVar[int]
|
|
425
441
|
OCR_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
426
442
|
OCR_CHARACTER_POSITION_FIELD_NUMBER: _ClassVar[int]
|
|
443
|
+
SEGMENTATION_MASK_FIELD_NUMBER: _ClassVar[int]
|
|
444
|
+
SEGMENTATION_CONTOURS_FIELD_NUMBER: _ClassVar[int]
|
|
427
445
|
outline_rect_px: pb_Body_ImageResult.pb_Rect
|
|
428
446
|
probability: float
|
|
429
447
|
length: float
|
|
@@ -448,7 +466,9 @@ class pb_Body_ImageResult(_message.Message):
|
|
|
448
466
|
minimal_bounding_box_point: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_Point]
|
|
449
467
|
ocr_text: str
|
|
450
468
|
ocr_character_position: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_OcrCharacterPosition]
|
|
451
|
-
|
|
469
|
+
segmentation_mask: bytes
|
|
470
|
+
segmentation_contours: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_Contour]
|
|
471
|
+
def __init__(self, outline_rect_px: _Optional[_Union[pb_Body_ImageResult.pb_Rect, _Mapping]] = ..., probability: _Optional[float] = ..., length: _Optional[float] = ..., area: _Optional[float] = ..., angle: _Optional[float] = ..., number: _Optional[float] = ..., average: _Optional[float] = ..., maximum: _Optional[float] = ..., minimum: _Optional[float] = ..., area_edge: _Optional[float] = ..., area_length: _Optional[float] = ..., avggrayvalue: _Optional[float] = ..., maxgrayvalue: _Optional[float] = ..., mingrayvalue: _Optional[float] = ..., id: _Optional[int] = ..., related_ids: _Optional[_Iterable[int]] = ..., width: _Optional[float] = ..., outline_rect_mm: _Optional[_Union[pb_Body_ImageResult.pb_Rect, _Mapping]] = ..., uid: _Optional[str] = ..., related_uids: _Optional[_Iterable[str]] = ..., minimal_bounding_box: _Optional[_Union[pb_Body_ImageResult.pb_DENK_MinimalBoundingBox, _Mapping]] = ..., minimal_bounding_box_point: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_Point, _Mapping]]] = ..., ocr_text: _Optional[str] = ..., ocr_character_position: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_OcrCharacterPosition, _Mapping]]] = ..., segmentation_mask: _Optional[bytes] = ..., segmentation_contours: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_Contour, _Mapping]]] = ...) -> None: ...
|
|
452
472
|
FEATURE_TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
453
473
|
FEATURE_INFOS_FIELD_NUMBER: _ClassVar[int]
|
|
454
474
|
MULTI_IMAGE_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -570,3 +590,9 @@ class pb_Body_OpenDirectoryInBrowser(_message.Message):
|
|
|
570
590
|
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
571
591
|
path: str
|
|
572
592
|
def __init__(self, path: _Optional[str] = ...) -> None: ...
|
|
593
|
+
|
|
594
|
+
class pb_Body_OpenTaskInBrowser(_message.Message):
|
|
595
|
+
__slots__ = ("task_name",)
|
|
596
|
+
TASK_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
597
|
+
task_name: str
|
|
598
|
+
def __init__(self, task_name: _Optional[str] = ...) -> None: ...
|
denkproto/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.40"
|
denkproto/denkcache_pb2.py
CHANGED
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x65nkcache.proto\x12\tdenkcache\"@\n\x13ObjectExistsRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"&\n\x14ObjectExistsResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"h\n\x13ObjectSourceMessage\x12\'\n\x06source\x18\x01 \x01(\x0e\x32\x17.denkcache.ObjectSource\x12\x18\n\x0bsource_info\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_source_info\"=\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"S\n\x11GetObjectResponse\x12\x0e\n\x06object\x18\x01 \x01(\x0c\x12.\n\x06source\x18\x02 \x01(\x0b\x32\x1e.denkcache.ObjectSourceMessage\"\x99\x01\n\x12\x43\x61\x63heObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x0e\n\x06object\x18\x03 \x01(\x0c\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x04 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"\x15\n\x13\x43\x61\x63heObjectResponse\"
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x65nkcache.proto\x12\tdenkcache\"@\n\x13ObjectExistsRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"&\n\x14ObjectExistsResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"h\n\x13ObjectSourceMessage\x12\'\n\x06source\x18\x01 \x01(\x0e\x32\x17.denkcache.ObjectSource\x12\x18\n\x0bsource_info\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_source_info\"=\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"S\n\x11GetObjectResponse\x12\x0e\n\x06object\x18\x01 \x01(\x0c\x12.\n\x06source\x18\x02 \x01(\x0b\x32\x1e.denkcache.ObjectSourceMessage\"\x99\x01\n\x12\x43\x61\x63heObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x0e\n\x06object\x18\x03 \x01(\x0c\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x04 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"\x15\n\x13\x43\x61\x63heObjectResponse\"\x8d\x01\n\x16GetCachedObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x03 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"9\n\x17GetCachedObjectResponse\x12\x13\n\x06object\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_object\"C\n\x16HasObjectCachedRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\")\n\x17HasObjectCachedResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"\x11\n\x0fPingPongRequest\"\x12\n\x10PingPongResponse\"=\n\x15\x43hangeSettingsRequest\x12\x16\n\tlog_level\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_log_level\"\x18\n\x16\x43hangeSettingsResponse\"D\n\x17InvalidateObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"+\n\x18InvalidateObjectResponse\x12\x0f\n\x07\x65xisted\x18\x01 \x01(\x08*v\n\x0cObjectSource\x12\x18\n\x14OBJECT_SOURCE_MEMORY\x10\x00\x12\x16\n\x12OBJECT_SOURCE_DISK\x10\x01\x12\x1b\n\x17OBJECT_SOURCE_DENKCACHE\x10\x02\x12\x17\n\x13OBJECT_SOURCE_AZURE\x10\x03*H\n\x11\x43\x61\x63heObjectPolicy\x12\x0f\n\x0bMEMORY_ONLY\x10\x00\x12\r\n\tDISK_ONLY\x10\x01\x12\x13\n\x0fMEMORY_AND_DISK\x10\x02\x32\x9f\x05\n\tDENKcache\x12U\n\x0e\x43hangeSettings\x12 .denkcache.ChangeSettingsRequest\x1a!.denkcache.ChangeSettingsResponse\x12\x43\n\x08PingPong\x12\x1a.denkcache.PingPongRequest\x1a\x1b.denkcache.PingPongResponse\x12[\n\x10InvalidateObject\x12\".denkcache.InvalidateObjectRequest\x1a#.denkcache.InvalidateObjectResponse\x12X\n\x0fHasObjectCached\x12!.denkcache.HasObjectCachedRequest\x1a\".denkcache.HasObjectCachedResponse\x12O\n\x0cObjectExists\x12\x1e.denkcache.ObjectExistsRequest\x1a\x1f.denkcache.ObjectExistsResponse\x12\x46\n\tGetObject\x12\x1b.denkcache.GetObjectRequest\x1a\x1c.denkcache.GetObjectResponse\x12L\n\x0b\x43\x61\x63heObject\x12\x1d.denkcache.CacheObjectRequest\x1a\x1e.denkcache.CacheObjectResponse\x12X\n\x0fGetCachedObject\x12!.denkcache.GetCachedObjectRequest\x1a\".denkcache.GetCachedObjectResponseB/Z\x16\x64\x65nkproto-go/denkcache\xaa\x02\x14\x44\x45NK.Proto.DENKcacheb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,10 +32,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'denkcache_pb2', _globals)
|
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'Z\026denkproto-go/denkcache\252\002\024DENK.Proto.DENKcache'
|
|
35
|
-
_globals['_OBJECTSOURCE']._serialized_start=
|
|
36
|
-
_globals['_OBJECTSOURCE']._serialized_end=
|
|
37
|
-
_globals['_CACHEOBJECTPOLICY']._serialized_start=
|
|
38
|
-
_globals['_CACHEOBJECTPOLICY']._serialized_end=
|
|
35
|
+
_globals['_OBJECTSOURCE']._serialized_start=1127
|
|
36
|
+
_globals['_OBJECTSOURCE']._serialized_end=1245
|
|
37
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_start=1247
|
|
38
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_end=1319
|
|
39
39
|
_globals['_OBJECTEXISTSREQUEST']._serialized_start=30
|
|
40
40
|
_globals['_OBJECTEXISTSREQUEST']._serialized_end=94
|
|
41
41
|
_globals['_OBJECTEXISTSRESPONSE']._serialized_start=96
|
|
@@ -50,18 +50,26 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
50
50
|
_globals['_CACHEOBJECTREQUEST']._serialized_end=544
|
|
51
51
|
_globals['_CACHEOBJECTRESPONSE']._serialized_start=546
|
|
52
52
|
_globals['_CACHEOBJECTRESPONSE']._serialized_end=567
|
|
53
|
-
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=
|
|
54
|
-
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=
|
|
55
|
-
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=
|
|
56
|
-
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=
|
|
57
|
-
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=
|
|
58
|
-
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=
|
|
59
|
-
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=
|
|
60
|
-
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=
|
|
61
|
-
_globals['_PINGPONGREQUEST']._serialized_start=
|
|
62
|
-
_globals['_PINGPONGREQUEST']._serialized_end=
|
|
63
|
-
_globals['_PINGPONGRESPONSE']._serialized_start=
|
|
64
|
-
_globals['_PINGPONGRESPONSE']._serialized_end=
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
53
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=570
|
|
54
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=711
|
|
55
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=713
|
|
56
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=770
|
|
57
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=772
|
|
58
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=839
|
|
59
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=841
|
|
60
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=882
|
|
61
|
+
_globals['_PINGPONGREQUEST']._serialized_start=884
|
|
62
|
+
_globals['_PINGPONGREQUEST']._serialized_end=901
|
|
63
|
+
_globals['_PINGPONGRESPONSE']._serialized_start=903
|
|
64
|
+
_globals['_PINGPONGRESPONSE']._serialized_end=921
|
|
65
|
+
_globals['_CHANGESETTINGSREQUEST']._serialized_start=923
|
|
66
|
+
_globals['_CHANGESETTINGSREQUEST']._serialized_end=984
|
|
67
|
+
_globals['_CHANGESETTINGSRESPONSE']._serialized_start=986
|
|
68
|
+
_globals['_CHANGESETTINGSRESPONSE']._serialized_end=1010
|
|
69
|
+
_globals['_INVALIDATEOBJECTREQUEST']._serialized_start=1012
|
|
70
|
+
_globals['_INVALIDATEOBJECTREQUEST']._serialized_end=1080
|
|
71
|
+
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_start=1082
|
|
72
|
+
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_end=1125
|
|
73
|
+
_globals['_DENKCACHE']._serialized_start=1322
|
|
74
|
+
_globals['_DENKCACHE']._serialized_end=1993
|
|
67
75
|
# @@protoc_insertion_point(module_scope)
|
denkproto/denkcache_pb2.pyi
CHANGED
|
@@ -80,12 +80,14 @@ class CacheObjectResponse(_message.Message):
|
|
|
80
80
|
def __init__(self) -> None: ...
|
|
81
81
|
|
|
82
82
|
class GetCachedObjectRequest(_message.Message):
|
|
83
|
-
__slots__ = ("container_name", "blob_name")
|
|
83
|
+
__slots__ = ("container_name", "blob_name", "cache_policy")
|
|
84
84
|
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
85
85
|
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
CACHE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
86
87
|
container_name: str
|
|
87
88
|
blob_name: str
|
|
88
|
-
|
|
89
|
+
cache_policy: CacheObjectPolicy
|
|
90
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., cache_policy: _Optional[_Union[CacheObjectPolicy, str]] = ...) -> None: ...
|
|
89
91
|
|
|
90
92
|
class GetCachedObjectResponse(_message.Message):
|
|
91
93
|
__slots__ = ("object",)
|
|
@@ -114,3 +116,27 @@ class PingPongRequest(_message.Message):
|
|
|
114
116
|
class PingPongResponse(_message.Message):
|
|
115
117
|
__slots__ = ()
|
|
116
118
|
def __init__(self) -> None: ...
|
|
119
|
+
|
|
120
|
+
class ChangeSettingsRequest(_message.Message):
|
|
121
|
+
__slots__ = ("log_level",)
|
|
122
|
+
LOG_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
log_level: str
|
|
124
|
+
def __init__(self, log_level: _Optional[str] = ...) -> None: ...
|
|
125
|
+
|
|
126
|
+
class ChangeSettingsResponse(_message.Message):
|
|
127
|
+
__slots__ = ()
|
|
128
|
+
def __init__(self) -> None: ...
|
|
129
|
+
|
|
130
|
+
class InvalidateObjectRequest(_message.Message):
|
|
131
|
+
__slots__ = ("container_name", "blob_name")
|
|
132
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
container_name: str
|
|
135
|
+
blob_name: str
|
|
136
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
137
|
+
|
|
138
|
+
class InvalidateObjectResponse(_message.Message):
|
|
139
|
+
__slots__ = ("existed",)
|
|
140
|
+
EXISTED_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
existed: bool
|
|
142
|
+
def __init__(self, existed: bool = ...) -> None: ...
|