denkproto 1.0.14rc0__py3-none-any.whl → 1.0.22__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,12 +1,22 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
3
4
  # source: modelfile-v2.proto
4
- # Protobuf Python Version: 4.25.3
5
+ # Protobuf Python Version: 5.28.1
5
6
  """Generated protocol buffer code."""
6
7
  from google.protobuf import descriptor as _descriptor
7
8
  from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
8
10
  from google.protobuf import symbol_database as _symbol_database
9
11
  from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 28,
16
+ 1,
17
+ '',
18
+ 'modelfile-v2.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -14,66 +24,70 @@ _sym_db = _symbol_database.Default()
14
24
 
15
25
 
16
26
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12modelfile-v2.proto\x12\x0cmodelfile.v2\"\xd1 \n\tModelFile\x12\x39\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Version\x12\x12\n\ncreated_at\x18\x02 \x01(\x03\x12\x33\n\tfile_info\x18\x03 \x01(\x0b\x32 .modelfile.v2.ModelFile.FileInfo\x12\x30\n\x07\x63ontent\x18\x04 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Content\x12\x38\n\x0c\x63lass_labels\x18\x05 \x03(\x0b\x32\".modelfile.v2.ModelFile.ClassLabel\x12-\n\x06inputs\x18\x06 \x03(\x0b\x32\x1d.modelfile.v2.ModelFile.Input\x12/\n\x07outputs\x18\x07 \x03(\x0b\x32\x1e.modelfile.v2.ModelFile.Output\x1a\x36\n\x07Version\x12\r\n\x05major\x18\x01 \x01(\r\x12\r\n\x05minor\x18\x02 \x01(\r\x12\r\n\x05patch\x18\x03 \x01(\r\x1a\xaa\x04\n\x07\x43ontent\x12\x14\n\x0c\x62yte_content\x18\x01 \x01(\x0c\x12\x13\n\x0bhash_sha256\x18\x02 \x01(\x0c\x12M\n\x12\x63ompression_method\x18\x03 \x01(\x0e\x32\x31.modelfile.v2.ModelFile.Content.CompressionMethod\x12K\n\x11\x65ncryption_method\x18\x04 \x01(\x0e\x32\x30.modelfile.v2.ModelFile.Content.EncryptionMethod\x12@\n\tkey_slots\x18\x05 \x03(\x0b\x32-.modelfile.v2.ModelFile.Content.KeySlotsEntry\x1ai\n\x07KeySlot\x12\x13\n\x0bwrapped_key\x18\x01 \x01(\x0c\x12I\n\x0fwrapping_method\x18\x02 \x01(\x0e\x32\x30.modelfile.v2.ModelFile.Content.EncryptionMethod\x1aX\n\rKeySlotsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.modelfile.v2.ModelFile.Content.KeySlot:\x02\x38\x01\" \n\x11\x43ompressionMethod\x12\x0b\n\x07\x43M_NONE\x10\x00\"/\n\x10\x45ncryptionMethod\x12\x0b\n\x07\x45M_NONE\x10\x00\x12\x0e\n\nEM_AES_GCM\x10\x01\x1aU\n\nClassLabel\x12\x16\n\x0e\x63lass_label_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nshort_name\x18\x03 \x01(\t\x12\r\n\x05\x63olor\x18\x04 \x01(\t\x1a<\n\tImageSize\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\x12\x10\n\x08\x63hannels\x18\x03 \x01(\r\x1aJ\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\x1a\xe2\x05\n\x05Input\x12\x46\n\x0cimage_format\x18\x01 \x01(\x0b\x32..modelfile.v2.ModelFile.Input.ImageInputFormatH\x00\x1a\xfb\x04\n\x10ImageInputFormat\x12\x64\n\x10\x65xact_image_size\x18\x01 \x01(\x0b\x32H.modelfile.v2.ModelFile.Input.ImageInputFormat.ExactImageSizeRequirementH\x00\x12l\n\x14\x64ivisible_image_size\x18\x02 \x01(\x0b\x32L.modelfile.v2.ModelFile.Input.ImageInputFormat.DivisibleImageSizeRequirementH\x00\x12\x42\n\x12region_of_interest\x18\x03 \x01(\x0b\x32&.modelfile.v2.ModelFile.RegionFromEdge\x1aR\n\x19\x45xactImageSizeRequirement\x12\x35\n\nimage_size\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x1a\xdf\x01\n\x1d\x44ivisibleImageSizeRequirement\x12>\n\x13image_size_divisors\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x12=\n\x12minimum_image_size\x18\x02 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x12?\n\x14suggested_image_size\x18\x03 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSizeB\x19\n\x17image_size_requirementsB\x13\n\x11\x46ormatInformation\x1a\xb0\n\n\x06Output\x12_\n\x18image_classifiers_format\x18\x01 \x01(\x0b\x32;.modelfile.v2.ModelFile.Output.ImageClassifiersOutputFormatH\x00\x12_\n\x18segmentation_maps_format\x18\x02 \x01(\x0b\x32;.modelfile.v2.ModelFile.Output.SegmentationMapsOutputFormatH\x00\x12Y\n\x15\x62ounding_boxes_format\x18\x03 \x01(\x0b\x32\x38.modelfile.v2.ModelFile.Output.BoundingBoxesOutputFormatH\x00\x12p\n!bounding_box_segmentations_format\x18\x04 \x01(\x0b\x32\x43.modelfile.v2.ModelFile.Output.BoundingBoxSegmentationsOutputFormatH\x00\x12\x44\n\nocr_format\x18\x05 \x01(\x0b\x32..modelfile.v2.ModelFile.Output.OcrOutputFormatH\x00\x1a\x1e\n\x1cImageClassifiersOutputFormat\x1aU\n\x1cSegmentationMapsOutputFormat\x12\x35\n\nimage_size\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x1a\xcd\x01\n\x19\x42oundingBoxesOutputFormat\x12\x17\n\x0fnumber_of_boxes\x18\x01 \x01(\x04\x12\x0e\n\x06stride\x18\x02 \x01(\x04\x12\x11\n\tx1_offset\x18\x03 \x01(\x04\x12\x11\n\ty1_offset\x18\x04 \x01(\x04\x12\x11\n\tx2_offset\x18\x05 \x01(\x04\x12\x11\n\ty2_offset\x18\x06 \x01(\x04\x12\x19\n\x11\x63onfidence_offset\x18\x07 \x01(\x04\x12 \n\x18\x63lass_label_index_offset\x18\x08 \x01(\x04\x1a\x7f\n$BoundingBoxSegmentationsOutputFormat\x12\x35\n\nimage_size\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x12 \n\x18relative_to_bounding_box\x18\x02 \x01(\x08\x1a\xf3\x02\n\x0fOcrOutputFormat\x12\x1c\n\x14number_of_characters\x18\x01 \x01(\x04\x12L\n\ncharacters\x18\x02 \x03(\x0b\x32\x38.modelfile.v2.ModelFile.Output.OcrOutputFormat.Character\x1a\xf3\x01\n\tCharacter\x12\x1b\n\x13utf8_representation\x18\x01 \x01(\x0c\x12^\n\x0e\x63haracter_type\x18\x02 \x01(\x0e\x32\x46.modelfile.v2.ModelFile.Output.OcrOutputFormat.Character.CharacterType\x12\x0e\n\x06ignore\x18\x03 \x01(\x08\"Y\n\rCharacterType\x12\x0e\n\nCT_REGULAR\x10\x00\x12\x14\n\x10\x43T_START_OF_TEXT\x10\x01\x12\x12\n\x0e\x43T_END_OF_TEXT\x10\x02\x12\x0e\n\nCT_PADDING\x10\x03\x42\x13\n\x11\x46ormatInformation\x1a\x95\x07\n\x08\x46ileInfo\x12<\n\tfile_type\x18\x01 \x01(\x0e\x32).modelfile.v2.ModelFile.FileInfo.FileType\x12\x14\n\x0cnetwork_name\x18\x02 \x01(\t\x12\x12\n\nnetwork_id\x18\x03 \x01(\t\x12\x1d\n\x15network_experiment_id\x18\x04 \x01(\t\x12\x1b\n\x13network_snapshot_id\x18\x05 \x01(\t\x12\x42\n\x0cnetwork_type\x18\x06 \x01(\x0e\x32,.modelfile.v2.ModelFile.FileInfo.NetworkType\x12\x16\n\x0enetwork_flavor\x18\x07 \x01(\t\x12\x38\n\x0fnetwork_version\x18\x08 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Version\x12\x38\n\x0fruntime_version\x18\t \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Version\x12=\n\tprecision\x18\n \x01(\x0e\x32*.modelfile.v2.ModelFile.FileInfo.Precision\"D\n\x08\x46ileType\x12\x11\n\rFT_ONNX_MODEL\x10\x00\x12\x10\n\x0c\x46T_ZXING_KEY\x10\x01\x12\x13\n\x0f\x46T_VIZIOTIX_KEY\x10\x02\"\xc0\x01\n\x0bNetworkType\x12\x0e\n\nNT_UNKNOWN\x10\x00\x12\x15\n\x11NT_CLASSIFICATION\x10\x01\x12\x13\n\x0fNT_SEGMENTATION\x10\x02\x12\x1c\n\x18NT_INSTANCE_SEGMENTATION\x10\x03\x12\x17\n\x13NT_OBJECT_DETECTION\x10\x04\x12\x18\n\x14NT_ANOMALY_DETECTION\x10\x05\x12$\n NT_OPTICAL_CHARACTER_RECOGNITION\x10\x06\"\xcc\x01\n\tPrecision\x12\x0f\n\x0bP_UNDEFINED\x10\x00\x12\t\n\x05P_FP8\x10\x01\x12\n\n\x06P_FP16\x10\x02\x12\n\n\x06P_FP32\x10\x03\x12\n\n\x06P_FP64\x10\x04\x12\n\n\x06P_INT8\x10\x05\x12\x0b\n\x07P_INT16\x10\x06\x12\x0b\n\x07P_INT32\x10\x07\x12\x0b\n\x07P_INT64\x10\x08\x12\x0b\n\x07P_UINT8\x10\t\x12\x0c\n\x08P_UINT16\x10\n\x12\x0c\n\x08P_UINT32\x10\x0b\x12\x0c\n\x08P_UINT64\x10\x0c\x12\x15\n\x11P_MIXED_PRECISION\x10\rB5Z\x19\x64\x65nkproto-go/modelfile/v2\xaa\x02\x17\x44\x45NK.Proto.Modelfile.V2b\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12modelfile-v2.proto\x12\x0cmodelfile.v2\"\xf8!\n\tModelFile\x12\x39\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Version\x12\x12\n\ncreated_at\x18\x02 \x01(\x03\x12\x33\n\tfile_info\x18\x03 \x01(\x0b\x32 .modelfile.v2.ModelFile.FileInfo\x12\x30\n\x07\x63ontent\x18\x04 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Content\x12\x38\n\x0c\x63lass_labels\x18\x05 \x03(\x0b\x32\".modelfile.v2.ModelFile.ClassLabel\x12-\n\x06inputs\x18\x06 \x03(\x0b\x32\x1d.modelfile.v2.ModelFile.Input\x12/\n\x07outputs\x18\x07 \x03(\x0b\x32\x1e.modelfile.v2.ModelFile.Output\x12J\n\x12\x61\x64\x64itional_content\x18\x08 \x03(\x0b\x32..modelfile.v2.ModelFile.AdditionalContentEntry\x1a\x36\n\x07Version\x12\r\n\x05major\x18\x01 \x01(\r\x12\r\n\x05minor\x18\x02 \x01(\r\x12\r\n\x05patch\x18\x03 \x01(\r\x1a\xaa\x04\n\x07\x43ontent\x12\x14\n\x0c\x62yte_content\x18\x01 \x01(\x0c\x12\x13\n\x0bhash_sha256\x18\x02 \x01(\x0c\x12M\n\x12\x63ompression_method\x18\x03 \x01(\x0e\x32\x31.modelfile.v2.ModelFile.Content.CompressionMethod\x12K\n\x11\x65ncryption_method\x18\x04 \x01(\x0e\x32\x30.modelfile.v2.ModelFile.Content.EncryptionMethod\x12@\n\tkey_slots\x18\x05 \x03(\x0b\x32-.modelfile.v2.ModelFile.Content.KeySlotsEntry\x1ai\n\x07KeySlot\x12\x13\n\x0bwrapped_key\x18\x01 \x01(\x0c\x12I\n\x0fwrapping_method\x18\x02 \x01(\x0e\x32\x30.modelfile.v2.ModelFile.Content.EncryptionMethod\x1aX\n\rKeySlotsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.modelfile.v2.ModelFile.Content.KeySlot:\x02\x38\x01\" \n\x11\x43ompressionMethod\x12\x0b\n\x07\x43M_NONE\x10\x00\"/\n\x10\x45ncryptionMethod\x12\x0b\n\x07\x45M_NONE\x10\x00\x12\x0e\n\nEM_AES_GCM\x10\x01\x1aU\n\nClassLabel\x12\x16\n\x0e\x63lass_label_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nshort_name\x18\x03 \x01(\t\x12\r\n\x05\x63olor\x18\x04 \x01(\t\x1a<\n\tImageSize\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\x12\x10\n\x08\x63hannels\x18\x03 \x01(\r\x1aJ\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\x1a\xe2\x05\n\x05Input\x12\x46\n\x0cimage_format\x18\x01 \x01(\x0b\x32..modelfile.v2.ModelFile.Input.ImageInputFormatH\x00\x1a\xfb\x04\n\x10ImageInputFormat\x12\x64\n\x10\x65xact_image_size\x18\x01 \x01(\x0b\x32H.modelfile.v2.ModelFile.Input.ImageInputFormat.ExactImageSizeRequirementH\x00\x12l\n\x14\x64ivisible_image_size\x18\x02 \x01(\x0b\x32L.modelfile.v2.ModelFile.Input.ImageInputFormat.DivisibleImageSizeRequirementH\x00\x12\x42\n\x12region_of_interest\x18\x03 \x01(\x0b\x32&.modelfile.v2.ModelFile.RegionFromEdge\x1aR\n\x19\x45xactImageSizeRequirement\x12\x35\n\nimage_size\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x1a\xdf\x01\n\x1d\x44ivisibleImageSizeRequirement\x12>\n\x13image_size_divisors\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x12=\n\x12minimum_image_size\x18\x02 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x12?\n\x14suggested_image_size\x18\x03 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSizeB\x19\n\x17image_size_requirementsB\x13\n\x11\x46ormatInformation\x1a\xb0\n\n\x06Output\x12_\n\x18image_classifiers_format\x18\x01 \x01(\x0b\x32;.modelfile.v2.ModelFile.Output.ImageClassifiersOutputFormatH\x00\x12_\n\x18segmentation_maps_format\x18\x02 \x01(\x0b\x32;.modelfile.v2.ModelFile.Output.SegmentationMapsOutputFormatH\x00\x12Y\n\x15\x62ounding_boxes_format\x18\x03 \x01(\x0b\x32\x38.modelfile.v2.ModelFile.Output.BoundingBoxesOutputFormatH\x00\x12p\n!bounding_box_segmentations_format\x18\x04 \x01(\x0b\x32\x43.modelfile.v2.ModelFile.Output.BoundingBoxSegmentationsOutputFormatH\x00\x12\x44\n\nocr_format\x18\x05 \x01(\x0b\x32..modelfile.v2.ModelFile.Output.OcrOutputFormatH\x00\x1a\x1e\n\x1cImageClassifiersOutputFormat\x1aU\n\x1cSegmentationMapsOutputFormat\x12\x35\n\nimage_size\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x1a\xcd\x01\n\x19\x42oundingBoxesOutputFormat\x12\x17\n\x0fnumber_of_boxes\x18\x01 \x01(\x04\x12\x0e\n\x06stride\x18\x02 \x01(\x04\x12\x11\n\tx1_offset\x18\x03 \x01(\x04\x12\x11\n\ty1_offset\x18\x04 \x01(\x04\x12\x11\n\tx2_offset\x18\x05 \x01(\x04\x12\x11\n\ty2_offset\x18\x06 \x01(\x04\x12\x19\n\x11\x63onfidence_offset\x18\x07 \x01(\x04\x12 \n\x18\x63lass_label_index_offset\x18\x08 \x01(\x04\x1a\x7f\n$BoundingBoxSegmentationsOutputFormat\x12\x35\n\nimage_size\x18\x01 \x01(\x0b\x32!.modelfile.v2.ModelFile.ImageSize\x12 \n\x18relative_to_bounding_box\x18\x02 \x01(\x08\x1a\xf3\x02\n\x0fOcrOutputFormat\x12\x1c\n\x14number_of_characters\x18\x01 \x01(\x04\x12L\n\ncharacters\x18\x02 \x03(\x0b\x32\x38.modelfile.v2.ModelFile.Output.OcrOutputFormat.Character\x1a\xf3\x01\n\tCharacter\x12\x1b\n\x13utf8_representation\x18\x01 \x01(\x0c\x12^\n\x0e\x63haracter_type\x18\x02 \x01(\x0e\x32\x46.modelfile.v2.ModelFile.Output.OcrOutputFormat.Character.CharacterType\x12\x0e\n\x06ignore\x18\x03 \x01(\x08\"Y\n\rCharacterType\x12\x0e\n\nCT_REGULAR\x10\x00\x12\x14\n\x10\x43T_START_OF_TEXT\x10\x01\x12\x12\n\x0e\x43T_END_OF_TEXT\x10\x02\x12\x0e\n\nCT_PADDING\x10\x03\x42\x13\n\x11\x46ormatInformation\x1a\x95\x07\n\x08\x46ileInfo\x12<\n\tfile_type\x18\x01 \x01(\x0e\x32).modelfile.v2.ModelFile.FileInfo.FileType\x12\x14\n\x0cnetwork_name\x18\x02 \x01(\t\x12\x12\n\nnetwork_id\x18\x03 \x01(\t\x12\x1d\n\x15network_experiment_id\x18\x04 \x01(\t\x12\x1b\n\x13network_snapshot_id\x18\x05 \x01(\t\x12\x42\n\x0cnetwork_type\x18\x06 \x01(\x0e\x32,.modelfile.v2.ModelFile.FileInfo.NetworkType\x12\x16\n\x0enetwork_flavor\x18\x07 \x01(\t\x12\x38\n\x0fnetwork_version\x18\x08 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Version\x12\x38\n\x0fruntime_version\x18\t \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Version\x12=\n\tprecision\x18\n \x01(\x0e\x32*.modelfile.v2.ModelFile.FileInfo.Precision\"D\n\x08\x46ileType\x12\x11\n\rFT_ONNX_MODEL\x10\x00\x12\x10\n\x0c\x46T_ZXING_KEY\x10\x01\x12\x13\n\x0f\x46T_VIZIOTIX_KEY\x10\x02\"\xc0\x01\n\x0bNetworkType\x12\x0e\n\nNT_UNKNOWN\x10\x00\x12\x15\n\x11NT_CLASSIFICATION\x10\x01\x12\x13\n\x0fNT_SEGMENTATION\x10\x02\x12\x1c\n\x18NT_INSTANCE_SEGMENTATION\x10\x03\x12\x17\n\x13NT_OBJECT_DETECTION\x10\x04\x12\x18\n\x14NT_ANOMALY_DETECTION\x10\x05\x12$\n NT_OPTICAL_CHARACTER_RECOGNITION\x10\x06\"\xcc\x01\n\tPrecision\x12\x0f\n\x0bP_UNDEFINED\x10\x00\x12\t\n\x05P_FP8\x10\x01\x12\n\n\x06P_FP16\x10\x02\x12\n\n\x06P_FP32\x10\x03\x12\n\n\x06P_FP64\x10\x04\x12\n\n\x06P_INT8\x10\x05\x12\x0b\n\x07P_INT16\x10\x06\x12\x0b\n\x07P_INT32\x10\x07\x12\x0b\n\x07P_INT64\x10\x08\x12\x0b\n\x07P_UINT8\x10\t\x12\x0c\n\x08P_UINT16\x10\n\x12\x0c\n\x08P_UINT32\x10\x0b\x12\x0c\n\x08P_UINT64\x10\x0c\x12\x15\n\x11P_MIXED_PRECISION\x10\r\x1aY\n\x16\x41\x64\x64itionalContentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.modelfile.v2.ModelFile.Content:\x02\x38\x01\x42\x35Z\x19\x64\x65nkproto-go/modelfile/v2\xaa\x02\x17\x44\x45NK.Proto.Modelfile.V2b\x06proto3')
18
28
 
19
29
  _globals = globals()
20
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
31
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'modelfile_v2_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- _globals['DESCRIPTOR']._options = None
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
24
34
  _globals['DESCRIPTOR']._serialized_options = b'Z\031denkproto-go/modelfile/v2\252\002\027DENK.Proto.Modelfile.V2'
25
- _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._options = None
35
+ _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._loaded_options = None
26
36
  _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._serialized_options = b'8\001'
37
+ _globals['_MODELFILE_ADDITIONALCONTENTENTRY']._loaded_options = None
38
+ _globals['_MODELFILE_ADDITIONALCONTENTENTRY']._serialized_options = b'8\001'
27
39
  _globals['_MODELFILE']._serialized_start=37
28
- _globals['_MODELFILE']._serialized_end=4214
29
- _globals['_MODELFILE_VERSION']._serialized_start=386
30
- _globals['_MODELFILE_VERSION']._serialized_end=440
31
- _globals['_MODELFILE_CONTENT']._serialized_start=443
32
- _globals['_MODELFILE_CONTENT']._serialized_end=997
33
- _globals['_MODELFILE_CONTENT_KEYSLOT']._serialized_start=719
34
- _globals['_MODELFILE_CONTENT_KEYSLOT']._serialized_end=824
35
- _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._serialized_start=826
36
- _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._serialized_end=914
37
- _globals['_MODELFILE_CONTENT_COMPRESSIONMETHOD']._serialized_start=916
38
- _globals['_MODELFILE_CONTENT_COMPRESSIONMETHOD']._serialized_end=948
39
- _globals['_MODELFILE_CONTENT_ENCRYPTIONMETHOD']._serialized_start=950
40
- _globals['_MODELFILE_CONTENT_ENCRYPTIONMETHOD']._serialized_end=997
41
- _globals['_MODELFILE_CLASSLABEL']._serialized_start=999
42
- _globals['_MODELFILE_CLASSLABEL']._serialized_end=1084
43
- _globals['_MODELFILE_IMAGESIZE']._serialized_start=1086
44
- _globals['_MODELFILE_IMAGESIZE']._serialized_end=1146
45
- _globals['_MODELFILE_REGIONFROMEDGE']._serialized_start=1148
46
- _globals['_MODELFILE_REGIONFROMEDGE']._serialized_end=1222
47
- _globals['_MODELFILE_INPUT']._serialized_start=1225
48
- _globals['_MODELFILE_INPUT']._serialized_end=1963
49
- _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT']._serialized_start=1307
50
- _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT']._serialized_end=1942
51
- _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_EXACTIMAGESIZEREQUIREMENT']._serialized_start=1607
52
- _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_EXACTIMAGESIZEREQUIREMENT']._serialized_end=1689
53
- _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_DIVISIBLEIMAGESIZEREQUIREMENT']._serialized_start=1692
54
- _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_DIVISIBLEIMAGESIZEREQUIREMENT']._serialized_end=1915
55
- _globals['_MODELFILE_OUTPUT']._serialized_start=1966
56
- _globals['_MODELFILE_OUTPUT']._serialized_end=3294
57
- _globals['_MODELFILE_OUTPUT_IMAGECLASSIFIERSOUTPUTFORMAT']._serialized_start=2445
58
- _globals['_MODELFILE_OUTPUT_IMAGECLASSIFIERSOUTPUTFORMAT']._serialized_end=2475
59
- _globals['_MODELFILE_OUTPUT_SEGMENTATIONMAPSOUTPUTFORMAT']._serialized_start=2477
60
- _globals['_MODELFILE_OUTPUT_SEGMENTATIONMAPSOUTPUTFORMAT']._serialized_end=2562
61
- _globals['_MODELFILE_OUTPUT_BOUNDINGBOXESOUTPUTFORMAT']._serialized_start=2565
62
- _globals['_MODELFILE_OUTPUT_BOUNDINGBOXESOUTPUTFORMAT']._serialized_end=2770
63
- _globals['_MODELFILE_OUTPUT_BOUNDINGBOXSEGMENTATIONSOUTPUTFORMAT']._serialized_start=2772
64
- _globals['_MODELFILE_OUTPUT_BOUNDINGBOXSEGMENTATIONSOUTPUTFORMAT']._serialized_end=2899
65
- _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT']._serialized_start=2902
66
- _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT']._serialized_end=3273
67
- _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER']._serialized_start=3030
68
- _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER']._serialized_end=3273
69
- _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER_CHARACTERTYPE']._serialized_start=3184
70
- _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER_CHARACTERTYPE']._serialized_end=3273
71
- _globals['_MODELFILE_FILEINFO']._serialized_start=3297
72
- _globals['_MODELFILE_FILEINFO']._serialized_end=4214
73
- _globals['_MODELFILE_FILEINFO_FILETYPE']._serialized_start=3744
74
- _globals['_MODELFILE_FILEINFO_FILETYPE']._serialized_end=3812
75
- _globals['_MODELFILE_FILEINFO_NETWORKTYPE']._serialized_start=3815
76
- _globals['_MODELFILE_FILEINFO_NETWORKTYPE']._serialized_end=4007
77
- _globals['_MODELFILE_FILEINFO_PRECISION']._serialized_start=4010
78
- _globals['_MODELFILE_FILEINFO_PRECISION']._serialized_end=4214
40
+ _globals['_MODELFILE']._serialized_end=4381
41
+ _globals['_MODELFILE_VERSION']._serialized_start=462
42
+ _globals['_MODELFILE_VERSION']._serialized_end=516
43
+ _globals['_MODELFILE_CONTENT']._serialized_start=519
44
+ _globals['_MODELFILE_CONTENT']._serialized_end=1073
45
+ _globals['_MODELFILE_CONTENT_KEYSLOT']._serialized_start=795
46
+ _globals['_MODELFILE_CONTENT_KEYSLOT']._serialized_end=900
47
+ _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._serialized_start=902
48
+ _globals['_MODELFILE_CONTENT_KEYSLOTSENTRY']._serialized_end=990
49
+ _globals['_MODELFILE_CONTENT_COMPRESSIONMETHOD']._serialized_start=992
50
+ _globals['_MODELFILE_CONTENT_COMPRESSIONMETHOD']._serialized_end=1024
51
+ _globals['_MODELFILE_CONTENT_ENCRYPTIONMETHOD']._serialized_start=1026
52
+ _globals['_MODELFILE_CONTENT_ENCRYPTIONMETHOD']._serialized_end=1073
53
+ _globals['_MODELFILE_CLASSLABEL']._serialized_start=1075
54
+ _globals['_MODELFILE_CLASSLABEL']._serialized_end=1160
55
+ _globals['_MODELFILE_IMAGESIZE']._serialized_start=1162
56
+ _globals['_MODELFILE_IMAGESIZE']._serialized_end=1222
57
+ _globals['_MODELFILE_REGIONFROMEDGE']._serialized_start=1224
58
+ _globals['_MODELFILE_REGIONFROMEDGE']._serialized_end=1298
59
+ _globals['_MODELFILE_INPUT']._serialized_start=1301
60
+ _globals['_MODELFILE_INPUT']._serialized_end=2039
61
+ _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT']._serialized_start=1383
62
+ _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT']._serialized_end=2018
63
+ _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_EXACTIMAGESIZEREQUIREMENT']._serialized_start=1683
64
+ _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_EXACTIMAGESIZEREQUIREMENT']._serialized_end=1765
65
+ _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_DIVISIBLEIMAGESIZEREQUIREMENT']._serialized_start=1768
66
+ _globals['_MODELFILE_INPUT_IMAGEINPUTFORMAT_DIVISIBLEIMAGESIZEREQUIREMENT']._serialized_end=1991
67
+ _globals['_MODELFILE_OUTPUT']._serialized_start=2042
68
+ _globals['_MODELFILE_OUTPUT']._serialized_end=3370
69
+ _globals['_MODELFILE_OUTPUT_IMAGECLASSIFIERSOUTPUTFORMAT']._serialized_start=2521
70
+ _globals['_MODELFILE_OUTPUT_IMAGECLASSIFIERSOUTPUTFORMAT']._serialized_end=2551
71
+ _globals['_MODELFILE_OUTPUT_SEGMENTATIONMAPSOUTPUTFORMAT']._serialized_start=2553
72
+ _globals['_MODELFILE_OUTPUT_SEGMENTATIONMAPSOUTPUTFORMAT']._serialized_end=2638
73
+ _globals['_MODELFILE_OUTPUT_BOUNDINGBOXESOUTPUTFORMAT']._serialized_start=2641
74
+ _globals['_MODELFILE_OUTPUT_BOUNDINGBOXESOUTPUTFORMAT']._serialized_end=2846
75
+ _globals['_MODELFILE_OUTPUT_BOUNDINGBOXSEGMENTATIONSOUTPUTFORMAT']._serialized_start=2848
76
+ _globals['_MODELFILE_OUTPUT_BOUNDINGBOXSEGMENTATIONSOUTPUTFORMAT']._serialized_end=2975
77
+ _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT']._serialized_start=2978
78
+ _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT']._serialized_end=3349
79
+ _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER']._serialized_start=3106
80
+ _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER']._serialized_end=3349
81
+ _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER_CHARACTERTYPE']._serialized_start=3260
82
+ _globals['_MODELFILE_OUTPUT_OCROUTPUTFORMAT_CHARACTER_CHARACTERTYPE']._serialized_end=3349
83
+ _globals['_MODELFILE_FILEINFO']._serialized_start=3373
84
+ _globals['_MODELFILE_FILEINFO']._serialized_end=4290
85
+ _globals['_MODELFILE_FILEINFO_FILETYPE']._serialized_start=3820
86
+ _globals['_MODELFILE_FILEINFO_FILETYPE']._serialized_end=3888
87
+ _globals['_MODELFILE_FILEINFO_NETWORKTYPE']._serialized_start=3891
88
+ _globals['_MODELFILE_FILEINFO_NETWORKTYPE']._serialized_end=4083
89
+ _globals['_MODELFILE_FILEINFO_PRECISION']._serialized_start=4086
90
+ _globals['_MODELFILE_FILEINFO_PRECISION']._serialized_end=4290
91
+ _globals['_MODELFILE_ADDITIONALCONTENTENTRY']._serialized_start=4292
92
+ _globals['_MODELFILE_ADDITIONALCONTENTENTRY']._serialized_end=4381
79
93
  # @@protoc_insertion_point(module_scope)
@@ -7,7 +7,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
7
7
  DESCRIPTOR: _descriptor.FileDescriptor
8
8
 
9
9
  class ModelFile(_message.Message):
10
- __slots__ = ("protocol_version", "created_at", "file_info", "content", "class_labels", "inputs", "outputs")
10
+ __slots__ = ("protocol_version", "created_at", "file_info", "content", "class_labels", "inputs", "outputs", "additional_content")
11
11
  class Version(_message.Message):
12
12
  __slots__ = ("major", "minor", "patch")
13
13
  MAJOR_FIELD_NUMBER: _ClassVar[int]
@@ -263,6 +263,13 @@ class ModelFile(_message.Message):
263
263
  runtime_version: ModelFile.Version
264
264
  precision: ModelFile.FileInfo.Precision
265
265
  def __init__(self, file_type: _Optional[_Union[ModelFile.FileInfo.FileType, str]] = ..., network_name: _Optional[str] = ..., network_id: _Optional[str] = ..., network_experiment_id: _Optional[str] = ..., network_snapshot_id: _Optional[str] = ..., network_type: _Optional[_Union[ModelFile.FileInfo.NetworkType, str]] = ..., network_flavor: _Optional[str] = ..., network_version: _Optional[_Union[ModelFile.Version, _Mapping]] = ..., runtime_version: _Optional[_Union[ModelFile.Version, _Mapping]] = ..., precision: _Optional[_Union[ModelFile.FileInfo.Precision, str]] = ...) -> None: ...
266
+ class AdditionalContentEntry(_message.Message):
267
+ __slots__ = ("key", "value")
268
+ KEY_FIELD_NUMBER: _ClassVar[int]
269
+ VALUE_FIELD_NUMBER: _ClassVar[int]
270
+ key: str
271
+ value: ModelFile.Content
272
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ModelFile.Content, _Mapping]] = ...) -> None: ...
266
273
  PROTOCOL_VERSION_FIELD_NUMBER: _ClassVar[int]
267
274
  CREATED_AT_FIELD_NUMBER: _ClassVar[int]
268
275
  FILE_INFO_FIELD_NUMBER: _ClassVar[int]
@@ -270,6 +277,7 @@ class ModelFile(_message.Message):
270
277
  CLASS_LABELS_FIELD_NUMBER: _ClassVar[int]
271
278
  INPUTS_FIELD_NUMBER: _ClassVar[int]
272
279
  OUTPUTS_FIELD_NUMBER: _ClassVar[int]
280
+ ADDITIONAL_CONTENT_FIELD_NUMBER: _ClassVar[int]
273
281
  protocol_version: ModelFile.Version
274
282
  created_at: int
275
283
  file_info: ModelFile.FileInfo
@@ -277,4 +285,5 @@ class ModelFile(_message.Message):
277
285
  class_labels: _containers.RepeatedCompositeFieldContainer[ModelFile.ClassLabel]
278
286
  inputs: _containers.RepeatedCompositeFieldContainer[ModelFile.Input]
279
287
  outputs: _containers.RepeatedCompositeFieldContainer[ModelFile.Output]
280
- def __init__(self, protocol_version: _Optional[_Union[ModelFile.Version, _Mapping]] = ..., created_at: _Optional[int] = ..., file_info: _Optional[_Union[ModelFile.FileInfo, _Mapping]] = ..., content: _Optional[_Union[ModelFile.Content, _Mapping]] = ..., class_labels: _Optional[_Iterable[_Union[ModelFile.ClassLabel, _Mapping]]] = ..., inputs: _Optional[_Iterable[_Union[ModelFile.Input, _Mapping]]] = ..., outputs: _Optional[_Iterable[_Union[ModelFile.Output, _Mapping]]] = ...) -> None: ...
288
+ additional_content: _containers.MessageMap[str, ModelFile.Content]
289
+ def __init__(self, protocol_version: _Optional[_Union[ModelFile.Version, _Mapping]] = ..., created_at: _Optional[int] = ..., file_info: _Optional[_Union[ModelFile.FileInfo, _Mapping]] = ..., content: _Optional[_Union[ModelFile.Content, _Mapping]] = ..., class_labels: _Optional[_Iterable[_Union[ModelFile.ClassLabel, _Mapping]]] = ..., inputs: _Optional[_Iterable[_Union[ModelFile.Input, _Mapping]]] = ..., outputs: _Optional[_Iterable[_Union[ModelFile.Output, _Mapping]]] = ..., additional_content: _Optional[_Mapping[str, ModelFile.Content]] = ...) -> None: ...
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.68.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in modelfile_v2_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
denkproto/results_pb2.py CHANGED
@@ -1,12 +1,22 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
3
4
  # source: results.proto
4
- # Protobuf Python Version: 4.25.3
5
+ # Protobuf Python Version: 5.28.1
5
6
  """Generated protocol buffer code."""
6
7
  from google.protobuf import descriptor as _descriptor
7
8
  from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
8
10
  from google.protobuf import symbol_database as _symbol_database
9
11
  from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 28,
16
+ 1,
17
+ '',
18
+ 'results.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -14,58 +24,64 @@ _sym_db = _symbol_database.Default()
14
24
 
15
25
 
16
26
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rresults.proto\x12\x07results\"\xb1\x01\n\rDefectAddress\x12\x15\n\rdataset_index\x18\x01 \x01(\x05\x12\x10\n\x08model_id\x18\x02 \x01(\x05\x12\x15\n\rfeature_index\x18\x03 \x01(\x05\x12\x14\n\x0coverlap_area\x18\x04 \x01(\x01\x12\x15\n\roverlap_ratio\x18\x05 \x01(\x01\x12\x1e\n\x16overlap_ratio_of_other\x18\x06 \x01(\x01\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x07 \x01(\t\"<\n\x06RowRLC\x12\x10\n\x08offset_x\x18\x01 \x01(\x05\x12\x10\n\x08offset_y\x18\x02 \x01(\x05\x12\x0e\n\x06length\x18\x03 \x01(\x05\"6\n\x0cOcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\"D\n\x14OcrCharacterPosition\x12,\n\rocr_character\x18\x01 \x03(\x0b\x32\x15.results.OcrCharacter\"\x1d\n\x05Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\"f\n\x12MinimalBoundingBox\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\"\xee\x04\n\x0c\x46\x65\x61tureField\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04show\x18\x02 \x01(\x08\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x0e\n\x06rect_x\x18\x04 \x01(\x05\x12\x0e\n\x06rect_y\x18\x05 \x01(\x05\x12\x0e\n\x06rect_w\x18\x06 \x01(\x05\x12\x0e\n\x06rect_h\x18\x07 \x01(\x05\x12\x13\n\x0bprobability\x18\x08 \x01(\x01\x12\x0c\n\x04\x61rea\x18\t \x01(\x01\x12\x0e\n\x06length\x18\n \x01(\x01\x12\r\n\x05width\x18\x0b \x01(\x01\x12\x11\n\tmean_gray\x18\x0c \x01(\x01\x12\x10\n\x08max_gray\x18\r \x01(\x01\x12\x10\n\x08min_gray\x18\x0e \x01(\x01\x12\x0f\n\x07in_area\x18\x0f \x03(\x05\x12-\n\roverlaps_with\x18\x10 \x03(\x0b\x32\x16.results.DefectAddress\x12\x11\n\trect_x_mm\x18\x11 \x01(\x01\x12\x11\n\trect_y_mm\x18\x12 \x01(\x01\x12\x11\n\trect_w_mm\x18\x13 \x01(\x01\x12\x11\n\trect_h_mm\x18\x14 \x01(\x01\x12 \n\x07row_rlc\x18\x15 \x03(\x0b\x32\x0f.results.RowRLC\x12=\n\x16ocr_character_position\x18\x16 \x03(\x0b\x32\x1d.results.OcrCharacterPosition\x12\x39\n\x14minimal_bounding_box\x18\x17 \x01(\x0b\x32\x1b.results.MinimalBoundingBox\x12\x32\n\x1aminimal_bounding_box_point\x18\x18 \x03(\x0b\x32\x0e.results.Point\x12\x1d\n\x15write_protected_label\x18\x19 \x01(\x08\"\xbf\x01\n\x08MapField\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04show\x18\x02 \x01(\x08\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12&\n\x08\x64\x61tatype\x18\x04 \x01(\x0e\x32\x14.results.MapDataType\x12\x0f\n\x07image_w\x18\x05 \x01(\x05\x12\x0f\n\x07image_h\x18\x06 \x01(\x05\x12\x0f\n\x07image_c\x18\x07 \x01(\x05\x12\x16\n\x0estart_position\x18\x08 \x01(\x05\x12\x14\n\x0c\x65nd_position\x18\t \x01(\x05\"\xd7\x02\n\x0bResultField\x12\x13\n\x0bmodel_label\x18\x01 \x01(\t\x12\x11\n\tmodel_tag\x18\x02 \x01(\t\x12\x10\n\x08model_id\x18\x03 \x01(\x05\x12\x12\n\nclassifier\x18\x04 \x01(\x01\x12\x1a\n\x12\x65valuation_time_ms\x18\x05 \x01(\x01\x12\x1f\n\x17post_processing_time_ms\x18\x06 \x01(\x01\x12%\n\nresult_map\x18\x07 \x03(\x0b\x32\x11.results.MapField\x12&\n\x07\x66\x65\x61ture\x18\x08 \x03(\x0b\x32\x15.results.FeatureField\x12\x0e\n\x06tenant\x18\t \x01(\t\x12\x11\n\ttenant_id\x18\n \x01(\t\x12\x1a\n\x12onnx_version_major\x18\x0b \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x0c \x01(\x05\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\r \x01(\t\"\x8b\x01\n\x07Summary\x12\x13\n\x0bimage_class\x18\x01 \x01(\x05\x12\x12\n\nclass_code\x18\x02 \x01(\t\x12\x1c\n\x14most_relevant_defect\x18\x03 \x01(\t\x12\x1d\n\x15relevant_defects_json\x18\x04 \x01(\t\x12\x1a\n\x12\x66\x65\x61ture_table_json\x18\x05 \x01(\t\"8\n\x0b\x46\x65\x61tureInfo\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\"\x93\x02\n\tModelInfo\x12\x11\n\tmodel_uid\x18\x01 \x01(\t\x12\x12\n\nmodel_name\x18\x02 \x01(\t\x12&\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32\x14.results.FeatureInfo\x12\x0e\n\x06tenant\x18\x04 \x01(\t\x12\x12\n\ntenant_uid\x18\x05 \x01(\t\x12\x1a\n\x12onnx_version_major\x18\x06 \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x07 \x01(\x05\x12&\n\nmodel_type\x18\x08 \x01(\x0e\x32\x12.results.ModelType\x12\x33\n\x11model_output_type\x18\t \x01(\x0e\x32\x18.results.ModelOutputType\"\x87\x03\n\x07Results\x12$\n\x06output\x18\x01 \x03(\x0b\x32\x14.results.ResultField\x12\x18\n\x10original_image_w\x18\x02 \x01(\x05\x12\x18\n\x10original_image_h\x18\x03 \x01(\x05\x12\x18\n\x10original_image_c\x18\x04 \x01(\x05\x12\x1b\n\x13original_image_w_mm\x18\x05 \x01(\x01\x12\x1b\n\x13original_image_h_mm\x18\x06 \x01(\x01\x12\x1b\n\x13original_image_c_mm\x18\x07 \x01(\x01\x12\x1d\n\x15mean_gray_active_area\x18\x08 \x01(\x01\x12(\n\x0eresult_summary\x18\t \x01(\x0b\x32\x10.results.Summary\x12\x1c\n\x14min_gray_active_area\x18\n \x01(\x01\x12\x1c\n\x14max_gray_active_area\x18\x0b \x01(\x01\x12,\n\x10\x61vailable_models\x18\x0c \x03(\x0b\x32\x12.results.ModelInfo\"\xcc\x02\n\x0cModelOptions\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x01 \x01(\x08\x12 \n\x18minSegmentationThreshold\x18\x02 \x01(\x01\x12\x14\n\x0cminGrayValue\x18\x03 \x01(\x01\x12\x14\n\x0cmaxGrayValue\x18\x04 \x01(\x01\x12\x18\n\x10maxMeanGrayValue\x18\x05 \x01(\x01\x12\x16\n\x0eminProbability\x18\x06 \x01(\x01\x12\x11\n\tminLength\x18\x07 \x01(\x01\x12\x10\n\x08minWidth\x18\x08 \x01(\x01\x12\x11\n\tminHeight\x18\t \x01(\x01\x12\x0f\n\x07minArea\x18\n \x01(\x01\x12\x1a\n\x12minImageClassifier\x18\x0b \x01(\x01\x12\x15\n\rdeepGrayLevel\x18\x0c \x01(\x01\x12\x10\n\x08priority\x18\r \x01(\x05\x12\x19\n\x11onlyBoundingBoxes\x18\x0e \x01(\x08\"\x9e\x03\n\x0fOptionContainer\x12\x36\n\x07options\x18\x01 \x03(\x0b\x32%.results.OptionContainer.OptionsEntry\x12\x11\n\tdivisor_w\x18\x02 \x01(\x05\x12\x11\n\tdivisor_h\x18\x03 \x01(\x05\x12\x12\n\nbatch_size\x18\x04 \x01(\x05\x12 \n\x18network_img_prescaling_w\x18\x05 \x01(\x05\x12 \n\x18network_img_prescaling_h\x18\x06 \x01(\x05\x12 \n\x18network_img_prescaling_c\x18\x07 \x01(\x05\x12\x10\n\x08\x62order_w\x18\x08 \x01(\x05\x12\x10\n\x08\x62order_h\x18\t \x01(\x05\x12\x12\n\nborder_w_r\x18\n \x01(\x05\x12\x12\n\nborder_h_b\x18\x0b \x01(\x05\x12\x0f\n\x07\x63\x65lls_w\x18\x0c \x01(\x05\x12\x0f\n\x07\x63\x65lls_h\x18\r \x01(\x05\x1a\x45\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.results.ModelOptions:\x02\x38\x01\"\xd6\x01\n\x06\x44\x65vice\x12\x11\n\tdevice_id\x18\x01 \x01(\x05\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.results.DeviceType\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0bmemory_size\x18\x04 \x01(\x03\x12\x12\n\nintegrated\x18\x05 \x01(\x08\x12\x11\n\tcuda_uuid\x18\x06 \x01(\t\x12%\n\x1d\x63uda_compute_capability_major\x18\x07 \x01(\x05\x12%\n\x1d\x63uda_compute_capability_minor\x18\x08 \x01(\x05\"4\n\x11\x44\x65viceInformation\x12\x1f\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32\x0f.results.Device*\xca\x01\n\x0bMapDataType\x12\x0c\n\x08MAP_INT8\x10\x00\x12\r\n\tMAP_INT16\x10\x01\x12\r\n\tMAP_INT32\x10\x02\x12\r\n\tMAP_INT64\x10\x03\x12\r\n\tMAP_UINT8\x10\x04\x12\x0e\n\nMAP_UINT16\x10\x05\x12\x0e\n\nMAP_UINT32\x10\x06\x12\x0e\n\nMAP_UINT64\x10\x07\x12\x0e\n\nMAP_FLOAT8\x10\x08\x12\x0f\n\x0bMAP_FLOAT16\x10\t\x12\x0f\n\x0bMAP_FLOAT32\x10\n\x12\x0f\n\x0bMAP_FLOAT64\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*-\n\nDeviceType\x12\r\n\tUNDEFINED\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x42+Z\x14\x64\x65nkproto-go/results\xaa\x02\x12\x44\x45NK.Proto.Resultsb\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rresults.proto\x12\x07results\"\xb1\x01\n\rDefectAddress\x12\x15\n\rdataset_index\x18\x01 \x01(\x05\x12\x10\n\x08model_id\x18\x02 \x01(\x05\x12\x15\n\rfeature_index\x18\x03 \x01(\x05\x12\x14\n\x0coverlap_area\x18\x04 \x01(\x01\x12\x15\n\roverlap_ratio\x18\x05 \x01(\x01\x12\x1e\n\x16overlap_ratio_of_other\x18\x06 \x01(\x01\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x07 \x01(\t\"<\n\x06RowRLC\x12\x10\n\x08offset_x\x18\x01 \x01(\x05\x12\x10\n\x08offset_y\x18\x02 \x01(\x05\x12\x0e\n\x06length\x18\x03 \x01(\x05\"G\n\x0cOcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\x12\x0f\n\x07ignored\x18\x03 \x01(\x08\"D\n\x14OcrCharacterPosition\x12,\n\rocr_character\x18\x01 \x03(\x0b\x32\x15.results.OcrCharacter\"\x1d\n\x05Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\"f\n\x12MinimalBoundingBox\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\"}\n\x13OrientedBoundingBox\x12\x1e\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x0e.results.Point\x12\r\n\x05width\x18\x02 \x01(\x01\x12\x0e\n\x06height\x18\x03 \x01(\x01\x12\r\n\x05\x61ngle\x18\x04 \x01(\x01\x12\x18\n\x10\x66ull_orientation\x18\x05 \x01(\x08\"\xa7\x06\n\x0c\x46\x65\x61tureField\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04show\x18\x02 \x01(\x08\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x0e\n\x06rect_x\x18\x04 \x01(\x05\x12\x0e\n\x06rect_y\x18\x05 \x01(\x05\x12\x0e\n\x06rect_w\x18\x06 \x01(\x05\x12\x0e\n\x06rect_h\x18\x07 \x01(\x05\x12\x13\n\x0bprobability\x18\x08 \x01(\x01\x12\x0c\n\x04\x61rea\x18\t \x01(\x01\x12\x0e\n\x06length\x18\n \x01(\x01\x12\r\n\x05width\x18\x0b \x01(\x01\x12\x11\n\tmean_gray\x18\x0c \x01(\x01\x12\x10\n\x08max_gray\x18\r \x01(\x01\x12\x10\n\x08min_gray\x18\x0e \x01(\x01\x12\x0f\n\x07in_area\x18\x0f \x03(\x05\x12-\n\roverlaps_with\x18\x10 \x03(\x0b\x32\x16.results.DefectAddress\x12\x11\n\trect_x_mm\x18\x11 \x01(\x01\x12\x11\n\trect_y_mm\x18\x12 \x01(\x01\x12\x11\n\trect_w_mm\x18\x13 \x01(\x01\x12\x11\n\trect_h_mm\x18\x14 \x01(\x01\x12 \n\x07row_rlc\x18\x15 \x03(\x0b\x32\x0f.results.RowRLC\x12=\n\x16ocr_character_position\x18\x16 \x03(\x0b\x32\x1d.results.OcrCharacterPosition\x12\x39\n\x14minimal_bounding_box\x18\x17 \x01(\x0b\x32\x1b.results.MinimalBoundingBox\x12\x32\n\x1aminimal_bounding_box_point\x18\x18 \x03(\x0b\x32\x0e.results.Point\x12\x1d\n\x15write_protected_label\x18\x19 \x01(\x08\x12*\n\x0c\x62\x61rcode_type\x18\x1a \x01(\x0e\x32\x14.results.BarcodeType\x12\x19\n\x11\x62\x61rcode_raw_bytes\x18\x1b \x01(\x0c\x12;\n\x15oriented_bounding_box\x18\x1c \x01(\x0b\x32\x1c.results.OrientedBoundingBox\x12\x33\n\x1boriented_bounding_box_point\x18\x1d \x03(\x0b\x32\x0e.results.Point\"\xbf\x01\n\x08MapField\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04show\x18\x02 \x01(\x08\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12&\n\x08\x64\x61tatype\x18\x04 \x01(\x0e\x32\x14.results.MapDataType\x12\x0f\n\x07image_w\x18\x05 \x01(\x05\x12\x0f\n\x07image_h\x18\x06 \x01(\x05\x12\x0f\n\x07image_c\x18\x07 \x01(\x05\x12\x16\n\x0estart_position\x18\x08 \x01(\x05\x12\x14\n\x0c\x65nd_position\x18\t \x01(\x05\"\x8c\x03\n\x0bResultField\x12\x13\n\x0bmodel_label\x18\x01 \x01(\t\x12\x11\n\tmodel_tag\x18\x02 \x01(\t\x12\x10\n\x08model_id\x18\x03 \x01(\x05\x12\x12\n\nclassifier\x18\x04 \x01(\x01\x12\x1a\n\x12\x65valuation_time_ms\x18\x05 \x01(\x01\x12\x1f\n\x17post_processing_time_ms\x18\x06 \x01(\x01\x12%\n\nresult_map\x18\x07 \x03(\x0b\x32\x11.results.MapField\x12&\n\x07\x66\x65\x61ture\x18\x08 \x03(\x0b\x32\x15.results.FeatureField\x12\x0e\n\x06tenant\x18\t \x01(\t\x12\x11\n\ttenant_id\x18\n \x01(\t\x12\x1a\n\x12onnx_version_major\x18\x0b \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x0c \x01(\x05\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\r \x01(\t\x12\x33\n\x11result_field_type\x18\x0e \x01(\x0e\x32\x18.results.ResultFieldType\"\x8b\x01\n\x07Summary\x12\x13\n\x0bimage_class\x18\x01 \x01(\x05\x12\x12\n\nclass_code\x18\x02 \x01(\t\x12\x1c\n\x14most_relevant_defect\x18\x03 \x01(\t\x12\x1d\n\x15relevant_defects_json\x18\x04 \x01(\t\x12\x1a\n\x12\x66\x65\x61ture_table_json\x18\x05 \x01(\t\"8\n\x0b\x46\x65\x61tureInfo\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\"\x93\x02\n\tModelInfo\x12\x11\n\tmodel_uid\x18\x01 \x01(\t\x12\x12\n\nmodel_name\x18\x02 \x01(\t\x12&\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32\x14.results.FeatureInfo\x12\x0e\n\x06tenant\x18\x04 \x01(\t\x12\x12\n\ntenant_uid\x18\x05 \x01(\t\x12\x1a\n\x12onnx_version_major\x18\x06 \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x07 \x01(\x05\x12&\n\nmodel_type\x18\x08 \x01(\x0e\x32\x12.results.ModelType\x12\x33\n\x11model_output_type\x18\t \x01(\x0e\x32\x18.results.ModelOutputType\"\x87\x03\n\x07Results\x12$\n\x06output\x18\x01 \x03(\x0b\x32\x14.results.ResultField\x12\x18\n\x10original_image_w\x18\x02 \x01(\x05\x12\x18\n\x10original_image_h\x18\x03 \x01(\x05\x12\x18\n\x10original_image_c\x18\x04 \x01(\x05\x12\x1b\n\x13original_image_w_mm\x18\x05 \x01(\x01\x12\x1b\n\x13original_image_h_mm\x18\x06 \x01(\x01\x12\x1b\n\x13original_image_c_mm\x18\x07 \x01(\x01\x12\x1d\n\x15mean_gray_active_area\x18\x08 \x01(\x01\x12(\n\x0eresult_summary\x18\t \x01(\x0b\x32\x10.results.Summary\x12\x1c\n\x14min_gray_active_area\x18\n \x01(\x01\x12\x1c\n\x14max_gray_active_area\x18\x0b \x01(\x01\x12,\n\x10\x61vailable_models\x18\x0c \x03(\x0b\x32\x12.results.ModelInfo\"\xcc\x02\n\x0cModelOptions\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x01 \x01(\x08\x12 \n\x18minSegmentationThreshold\x18\x02 \x01(\x01\x12\x14\n\x0cminGrayValue\x18\x03 \x01(\x01\x12\x14\n\x0cmaxGrayValue\x18\x04 \x01(\x01\x12\x18\n\x10maxMeanGrayValue\x18\x05 \x01(\x01\x12\x16\n\x0eminProbability\x18\x06 \x01(\x01\x12\x11\n\tminLength\x18\x07 \x01(\x01\x12\x10\n\x08minWidth\x18\x08 \x01(\x01\x12\x11\n\tminHeight\x18\t \x01(\x01\x12\x0f\n\x07minArea\x18\n \x01(\x01\x12\x1a\n\x12minImageClassifier\x18\x0b \x01(\x01\x12\x15\n\rdeepGrayLevel\x18\x0c \x01(\x01\x12\x10\n\x08priority\x18\r \x01(\x05\x12\x19\n\x11onlyBoundingBoxes\x18\x0e \x01(\x08\"\x9e\x03\n\x0fOptionContainer\x12\x36\n\x07options\x18\x01 \x03(\x0b\x32%.results.OptionContainer.OptionsEntry\x12\x11\n\tdivisor_w\x18\x02 \x01(\x05\x12\x11\n\tdivisor_h\x18\x03 \x01(\x05\x12\x12\n\nbatch_size\x18\x04 \x01(\x05\x12 \n\x18network_img_prescaling_w\x18\x05 \x01(\x05\x12 \n\x18network_img_prescaling_h\x18\x06 \x01(\x05\x12 \n\x18network_img_prescaling_c\x18\x07 \x01(\x05\x12\x10\n\x08\x62order_w\x18\x08 \x01(\x05\x12\x10\n\x08\x62order_h\x18\t \x01(\x05\x12\x12\n\nborder_w_r\x18\n \x01(\x05\x12\x12\n\nborder_h_b\x18\x0b \x01(\x05\x12\x0f\n\x07\x63\x65lls_w\x18\x0c \x01(\x05\x12\x0f\n\x07\x63\x65lls_h\x18\r \x01(\x05\x1a\x45\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.results.ModelOptions:\x02\x38\x01\"\xd6\x01\n\x06\x44\x65vice\x12\x11\n\tdevice_id\x18\x01 \x01(\x05\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.results.DeviceType\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0bmemory_size\x18\x04 \x01(\x03\x12\x12\n\nintegrated\x18\x05 \x01(\x08\x12\x11\n\tcuda_uuid\x18\x06 \x01(\t\x12%\n\x1d\x63uda_compute_capability_major\x18\x07 \x01(\x05\x12%\n\x1d\x63uda_compute_capability_minor\x18\x08 \x01(\x05\"4\n\x11\x44\x65viceInformation\x12\x1f\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32\x0f.results.Device*\xca\x01\n\x0bMapDataType\x12\x0c\n\x08MAP_INT8\x10\x00\x12\r\n\tMAP_INT16\x10\x01\x12\r\n\tMAP_INT32\x10\x02\x12\r\n\tMAP_INT64\x10\x03\x12\r\n\tMAP_UINT8\x10\x04\x12\x0e\n\nMAP_UINT16\x10\x05\x12\x0e\n\nMAP_UINT32\x10\x06\x12\x0e\n\nMAP_UINT64\x10\x07\x12\x0e\n\nMAP_FLOAT8\x10\x08\x12\x0f\n\x0bMAP_FLOAT16\x10\t\x12\x0f\n\x0bMAP_FLOAT32\x10\n\x12\x0f\n\x0bMAP_FLOAT64\x10\x0b*-\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\t*\xd4\x04\n\x0b\x42\x61rcodeType\x12\x10\n\x0c\x42T_UNDEFINED\x10\x00\x12\x0c\n\x08\x42T_AZTEC\x10\x01\x12\x0e\n\nBT_CODABAR\x10\x02\x12\x0e\n\nBT_CODE_32\x10\x03\x12\x0e\n\nBT_CODE_39\x10\x04\x12\x0e\n\nBT_CODE_93\x10\x05\x12\x0f\n\x0b\x42T_CODE_128\x10\x06\x12\x0e\n\nBT_DATABAR\x10\x07\x12\x17\n\x13\x42T_DATABAR_EXPANDED\x10\x08\x12\x16\n\x12\x42T_DATABAR_LIMITED\x10\t\x12\x11\n\rBT_DATAMATRIX\x10\n\x12\x0c\n\x08\x42T_EAN_8\x10\x0b\x12\r\n\tBT_EAN_13\x10\x0c\x12\x1a\n\x16\x42T_EAN_13_WITH_ADDON_2\x10\r\x12\x1a\n\x16\x42T_EAN_13_WITH_ADDON_5\x10\x0e\x12\x15\n\x11\x42T_GS1_DATAMATRIX\x10\x0f\x12\x0e\n\nBT_GS1_128\x10\x10\x12\x0f\n\x0b\x42T_ISBT_128\x10\x11\x12\n\n\x06\x42T_ITF\x10\x12\x12\r\n\tBT_ITF_14\x10\x13\x12\x0f\n\x0b\x42T_MAXICODE\x10\x14\x12\x14\n\x10\x42T_MICRO_QR_CODE\x10\x15\x12\n\n\x06\x42T_MSI\x10\x16\x12\r\n\tBT_PDF417\x10\x17\x12\x0e\n\nBT_QR_CODE\x10\x18\x12\x0c\n\x08\x42T_UPC_A\x10\x19\x12\x19\n\x15\x42T_UPC_A_WITH_ADDON_2\x10\x1a\x12\x19\n\x15\x42T_UPC_A_WITH_ADDON_5\x10\x1b\x12\x0c\n\x08\x42T_UPC_E\x10\x1c\x12\x19\n\x15\x42T_UPC_E_WITH_ADDON_2\x10\x1d\x12\x19\n\x15\x42T_UPC_E_WITH_ADDON_5\x10\x1e*H\n\x0fResultFieldType\x12\x0f\n\x0bRFT_REGULAR\x10\x00\x12\x15\n\x11RFT_MODEL_SUMMARY\x10\x01\x12\r\n\tRFT_DEBUG\x10\x02*-\n\nDeviceType\x12\r\n\tUNDEFINED\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x42+Z\x14\x64\x65nkproto-go/results\xaa\x02\x12\x44\x45NK.Proto.Resultsb\x06proto3')
18
28
 
19
29
  _globals = globals()
20
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
31
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'results_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- _globals['DESCRIPTOR']._options = None
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
24
34
  _globals['DESCRIPTOR']._serialized_options = b'Z\024denkproto-go/results\252\002\022DENK.Proto.Results'
25
- _globals['_OPTIONCONTAINER_OPTIONSENTRY']._options = None
35
+ _globals['_OPTIONCONTAINER_OPTIONSENTRY']._loaded_options = None
26
36
  _globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_options = b'8\001'
27
- _globals['_MAPDATATYPE']._serialized_start=3590
28
- _globals['_MAPDATATYPE']._serialized_end=3792
29
- _globals['_MODELTYPE']._serialized_start=3794
30
- _globals['_MODELTYPE']._serialized_end=3839
31
- _globals['_MODELOUTPUTTYPE']._serialized_start=3842
32
- _globals['_MODELOUTPUTTYPE']._serialized_end=4052
33
- _globals['_DEVICETYPE']._serialized_start=4054
34
- _globals['_DEVICETYPE']._serialized_end=4099
37
+ _globals['_MAPDATATYPE']._serialized_start=3972
38
+ _globals['_MAPDATATYPE']._serialized_end=4174
39
+ _globals['_MODELTYPE']._serialized_start=4176
40
+ _globals['_MODELTYPE']._serialized_end=4221
41
+ _globals['_MODELOUTPUTTYPE']._serialized_start=4224
42
+ _globals['_MODELOUTPUTTYPE']._serialized_end=4541
43
+ _globals['_BARCODETYPE']._serialized_start=4544
44
+ _globals['_BARCODETYPE']._serialized_end=5140
45
+ _globals['_RESULTFIELDTYPE']._serialized_start=5142
46
+ _globals['_RESULTFIELDTYPE']._serialized_end=5214
47
+ _globals['_DEVICETYPE']._serialized_start=5216
48
+ _globals['_DEVICETYPE']._serialized_end=5261
35
49
  _globals['_DEFECTADDRESS']._serialized_start=27
36
50
  _globals['_DEFECTADDRESS']._serialized_end=204
37
51
  _globals['_ROWRLC']._serialized_start=206
38
52
  _globals['_ROWRLC']._serialized_end=266
39
53
  _globals['_OCRCHARACTER']._serialized_start=268
40
- _globals['_OCRCHARACTER']._serialized_end=322
41
- _globals['_OCRCHARACTERPOSITION']._serialized_start=324
42
- _globals['_OCRCHARACTERPOSITION']._serialized_end=392
43
- _globals['_POINT']._serialized_start=394
44
- _globals['_POINT']._serialized_end=423
45
- _globals['_MINIMALBOUNDINGBOX']._serialized_start=425
46
- _globals['_MINIMALBOUNDINGBOX']._serialized_end=527
47
- _globals['_FEATUREFIELD']._serialized_start=530
48
- _globals['_FEATUREFIELD']._serialized_end=1152
49
- _globals['_MAPFIELD']._serialized_start=1155
50
- _globals['_MAPFIELD']._serialized_end=1346
51
- _globals['_RESULTFIELD']._serialized_start=1349
52
- _globals['_RESULTFIELD']._serialized_end=1692
53
- _globals['_SUMMARY']._serialized_start=1695
54
- _globals['_SUMMARY']._serialized_end=1834
55
- _globals['_FEATUREINFO']._serialized_start=1836
56
- _globals['_FEATUREINFO']._serialized_end=1892
57
- _globals['_MODELINFO']._serialized_start=1895
58
- _globals['_MODELINFO']._serialized_end=2170
59
- _globals['_RESULTS']._serialized_start=2173
60
- _globals['_RESULTS']._serialized_end=2564
61
- _globals['_MODELOPTIONS']._serialized_start=2567
62
- _globals['_MODELOPTIONS']._serialized_end=2899
63
- _globals['_OPTIONCONTAINER']._serialized_start=2902
64
- _globals['_OPTIONCONTAINER']._serialized_end=3316
65
- _globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_start=3247
66
- _globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_end=3316
67
- _globals['_DEVICE']._serialized_start=3319
68
- _globals['_DEVICE']._serialized_end=3533
69
- _globals['_DEVICEINFORMATION']._serialized_start=3535
70
- _globals['_DEVICEINFORMATION']._serialized_end=3587
54
+ _globals['_OCRCHARACTER']._serialized_end=339
55
+ _globals['_OCRCHARACTERPOSITION']._serialized_start=341
56
+ _globals['_OCRCHARACTERPOSITION']._serialized_end=409
57
+ _globals['_POINT']._serialized_start=411
58
+ _globals['_POINT']._serialized_end=440
59
+ _globals['_MINIMALBOUNDINGBOX']._serialized_start=442
60
+ _globals['_MINIMALBOUNDINGBOX']._serialized_end=544
61
+ _globals['_ORIENTEDBOUNDINGBOX']._serialized_start=546
62
+ _globals['_ORIENTEDBOUNDINGBOX']._serialized_end=671
63
+ _globals['_FEATUREFIELD']._serialized_start=674
64
+ _globals['_FEATUREFIELD']._serialized_end=1481
65
+ _globals['_MAPFIELD']._serialized_start=1484
66
+ _globals['_MAPFIELD']._serialized_end=1675
67
+ _globals['_RESULTFIELD']._serialized_start=1678
68
+ _globals['_RESULTFIELD']._serialized_end=2074
69
+ _globals['_SUMMARY']._serialized_start=2077
70
+ _globals['_SUMMARY']._serialized_end=2216
71
+ _globals['_FEATUREINFO']._serialized_start=2218
72
+ _globals['_FEATUREINFO']._serialized_end=2274
73
+ _globals['_MODELINFO']._serialized_start=2277
74
+ _globals['_MODELINFO']._serialized_end=2552
75
+ _globals['_RESULTS']._serialized_start=2555
76
+ _globals['_RESULTS']._serialized_end=2946
77
+ _globals['_MODELOPTIONS']._serialized_start=2949
78
+ _globals['_MODELOPTIONS']._serialized_end=3281
79
+ _globals['_OPTIONCONTAINER']._serialized_start=3284
80
+ _globals['_OPTIONCONTAINER']._serialized_end=3698
81
+ _globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_start=3629
82
+ _globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_end=3698
83
+ _globals['_DEVICE']._serialized_start=3701
84
+ _globals['_DEVICE']._serialized_end=3915
85
+ _globals['_DEVICEINFORMATION']._serialized_start=3917
86
+ _globals['_DEVICEINFORMATION']._serialized_end=3969
71
87
  # @@protoc_insertion_point(module_scope)
denkproto/results_pb2.pyi CHANGED
@@ -35,6 +35,49 @@ class ModelOutputType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
35
35
  TYPE_OBJECT_DETECTION: _ClassVar[ModelOutputType]
36
36
  TYPE_ANOMALY_DETECTION: _ClassVar[ModelOutputType]
37
37
  TYPE_OPTICAL_CHARACTER_RECOGNITION: _ClassVar[ModelOutputType]
38
+ TYPE_BARCODES: _ClassVar[ModelOutputType]
39
+ TYPE_OBJECT_DETECTION_HALF_ORIENTATION: _ClassVar[ModelOutputType]
40
+ TYPE_OBJECT_DETECTION_FULL_ORIENTATION: _ClassVar[ModelOutputType]
41
+
42
+ class BarcodeType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
43
+ __slots__ = ()
44
+ BT_UNDEFINED: _ClassVar[BarcodeType]
45
+ BT_AZTEC: _ClassVar[BarcodeType]
46
+ BT_CODABAR: _ClassVar[BarcodeType]
47
+ BT_CODE_32: _ClassVar[BarcodeType]
48
+ BT_CODE_39: _ClassVar[BarcodeType]
49
+ BT_CODE_93: _ClassVar[BarcodeType]
50
+ BT_CODE_128: _ClassVar[BarcodeType]
51
+ BT_DATABAR: _ClassVar[BarcodeType]
52
+ BT_DATABAR_EXPANDED: _ClassVar[BarcodeType]
53
+ BT_DATABAR_LIMITED: _ClassVar[BarcodeType]
54
+ BT_DATAMATRIX: _ClassVar[BarcodeType]
55
+ BT_EAN_8: _ClassVar[BarcodeType]
56
+ BT_EAN_13: _ClassVar[BarcodeType]
57
+ BT_EAN_13_WITH_ADDON_2: _ClassVar[BarcodeType]
58
+ BT_EAN_13_WITH_ADDON_5: _ClassVar[BarcodeType]
59
+ BT_GS1_DATAMATRIX: _ClassVar[BarcodeType]
60
+ BT_GS1_128: _ClassVar[BarcodeType]
61
+ BT_ISBT_128: _ClassVar[BarcodeType]
62
+ BT_ITF: _ClassVar[BarcodeType]
63
+ BT_ITF_14: _ClassVar[BarcodeType]
64
+ BT_MAXICODE: _ClassVar[BarcodeType]
65
+ BT_MICRO_QR_CODE: _ClassVar[BarcodeType]
66
+ BT_MSI: _ClassVar[BarcodeType]
67
+ BT_PDF417: _ClassVar[BarcodeType]
68
+ BT_QR_CODE: _ClassVar[BarcodeType]
69
+ BT_UPC_A: _ClassVar[BarcodeType]
70
+ BT_UPC_A_WITH_ADDON_2: _ClassVar[BarcodeType]
71
+ BT_UPC_A_WITH_ADDON_5: _ClassVar[BarcodeType]
72
+ BT_UPC_E: _ClassVar[BarcodeType]
73
+ BT_UPC_E_WITH_ADDON_2: _ClassVar[BarcodeType]
74
+ BT_UPC_E_WITH_ADDON_5: _ClassVar[BarcodeType]
75
+
76
+ class ResultFieldType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
77
+ __slots__ = ()
78
+ RFT_REGULAR: _ClassVar[ResultFieldType]
79
+ RFT_MODEL_SUMMARY: _ClassVar[ResultFieldType]
80
+ RFT_DEBUG: _ClassVar[ResultFieldType]
38
81
 
39
82
  class DeviceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
40
83
  __slots__ = ()
@@ -62,6 +105,43 @@ TYPE_INSTANCE_SEGMENTATION: ModelOutputType
62
105
  TYPE_OBJECT_DETECTION: ModelOutputType
63
106
  TYPE_ANOMALY_DETECTION: ModelOutputType
64
107
  TYPE_OPTICAL_CHARACTER_RECOGNITION: ModelOutputType
108
+ TYPE_BARCODES: ModelOutputType
109
+ TYPE_OBJECT_DETECTION_HALF_ORIENTATION: ModelOutputType
110
+ TYPE_OBJECT_DETECTION_FULL_ORIENTATION: ModelOutputType
111
+ BT_UNDEFINED: BarcodeType
112
+ BT_AZTEC: BarcodeType
113
+ BT_CODABAR: BarcodeType
114
+ BT_CODE_32: BarcodeType
115
+ BT_CODE_39: BarcodeType
116
+ BT_CODE_93: BarcodeType
117
+ BT_CODE_128: BarcodeType
118
+ BT_DATABAR: BarcodeType
119
+ BT_DATABAR_EXPANDED: BarcodeType
120
+ BT_DATABAR_LIMITED: BarcodeType
121
+ BT_DATAMATRIX: BarcodeType
122
+ BT_EAN_8: BarcodeType
123
+ BT_EAN_13: BarcodeType
124
+ BT_EAN_13_WITH_ADDON_2: BarcodeType
125
+ BT_EAN_13_WITH_ADDON_5: BarcodeType
126
+ BT_GS1_DATAMATRIX: BarcodeType
127
+ BT_GS1_128: BarcodeType
128
+ BT_ISBT_128: BarcodeType
129
+ BT_ITF: BarcodeType
130
+ BT_ITF_14: BarcodeType
131
+ BT_MAXICODE: BarcodeType
132
+ BT_MICRO_QR_CODE: BarcodeType
133
+ BT_MSI: BarcodeType
134
+ BT_PDF417: BarcodeType
135
+ BT_QR_CODE: BarcodeType
136
+ BT_UPC_A: BarcodeType
137
+ BT_UPC_A_WITH_ADDON_2: BarcodeType
138
+ BT_UPC_A_WITH_ADDON_5: BarcodeType
139
+ BT_UPC_E: BarcodeType
140
+ BT_UPC_E_WITH_ADDON_2: BarcodeType
141
+ BT_UPC_E_WITH_ADDON_5: BarcodeType
142
+ RFT_REGULAR: ResultFieldType
143
+ RFT_MODEL_SUMMARY: ResultFieldType
144
+ RFT_DEBUG: ResultFieldType
65
145
  UNDEFINED: DeviceType
66
146
  CPU: DeviceType
67
147
  GPU: DeviceType
@@ -95,12 +175,14 @@ class RowRLC(_message.Message):
95
175
  def __init__(self, offset_x: _Optional[int] = ..., offset_y: _Optional[int] = ..., length: _Optional[int] = ...) -> None: ...
96
176
 
97
177
  class OcrCharacter(_message.Message):
98
- __slots__ = ("character", "probability")
178
+ __slots__ = ("character", "probability", "ignored")
99
179
  CHARACTER_FIELD_NUMBER: _ClassVar[int]
100
180
  PROBABILITY_FIELD_NUMBER: _ClassVar[int]
181
+ IGNORED_FIELD_NUMBER: _ClassVar[int]
101
182
  character: str
102
183
  probability: float
103
- def __init__(self, character: _Optional[str] = ..., probability: _Optional[float] = ...) -> None: ...
184
+ ignored: bool
185
+ def __init__(self, character: _Optional[str] = ..., probability: _Optional[float] = ..., ignored: bool = ...) -> None: ...
104
186
 
105
187
  class OcrCharacterPosition(_message.Message):
106
188
  __slots__ = ("ocr_character",)
@@ -130,8 +212,22 @@ class MinimalBoundingBox(_message.Message):
130
212
  angle: float
131
213
  def __init__(self, center_x: _Optional[float] = ..., center_y: _Optional[float] = ..., width: _Optional[float] = ..., height: _Optional[float] = ..., angle: _Optional[float] = ...) -> None: ...
132
214
 
215
+ class OrientedBoundingBox(_message.Message):
216
+ __slots__ = ("center", "width", "height", "angle", "full_orientation")
217
+ CENTER_FIELD_NUMBER: _ClassVar[int]
218
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
219
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
220
+ ANGLE_FIELD_NUMBER: _ClassVar[int]
221
+ FULL_ORIENTATION_FIELD_NUMBER: _ClassVar[int]
222
+ center: Point
223
+ width: float
224
+ height: float
225
+ angle: float
226
+ full_orientation: bool
227
+ def __init__(self, center: _Optional[_Union[Point, _Mapping]] = ..., width: _Optional[float] = ..., height: _Optional[float] = ..., angle: _Optional[float] = ..., full_orientation: bool = ...) -> None: ...
228
+
133
229
  class FeatureField(_message.Message):
134
- __slots__ = ("label", "show", "color", "rect_x", "rect_y", "rect_w", "rect_h", "probability", "area", "length", "width", "mean_gray", "max_gray", "min_gray", "in_area", "overlaps_with", "rect_x_mm", "rect_y_mm", "rect_w_mm", "rect_h_mm", "row_rlc", "ocr_character_position", "minimal_bounding_box", "minimal_bounding_box_point", "write_protected_label")
230
+ __slots__ = ("label", "show", "color", "rect_x", "rect_y", "rect_w", "rect_h", "probability", "area", "length", "width", "mean_gray", "max_gray", "min_gray", "in_area", "overlaps_with", "rect_x_mm", "rect_y_mm", "rect_w_mm", "rect_h_mm", "row_rlc", "ocr_character_position", "minimal_bounding_box", "minimal_bounding_box_point", "write_protected_label", "barcode_type", "barcode_raw_bytes", "oriented_bounding_box", "oriented_bounding_box_point")
135
231
  LABEL_FIELD_NUMBER: _ClassVar[int]
136
232
  SHOW_FIELD_NUMBER: _ClassVar[int]
137
233
  COLOR_FIELD_NUMBER: _ClassVar[int]
@@ -157,6 +253,10 @@ class FeatureField(_message.Message):
157
253
  MINIMAL_BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
158
254
  MINIMAL_BOUNDING_BOX_POINT_FIELD_NUMBER: _ClassVar[int]
159
255
  WRITE_PROTECTED_LABEL_FIELD_NUMBER: _ClassVar[int]
256
+ BARCODE_TYPE_FIELD_NUMBER: _ClassVar[int]
257
+ BARCODE_RAW_BYTES_FIELD_NUMBER: _ClassVar[int]
258
+ ORIENTED_BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
259
+ ORIENTED_BOUNDING_BOX_POINT_FIELD_NUMBER: _ClassVar[int]
160
260
  label: str
161
261
  show: bool
162
262
  color: _containers.RepeatedScalarFieldContainer[int]
@@ -182,7 +282,11 @@ class FeatureField(_message.Message):
182
282
  minimal_bounding_box: MinimalBoundingBox
183
283
  minimal_bounding_box_point: _containers.RepeatedCompositeFieldContainer[Point]
184
284
  write_protected_label: bool
185
- def __init__(self, label: _Optional[str] = ..., show: bool = ..., color: _Optional[_Iterable[int]] = ..., rect_x: _Optional[int] = ..., rect_y: _Optional[int] = ..., rect_w: _Optional[int] = ..., rect_h: _Optional[int] = ..., probability: _Optional[float] = ..., area: _Optional[float] = ..., length: _Optional[float] = ..., width: _Optional[float] = ..., mean_gray: _Optional[float] = ..., max_gray: _Optional[float] = ..., min_gray: _Optional[float] = ..., in_area: _Optional[_Iterable[int]] = ..., overlaps_with: _Optional[_Iterable[_Union[DefectAddress, _Mapping]]] = ..., rect_x_mm: _Optional[float] = ..., rect_y_mm: _Optional[float] = ..., rect_w_mm: _Optional[float] = ..., rect_h_mm: _Optional[float] = ..., row_rlc: _Optional[_Iterable[_Union[RowRLC, _Mapping]]] = ..., ocr_character_position: _Optional[_Iterable[_Union[OcrCharacterPosition, _Mapping]]] = ..., minimal_bounding_box: _Optional[_Union[MinimalBoundingBox, _Mapping]] = ..., minimal_bounding_box_point: _Optional[_Iterable[_Union[Point, _Mapping]]] = ..., write_protected_label: bool = ...) -> None: ...
285
+ barcode_type: BarcodeType
286
+ barcode_raw_bytes: bytes
287
+ oriented_bounding_box: OrientedBoundingBox
288
+ oriented_bounding_box_point: _containers.RepeatedCompositeFieldContainer[Point]
289
+ def __init__(self, label: _Optional[str] = ..., show: bool = ..., color: _Optional[_Iterable[int]] = ..., rect_x: _Optional[int] = ..., rect_y: _Optional[int] = ..., rect_w: _Optional[int] = ..., rect_h: _Optional[int] = ..., probability: _Optional[float] = ..., area: _Optional[float] = ..., length: _Optional[float] = ..., width: _Optional[float] = ..., mean_gray: _Optional[float] = ..., max_gray: _Optional[float] = ..., min_gray: _Optional[float] = ..., in_area: _Optional[_Iterable[int]] = ..., overlaps_with: _Optional[_Iterable[_Union[DefectAddress, _Mapping]]] = ..., rect_x_mm: _Optional[float] = ..., rect_y_mm: _Optional[float] = ..., rect_w_mm: _Optional[float] = ..., rect_h_mm: _Optional[float] = ..., row_rlc: _Optional[_Iterable[_Union[RowRLC, _Mapping]]] = ..., ocr_character_position: _Optional[_Iterable[_Union[OcrCharacterPosition, _Mapping]]] = ..., minimal_bounding_box: _Optional[_Union[MinimalBoundingBox, _Mapping]] = ..., minimal_bounding_box_point: _Optional[_Iterable[_Union[Point, _Mapping]]] = ..., write_protected_label: bool = ..., barcode_type: _Optional[_Union[BarcodeType, str]] = ..., barcode_raw_bytes: _Optional[bytes] = ..., oriented_bounding_box: _Optional[_Union[OrientedBoundingBox, _Mapping]] = ..., oriented_bounding_box_point: _Optional[_Iterable[_Union[Point, _Mapping]]] = ...) -> None: ...
186
290
 
187
291
  class MapField(_message.Message):
188
292
  __slots__ = ("label", "show", "color", "datatype", "image_w", "image_h", "image_c", "start_position", "end_position")
@@ -207,7 +311,7 @@ class MapField(_message.Message):
207
311
  def __init__(self, label: _Optional[str] = ..., show: bool = ..., color: _Optional[_Iterable[int]] = ..., datatype: _Optional[_Union[MapDataType, str]] = ..., image_w: _Optional[int] = ..., image_h: _Optional[int] = ..., image_c: _Optional[int] = ..., start_position: _Optional[int] = ..., end_position: _Optional[int] = ...) -> None: ...
208
312
 
209
313
  class ResultField(_message.Message):
210
- __slots__ = ("model_label", "model_tag", "model_id", "classifier", "evaluation_time_ms", "post_processing_time_ms", "result_map", "feature", "tenant", "tenant_id", "onnx_version_major", "onnx_version_minor", "feature_uid")
314
+ __slots__ = ("model_label", "model_tag", "model_id", "classifier", "evaluation_time_ms", "post_processing_time_ms", "result_map", "feature", "tenant", "tenant_id", "onnx_version_major", "onnx_version_minor", "feature_uid", "result_field_type")
211
315
  MODEL_LABEL_FIELD_NUMBER: _ClassVar[int]
212
316
  MODEL_TAG_FIELD_NUMBER: _ClassVar[int]
213
317
  MODEL_ID_FIELD_NUMBER: _ClassVar[int]
@@ -221,6 +325,7 @@ class ResultField(_message.Message):
221
325
  ONNX_VERSION_MAJOR_FIELD_NUMBER: _ClassVar[int]
222
326
  ONNX_VERSION_MINOR_FIELD_NUMBER: _ClassVar[int]
223
327
  FEATURE_UID_FIELD_NUMBER: _ClassVar[int]
328
+ RESULT_FIELD_TYPE_FIELD_NUMBER: _ClassVar[int]
224
329
  model_label: str
225
330
  model_tag: str
226
331
  model_id: int
@@ -234,7 +339,8 @@ class ResultField(_message.Message):
234
339
  onnx_version_major: int
235
340
  onnx_version_minor: int
236
341
  feature_uid: str
237
- def __init__(self, model_label: _Optional[str] = ..., model_tag: _Optional[str] = ..., model_id: _Optional[int] = ..., classifier: _Optional[float] = ..., evaluation_time_ms: _Optional[float] = ..., post_processing_time_ms: _Optional[float] = ..., result_map: _Optional[_Iterable[_Union[MapField, _Mapping]]] = ..., feature: _Optional[_Iterable[_Union[FeatureField, _Mapping]]] = ..., tenant: _Optional[str] = ..., tenant_id: _Optional[str] = ..., onnx_version_major: _Optional[int] = ..., onnx_version_minor: _Optional[int] = ..., feature_uid: _Optional[str] = ...) -> None: ...
342
+ result_field_type: ResultFieldType
343
+ def __init__(self, model_label: _Optional[str] = ..., model_tag: _Optional[str] = ..., model_id: _Optional[int] = ..., classifier: _Optional[float] = ..., evaluation_time_ms: _Optional[float] = ..., post_processing_time_ms: _Optional[float] = ..., result_map: _Optional[_Iterable[_Union[MapField, _Mapping]]] = ..., feature: _Optional[_Iterable[_Union[FeatureField, _Mapping]]] = ..., tenant: _Optional[str] = ..., tenant_id: _Optional[str] = ..., onnx_version_major: _Optional[int] = ..., onnx_version_minor: _Optional[int] = ..., feature_uid: _Optional[str] = ..., result_field_type: _Optional[_Union[ResultFieldType, str]] = ...) -> None: ...
238
344
 
239
345
  class Summary(_message.Message):
240
346
  __slots__ = ("image_class", "class_code", "most_relevant_defect", "relevant_defects_json", "feature_table_json")
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.68.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in results_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )