Wes xx mediapipe integration
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2f0eac5ef5fa2a24698ac8d2ef43ee70
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4facbf66687417bca38efde0cd05615
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4f57edd5720360c5b5f915972c86488
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,536 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/belief_decoder_config.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/belief_decoder_config.proto</summary>
|
||||
public static partial class BeliefDecoderConfigReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/belief_decoder_config.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BeliefDecoderConfigReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkNtZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvYmVs",
|
||||
"aWVmX2RlY29kZXJfY29uZmlnLnByb3RvEgltZWRpYXBpcGUixAEKE0JlbGll",
|
||||
"ZkRlY29kZXJDb25maWcSHgoRaGVhdG1hcF90aHJlc2hvbGQYASABKAI6AzAu",
|
||||
"ORIeChJsb2NhbF9tYXhfZGlzdGFuY2UYAiABKAI6AjEwEiIKEW9mZnNldF9z",
|
||||
"Y2FsZV9jb2VmGAMgASgCOgMwLjVCAhgBEhUKDXZvdGluZ19yYWRpdXMYBCAB",
|
||||
"KAUSGAoQdm90aW5nX2FsbG93YW5jZRgFIAEoBRIYChB2b3RpbmdfdGhyZXNo",
|
||||
"b2xkGAYgASgC"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.BeliefDecoderConfig), global::Mediapipe.BeliefDecoderConfig.Parser, new[]{ "HeatmapThreshold", "LocalMaxDistance", "OffsetScaleCoef", "VotingRadius", "VotingAllowance", "VotingThreshold" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class BeliefDecoderConfig : pb::IMessage<BeliefDecoderConfig>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BeliefDecoderConfig> _parser = new pb::MessageParser<BeliefDecoderConfig>(() => new BeliefDecoderConfig());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BeliefDecoderConfig> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.BeliefDecoderConfigReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BeliefDecoderConfig() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BeliefDecoderConfig(BeliefDecoderConfig other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
heatmapThreshold_ = other.heatmapThreshold_;
|
||||
localMaxDistance_ = other.localMaxDistance_;
|
||||
offsetScaleCoef_ = other.offsetScaleCoef_;
|
||||
votingRadius_ = other.votingRadius_;
|
||||
votingAllowance_ = other.votingAllowance_;
|
||||
votingThreshold_ = other.votingThreshold_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BeliefDecoderConfig Clone() {
|
||||
return new BeliefDecoderConfig(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "heatmap_threshold" field.</summary>
|
||||
public const int HeatmapThresholdFieldNumber = 1;
|
||||
private readonly static float HeatmapThresholdDefaultValue = 0.9F;
|
||||
|
||||
private float heatmapThreshold_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float HeatmapThreshold {
|
||||
get { if ((_hasBits0 & 1) != 0) { return heatmapThreshold_; } else { return HeatmapThresholdDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
heatmapThreshold_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "heatmap_threshold" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasHeatmapThreshold {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "heatmap_threshold" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearHeatmapThreshold() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "local_max_distance" field.</summary>
|
||||
public const int LocalMaxDistanceFieldNumber = 2;
|
||||
private readonly static float LocalMaxDistanceDefaultValue = 10F;
|
||||
|
||||
private float localMaxDistance_;
|
||||
/// <summary>
|
||||
/// Maximum distance in pixels between two local max heatmap values.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float LocalMaxDistance {
|
||||
get { if ((_hasBits0 & 2) != 0) { return localMaxDistance_; } else { return LocalMaxDistanceDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
localMaxDistance_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "local_max_distance" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasLocalMaxDistance {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "local_max_distance" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearLocalMaxDistance() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "offset_scale_coef" field.</summary>
|
||||
public const int OffsetScaleCoefFieldNumber = 3;
|
||||
private readonly static float OffsetScaleCoefDefaultValue = 0.5F;
|
||||
|
||||
private float offsetScaleCoef_;
|
||||
/// <summary>
|
||||
/// Coefficient of offset_scale.
|
||||
/// offset_scale = offset_scale_coef * min(rows, cols).
|
||||
/// offset_scale is used to multiply the offset predictions from the network.
|
||||
/// </summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float OffsetScaleCoef {
|
||||
get { if ((_hasBits0 & 4) != 0) { return offsetScaleCoef_; } else { return OffsetScaleCoefDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
offsetScaleCoef_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "offset_scale_coef" field is set</summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasOffsetScaleCoef {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "offset_scale_coef" field</summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearOffsetScaleCoef() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "voting_radius" field.</summary>
|
||||
public const int VotingRadiusFieldNumber = 4;
|
||||
private readonly static int VotingRadiusDefaultValue = 0;
|
||||
|
||||
private int votingRadius_;
|
||||
/// <summary>
|
||||
/// The radius for vertex voting. Use no voting if the radius is less than or
|
||||
/// euqal to 1. Example: 10.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int VotingRadius {
|
||||
get { if ((_hasBits0 & 8) != 0) { return votingRadius_; } else { return VotingRadiusDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 8;
|
||||
votingRadius_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "voting_radius" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasVotingRadius {
|
||||
get { return (_hasBits0 & 8) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "voting_radius" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearVotingRadius() {
|
||||
_hasBits0 &= ~8;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "voting_allowance" field.</summary>
|
||||
public const int VotingAllowanceFieldNumber = 5;
|
||||
private readonly static int VotingAllowanceDefaultValue = 0;
|
||||
|
||||
private int votingAllowance_;
|
||||
/// <summary>
|
||||
/// The number of pixels to determine whether two points are the same.
|
||||
/// Example: 5 (voting_radius / 2).
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int VotingAllowance {
|
||||
get { if ((_hasBits0 & 16) != 0) { return votingAllowance_; } else { return VotingAllowanceDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 16;
|
||||
votingAllowance_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "voting_allowance" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasVotingAllowance {
|
||||
get { return (_hasBits0 & 16) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "voting_allowance" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearVotingAllowance() {
|
||||
_hasBits0 &= ~16;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "voting_threshold" field.</summary>
|
||||
public const int VotingThresholdFieldNumber = 6;
|
||||
private readonly static float VotingThresholdDefaultValue = 0F;
|
||||
|
||||
private float votingThreshold_;
|
||||
/// <summary>
|
||||
/// The threshold of beliefs, with which the points can vote. Example: 0.2.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float VotingThreshold {
|
||||
get { if ((_hasBits0 & 32) != 0) { return votingThreshold_; } else { return VotingThresholdDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 32;
|
||||
votingThreshold_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "voting_threshold" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasVotingThreshold {
|
||||
get { return (_hasBits0 & 32) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "voting_threshold" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearVotingThreshold() {
|
||||
_hasBits0 &= ~32;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BeliefDecoderConfig);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BeliefDecoderConfig other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HeatmapThreshold, other.HeatmapThreshold)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocalMaxDistance, other.LocalMaxDistance)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OffsetScaleCoef, other.OffsetScaleCoef)) return false;
|
||||
if (VotingRadius != other.VotingRadius) return false;
|
||||
if (VotingAllowance != other.VotingAllowance) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VotingThreshold, other.VotingThreshold)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasHeatmapThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HeatmapThreshold);
|
||||
if (HasLocalMaxDistance) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocalMaxDistance);
|
||||
if (HasOffsetScaleCoef) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OffsetScaleCoef);
|
||||
if (HasVotingRadius) hash ^= VotingRadius.GetHashCode();
|
||||
if (HasVotingAllowance) hash ^= VotingAllowance.GetHashCode();
|
||||
if (HasVotingThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VotingThreshold);
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasHeatmapThreshold) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(HeatmapThreshold);
|
||||
}
|
||||
if (HasLocalMaxDistance) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(LocalMaxDistance);
|
||||
}
|
||||
if (HasOffsetScaleCoef) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(OffsetScaleCoef);
|
||||
}
|
||||
if (HasVotingRadius) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(VotingRadius);
|
||||
}
|
||||
if (HasVotingAllowance) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(VotingAllowance);
|
||||
}
|
||||
if (HasVotingThreshold) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(VotingThreshold);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasHeatmapThreshold) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(HeatmapThreshold);
|
||||
}
|
||||
if (HasLocalMaxDistance) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(LocalMaxDistance);
|
||||
}
|
||||
if (HasOffsetScaleCoef) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(OffsetScaleCoef);
|
||||
}
|
||||
if (HasVotingRadius) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(VotingRadius);
|
||||
}
|
||||
if (HasVotingAllowance) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(VotingAllowance);
|
||||
}
|
||||
if (HasVotingThreshold) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(VotingThreshold);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasHeatmapThreshold) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasLocalMaxDistance) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasOffsetScaleCoef) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasVotingRadius) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(VotingRadius);
|
||||
}
|
||||
if (HasVotingAllowance) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(VotingAllowance);
|
||||
}
|
||||
if (HasVotingThreshold) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BeliefDecoderConfig other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasHeatmapThreshold) {
|
||||
HeatmapThreshold = other.HeatmapThreshold;
|
||||
}
|
||||
if (other.HasLocalMaxDistance) {
|
||||
LocalMaxDistance = other.LocalMaxDistance;
|
||||
}
|
||||
if (other.HasOffsetScaleCoef) {
|
||||
OffsetScaleCoef = other.OffsetScaleCoef;
|
||||
}
|
||||
if (other.HasVotingRadius) {
|
||||
VotingRadius = other.VotingRadius;
|
||||
}
|
||||
if (other.HasVotingAllowance) {
|
||||
VotingAllowance = other.VotingAllowance;
|
||||
}
|
||||
if (other.HasVotingThreshold) {
|
||||
VotingThreshold = other.VotingThreshold;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 13: {
|
||||
HeatmapThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
LocalMaxDistance = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
OffsetScaleCoef = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
VotingRadius = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
VotingAllowance = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
VotingThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 13: {
|
||||
HeatmapThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
LocalMaxDistance = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
OffsetScaleCoef = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
VotingRadius = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
VotingAllowance = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
VotingThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c57c54bc05f78c9f790236220a85e6c8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,565 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/camera_parameters.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/camera_parameters.proto</summary>
|
||||
public static partial class CameraParametersReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/camera_parameters.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CameraParametersReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cj9tZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvY2Ft",
|
||||
"ZXJhX3BhcmFtZXRlcnMucHJvdG8SCW1lZGlhcGlwZSLnAwoVQ2FtZXJhUGFy",
|
||||
"YW1ldGVyc1Byb3RvEiAKE2hlaWdodF9hYm92ZV9ncm91bmQYASABKAI6AzEw",
|
||||
"MBIeCg5wb3J0cmFpdF93aWR0aBgCIAEoAjoGMS4wMTAzEh8KD3BvcnRyYWl0",
|
||||
"X2hlaWdodBgDIAEoAjoGMS4zNDM1EmIKEWltYWdlX29yaWVudGF0aW9uGAQg",
|
||||
"ASgOMjEubWVkaWFwaXBlLkNhbWVyYVBhcmFtZXRlcnNQcm90by5JbWFnZU9y",
|
||||
"aWVudGF0aW9uOhRQT1JUUkFJVF9PUklFTlRBVElPThJWCg9wcm9qZWN0aW9u",
|
||||
"X21vZGUYBSABKA4yLy5tZWRpYXBpcGUuQ2FtZXJhUGFyYW1ldGVyc1Byb3Rv",
|
||||
"LlByb2plY3Rpb25Nb2RlOgxHUk9VTkRfUExBTkUSJQoYcHJvamVjdGlvbl9z",
|
||||
"cGhlcmVfcmFkaXVzGAYgASgCOgMxMDAiRwoQSW1hZ2VPcmllbnRhdGlvbhIY",
|
||||
"ChRQT1JUUkFJVF9PUklFTlRBVElPThAAEhkKFUxBTkRTQ0FQRV9PUklFTlRB",
|
||||
"VElPThABIj8KDlByb2plY3Rpb25Nb2RlEg8KC1VOU1BFQ0lGSUVEEAASEAoM",
|
||||
"R1JPVU5EX1BMQU5FEAESCgoGU1BIRVJFEAI="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.CameraParametersProto), global::Mediapipe.CameraParametersProto.Parser, new[]{ "HeightAboveGround", "PortraitWidth", "PortraitHeight", "ImageOrientation", "ProjectionMode", "ProjectionSphereRadius" }, null, new[]{ typeof(global::Mediapipe.CameraParametersProto.Types.ImageOrientation), typeof(global::Mediapipe.CameraParametersProto.Types.ProjectionMode) }, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class CameraParametersProto : pb::IMessage<CameraParametersProto>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CameraParametersProto> _parser = new pb::MessageParser<CameraParametersProto>(() => new CameraParametersProto());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CameraParametersProto> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.CameraParametersReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CameraParametersProto() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CameraParametersProto(CameraParametersProto other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
heightAboveGround_ = other.heightAboveGround_;
|
||||
portraitWidth_ = other.portraitWidth_;
|
||||
portraitHeight_ = other.portraitHeight_;
|
||||
imageOrientation_ = other.imageOrientation_;
|
||||
projectionMode_ = other.projectionMode_;
|
||||
projectionSphereRadius_ = other.projectionSphereRadius_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CameraParametersProto Clone() {
|
||||
return new CameraParametersProto(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "height_above_ground" field.</summary>
|
||||
public const int HeightAboveGroundFieldNumber = 1;
|
||||
private readonly static float HeightAboveGroundDefaultValue = 100F;
|
||||
|
||||
private float heightAboveGround_;
|
||||
/// <summary>
|
||||
/// This number is non-negative, it represents camera height above ground
|
||||
/// normalized by focal length.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float HeightAboveGround {
|
||||
get { if ((_hasBits0 & 1) != 0) { return heightAboveGround_; } else { return HeightAboveGroundDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
heightAboveGround_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "height_above_ground" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasHeightAboveGround {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "height_above_ground" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearHeightAboveGround() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "portrait_width" field.</summary>
|
||||
public const int PortraitWidthFieldNumber = 2;
|
||||
private readonly static float PortraitWidthDefaultValue = 1.0103F;
|
||||
|
||||
private float portraitWidth_;
|
||||
/// <summary>
|
||||
/// Width of image in portrait orientation normalized by focal length
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float PortraitWidth {
|
||||
get { if ((_hasBits0 & 2) != 0) { return portraitWidth_; } else { return PortraitWidthDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
portraitWidth_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "portrait_width" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasPortraitWidth {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "portrait_width" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearPortraitWidth() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "portrait_height" field.</summary>
|
||||
public const int PortraitHeightFieldNumber = 3;
|
||||
private readonly static float PortraitHeightDefaultValue = 1.3435F;
|
||||
|
||||
private float portraitHeight_;
|
||||
/// <summary>
|
||||
/// Height of image in portrait orientation normalized by focal length
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float PortraitHeight {
|
||||
get { if ((_hasBits0 & 4) != 0) { return portraitHeight_; } else { return PortraitHeightDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
portraitHeight_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "portrait_height" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasPortraitHeight {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "portrait_height" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearPortraitHeight() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "image_orientation" field.</summary>
|
||||
public const int ImageOrientationFieldNumber = 4;
|
||||
private readonly static global::Mediapipe.CameraParametersProto.Types.ImageOrientation ImageOrientationDefaultValue = global::Mediapipe.CameraParametersProto.Types.ImageOrientation.PortraitOrientation;
|
||||
|
||||
private global::Mediapipe.CameraParametersProto.Types.ImageOrientation imageOrientation_;
|
||||
/// <summary>
|
||||
/// The input image orientation
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Mediapipe.CameraParametersProto.Types.ImageOrientation ImageOrientation {
|
||||
get { if ((_hasBits0 & 8) != 0) { return imageOrientation_; } else { return ImageOrientationDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 8;
|
||||
imageOrientation_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "image_orientation" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasImageOrientation {
|
||||
get { return (_hasBits0 & 8) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "image_orientation" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearImageOrientation() {
|
||||
_hasBits0 &= ~8;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "projection_mode" field.</summary>
|
||||
public const int ProjectionModeFieldNumber = 5;
|
||||
private readonly static global::Mediapipe.CameraParametersProto.Types.ProjectionMode ProjectionModeDefaultValue = global::Mediapipe.CameraParametersProto.Types.ProjectionMode.GroundPlane;
|
||||
|
||||
private global::Mediapipe.CameraParametersProto.Types.ProjectionMode projectionMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Mediapipe.CameraParametersProto.Types.ProjectionMode ProjectionMode {
|
||||
get { if ((_hasBits0 & 16) != 0) { return projectionMode_; } else { return ProjectionModeDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 16;
|
||||
projectionMode_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "projection_mode" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasProjectionMode {
|
||||
get { return (_hasBits0 & 16) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "projection_mode" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearProjectionMode() {
|
||||
_hasBits0 &= ~16;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "projection_sphere_radius" field.</summary>
|
||||
public const int ProjectionSphereRadiusFieldNumber = 6;
|
||||
private readonly static float ProjectionSphereRadiusDefaultValue = 100F;
|
||||
|
||||
private float projectionSphereRadius_;
|
||||
/// <summary>
|
||||
/// Radius of sphere when using the SPHERE projection mode above.
|
||||
/// The value is normalized by focal length.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ProjectionSphereRadius {
|
||||
get { if ((_hasBits0 & 32) != 0) { return projectionSphereRadius_; } else { return ProjectionSphereRadiusDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 32;
|
||||
projectionSphereRadius_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "projection_sphere_radius" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasProjectionSphereRadius {
|
||||
get { return (_hasBits0 & 32) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "projection_sphere_radius" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearProjectionSphereRadius() {
|
||||
_hasBits0 &= ~32;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CameraParametersProto);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CameraParametersProto other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HeightAboveGround, other.HeightAboveGround)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PortraitWidth, other.PortraitWidth)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PortraitHeight, other.PortraitHeight)) return false;
|
||||
if (ImageOrientation != other.ImageOrientation) return false;
|
||||
if (ProjectionMode != other.ProjectionMode) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ProjectionSphereRadius, other.ProjectionSphereRadius)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasHeightAboveGround) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HeightAboveGround);
|
||||
if (HasPortraitWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PortraitWidth);
|
||||
if (HasPortraitHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PortraitHeight);
|
||||
if (HasImageOrientation) hash ^= ImageOrientation.GetHashCode();
|
||||
if (HasProjectionMode) hash ^= ProjectionMode.GetHashCode();
|
||||
if (HasProjectionSphereRadius) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ProjectionSphereRadius);
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasHeightAboveGround) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(HeightAboveGround);
|
||||
}
|
||||
if (HasPortraitWidth) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(PortraitWidth);
|
||||
}
|
||||
if (HasPortraitHeight) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(PortraitHeight);
|
||||
}
|
||||
if (HasImageOrientation) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteEnum((int) ImageOrientation);
|
||||
}
|
||||
if (HasProjectionMode) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteEnum((int) ProjectionMode);
|
||||
}
|
||||
if (HasProjectionSphereRadius) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(ProjectionSphereRadius);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasHeightAboveGround) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(HeightAboveGround);
|
||||
}
|
||||
if (HasPortraitWidth) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(PortraitWidth);
|
||||
}
|
||||
if (HasPortraitHeight) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(PortraitHeight);
|
||||
}
|
||||
if (HasImageOrientation) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteEnum((int) ImageOrientation);
|
||||
}
|
||||
if (HasProjectionMode) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteEnum((int) ProjectionMode);
|
||||
}
|
||||
if (HasProjectionSphereRadius) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(ProjectionSphereRadius);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasHeightAboveGround) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasPortraitWidth) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasPortraitHeight) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasImageOrientation) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ImageOrientation);
|
||||
}
|
||||
if (HasProjectionMode) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProjectionMode);
|
||||
}
|
||||
if (HasProjectionSphereRadius) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CameraParametersProto other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasHeightAboveGround) {
|
||||
HeightAboveGround = other.HeightAboveGround;
|
||||
}
|
||||
if (other.HasPortraitWidth) {
|
||||
PortraitWidth = other.PortraitWidth;
|
||||
}
|
||||
if (other.HasPortraitHeight) {
|
||||
PortraitHeight = other.PortraitHeight;
|
||||
}
|
||||
if (other.HasImageOrientation) {
|
||||
ImageOrientation = other.ImageOrientation;
|
||||
}
|
||||
if (other.HasProjectionMode) {
|
||||
ProjectionMode = other.ProjectionMode;
|
||||
}
|
||||
if (other.HasProjectionSphereRadius) {
|
||||
ProjectionSphereRadius = other.ProjectionSphereRadius;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 13: {
|
||||
HeightAboveGround = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
PortraitWidth = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
PortraitHeight = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
ImageOrientation = (global::Mediapipe.CameraParametersProto.Types.ImageOrientation) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ProjectionMode = (global::Mediapipe.CameraParametersProto.Types.ProjectionMode) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
ProjectionSphereRadius = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 13: {
|
||||
HeightAboveGround = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
PortraitWidth = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
PortraitHeight = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
ImageOrientation = (global::Mediapipe.CameraParametersProto.Types.ImageOrientation) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ProjectionMode = (global::Mediapipe.CameraParametersProto.Types.ProjectionMode) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
ProjectionSphereRadius = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Nested types
|
||||
/// <summary>Container for nested types declared in the CameraParametersProto message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Types {
|
||||
public enum ImageOrientation {
|
||||
[pbr::OriginalName("PORTRAIT_ORIENTATION")] PortraitOrientation = 0,
|
||||
[pbr::OriginalName("LANDSCAPE_ORIENTATION")] LandscapeOrientation = 1,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This defines the projection method from 2D screen to 3D.
|
||||
/// </summary>
|
||||
public enum ProjectionMode {
|
||||
[pbr::OriginalName("UNSPECIFIED")] Unspecified = 0,
|
||||
/// <summary>
|
||||
/// Projects 2D point to ground plane (horizontal plane).
|
||||
/// </summary>
|
||||
[pbr::OriginalName("GROUND_PLANE")] GroundPlane = 1,
|
||||
/// <summary>
|
||||
/// Projects 2D point to sphere.
|
||||
/// </summary>
|
||||
[pbr::OriginalName("SPHERE")] Sphere = 2,
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 65114f967c1dc73d7a03428ebded1761
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,555 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/filter_detection_calculator.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/filter_detection_calculator.proto</summary>
|
||||
public static partial class FilterDetectionCalculatorReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/filter_detection_calculator.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static FilterDetectionCalculatorReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkltZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvZmls",
|
||||
"dGVyX2RldGVjdGlvbl9jYWxjdWxhdG9yLnByb3RvEgltZWRpYXBpcGUaJG1l",
|
||||
"ZGlhcGlwZS9mcmFtZXdvcmsvY2FsY3VsYXRvci5wcm90byLLAgogRmlsdGVy",
|
||||
"RGV0ZWN0aW9uQ2FsY3VsYXRvck9wdGlvbnMSEQoJbWluX3Njb3JlGAEgASgC",
|
||||
"EhEKCW1heF9zY29yZRgCIAEoAhIjChRmYWlsX29uX2VtcHR5X2xhYmVscxgD",
|
||||
"IAEoCDoFZmFsc2USOgorZW1wdHlfYWxsb3dlZF9sYWJlbHNfbWVhbnNfYWxs",
|
||||
"b3dfZXZlcnl0aGluZxgGIAEoCDoFZmFsc2USIAoUdXNlX2RldGVjdGlvbl92",
|
||||
"ZWN0b3IYBCABKAhCAhgBEiIKFnVzZV9hbGxvd2VkX2xhYmVsc19jc3YYBSAB",
|
||||
"KAhCAhgBMloKA2V4dBIcLm1lZGlhcGlwZS5DYWxjdWxhdG9yT3B0aW9ucxiL",
|
||||
"wPahASABKAsyKy5tZWRpYXBpcGUuRmlsdGVyRGV0ZWN0aW9uQ2FsY3VsYXRv",
|
||||
"ck9wdGlvbnM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.FilterDetectionCalculatorOptions), global::Mediapipe.FilterDetectionCalculatorOptions.Parser, new[]{ "MinScore", "MaxScore", "FailOnEmptyLabels", "EmptyAllowedLabelsMeansAllowEverything", "UseDetectionVector", "UseAllowedLabelsCsv" }, null, null, new pb::Extension[] { global::Mediapipe.FilterDetectionCalculatorOptions.Extensions.Ext }, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class FilterDetectionCalculatorOptions : pb::IMessage<FilterDetectionCalculatorOptions>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<FilterDetectionCalculatorOptions> _parser = new pb::MessageParser<FilterDetectionCalculatorOptions>(() => new FilterDetectionCalculatorOptions());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<FilterDetectionCalculatorOptions> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.FilterDetectionCalculatorReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FilterDetectionCalculatorOptions() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FilterDetectionCalculatorOptions(FilterDetectionCalculatorOptions other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
minScore_ = other.minScore_;
|
||||
maxScore_ = other.maxScore_;
|
||||
failOnEmptyLabels_ = other.failOnEmptyLabels_;
|
||||
emptyAllowedLabelsMeansAllowEverything_ = other.emptyAllowedLabelsMeansAllowEverything_;
|
||||
useDetectionVector_ = other.useDetectionVector_;
|
||||
useAllowedLabelsCsv_ = other.useAllowedLabelsCsv_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FilterDetectionCalculatorOptions Clone() {
|
||||
return new FilterDetectionCalculatorOptions(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "min_score" field.</summary>
|
||||
public const int MinScoreFieldNumber = 1;
|
||||
private readonly static float MinScoreDefaultValue = 0F;
|
||||
|
||||
private float minScore_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MinScore {
|
||||
get { if ((_hasBits0 & 1) != 0) { return minScore_; } else { return MinScoreDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
minScore_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "min_score" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasMinScore {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "min_score" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearMinScore() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "max_score" field.</summary>
|
||||
public const int MaxScoreFieldNumber = 2;
|
||||
private readonly static float MaxScoreDefaultValue = 0F;
|
||||
|
||||
private float maxScore_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxScore {
|
||||
get { if ((_hasBits0 & 2) != 0) { return maxScore_; } else { return MaxScoreDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
maxScore_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "max_score" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasMaxScore {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "max_score" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearMaxScore() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "fail_on_empty_labels" field.</summary>
|
||||
public const int FailOnEmptyLabelsFieldNumber = 3;
|
||||
private readonly static bool FailOnEmptyLabelsDefaultValue = false;
|
||||
|
||||
private bool failOnEmptyLabels_;
|
||||
/// <summary>
|
||||
/// Setting fail_on_empty_labels to true will cause the calculator to return a
|
||||
/// failure status on Open() if an empty list is provided on the external
|
||||
/// input, immediately terminating the graph run.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool FailOnEmptyLabels {
|
||||
get { if ((_hasBits0 & 4) != 0) { return failOnEmptyLabels_; } else { return FailOnEmptyLabelsDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
failOnEmptyLabels_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "fail_on_empty_labels" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasFailOnEmptyLabels {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "fail_on_empty_labels" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearFailOnEmptyLabels() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "empty_allowed_labels_means_allow_everything" field.</summary>
|
||||
public const int EmptyAllowedLabelsMeansAllowEverythingFieldNumber = 6;
|
||||
private readonly static bool EmptyAllowedLabelsMeansAllowEverythingDefaultValue = false;
|
||||
|
||||
private bool emptyAllowedLabelsMeansAllowEverything_;
|
||||
/// <summary>
|
||||
/// If fail_on_empty_labels is set to false setting
|
||||
/// empty_allowed_labels_means_allow_everything to
|
||||
/// false will cause the calculator to close output stream and ignore remaining
|
||||
/// inputs if an empty list is provided. If
|
||||
/// empty_allowed_labels_means_allow_everything is set to true this will force
|
||||
/// calculator to pass all labels.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool EmptyAllowedLabelsMeansAllowEverything {
|
||||
get { if ((_hasBits0 & 32) != 0) { return emptyAllowedLabelsMeansAllowEverything_; } else { return EmptyAllowedLabelsMeansAllowEverythingDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 32;
|
||||
emptyAllowedLabelsMeansAllowEverything_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "empty_allowed_labels_means_allow_everything" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasEmptyAllowedLabelsMeansAllowEverything {
|
||||
get { return (_hasBits0 & 32) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "empty_allowed_labels_means_allow_everything" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearEmptyAllowedLabelsMeansAllowEverything() {
|
||||
_hasBits0 &= ~32;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "use_detection_vector" field.</summary>
|
||||
public const int UseDetectionVectorFieldNumber = 4;
|
||||
private readonly static bool UseDetectionVectorDefaultValue = false;
|
||||
|
||||
private bool useDetectionVector_;
|
||||
/// <summary>
|
||||
/// Determines whether the input format is a vector<Detection> (use-case object
|
||||
/// detectors) or Detection (use-case classifiers).
|
||||
/// </summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool UseDetectionVector {
|
||||
get { if ((_hasBits0 & 8) != 0) { return useDetectionVector_; } else { return UseDetectionVectorDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 8;
|
||||
useDetectionVector_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "use_detection_vector" field is set</summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasUseDetectionVector {
|
||||
get { return (_hasBits0 & 8) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "use_detection_vector" field</summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearUseDetectionVector() {
|
||||
_hasBits0 &= ~8;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "use_allowed_labels_csv" field.</summary>
|
||||
public const int UseAllowedLabelsCsvFieldNumber = 5;
|
||||
private readonly static bool UseAllowedLabelsCsvDefaultValue = false;
|
||||
|
||||
private bool useAllowedLabelsCsv_;
|
||||
/// <summary>
|
||||
/// Determines whether the input side packet format is a vector of labels, or
|
||||
/// a string with comma separated labels.
|
||||
/// </summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool UseAllowedLabelsCsv {
|
||||
get { if ((_hasBits0 & 16) != 0) { return useAllowedLabelsCsv_; } else { return UseAllowedLabelsCsvDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 16;
|
||||
useAllowedLabelsCsv_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "use_allowed_labels_csv" field is set</summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasUseAllowedLabelsCsv {
|
||||
get { return (_hasBits0 & 16) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "use_allowed_labels_csv" field</summary>
|
||||
[global::System.ObsoleteAttribute]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearUseAllowedLabelsCsv() {
|
||||
_hasBits0 &= ~16;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as FilterDetectionCalculatorOptions);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(FilterDetectionCalculatorOptions other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MinScore, other.MinScore)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxScore, other.MaxScore)) return false;
|
||||
if (FailOnEmptyLabels != other.FailOnEmptyLabels) return false;
|
||||
if (EmptyAllowedLabelsMeansAllowEverything != other.EmptyAllowedLabelsMeansAllowEverything) return false;
|
||||
if (UseDetectionVector != other.UseDetectionVector) return false;
|
||||
if (UseAllowedLabelsCsv != other.UseAllowedLabelsCsv) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasMinScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinScore);
|
||||
if (HasMaxScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxScore);
|
||||
if (HasFailOnEmptyLabels) hash ^= FailOnEmptyLabels.GetHashCode();
|
||||
if (HasEmptyAllowedLabelsMeansAllowEverything) hash ^= EmptyAllowedLabelsMeansAllowEverything.GetHashCode();
|
||||
if (HasUseDetectionVector) hash ^= UseDetectionVector.GetHashCode();
|
||||
if (HasUseAllowedLabelsCsv) hash ^= UseAllowedLabelsCsv.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasMinScore) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(MinScore);
|
||||
}
|
||||
if (HasMaxScore) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(MaxScore);
|
||||
}
|
||||
if (HasFailOnEmptyLabels) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(FailOnEmptyLabels);
|
||||
}
|
||||
if (HasUseDetectionVector) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(UseDetectionVector);
|
||||
}
|
||||
if (HasUseAllowedLabelsCsv) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(UseAllowedLabelsCsv);
|
||||
}
|
||||
if (HasEmptyAllowedLabelsMeansAllowEverything) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(EmptyAllowedLabelsMeansAllowEverything);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasMinScore) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(MinScore);
|
||||
}
|
||||
if (HasMaxScore) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(MaxScore);
|
||||
}
|
||||
if (HasFailOnEmptyLabels) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(FailOnEmptyLabels);
|
||||
}
|
||||
if (HasUseDetectionVector) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(UseDetectionVector);
|
||||
}
|
||||
if (HasUseAllowedLabelsCsv) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(UseAllowedLabelsCsv);
|
||||
}
|
||||
if (HasEmptyAllowedLabelsMeansAllowEverything) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(EmptyAllowedLabelsMeansAllowEverything);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasMinScore) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasMaxScore) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasFailOnEmptyLabels) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (HasEmptyAllowedLabelsMeansAllowEverything) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (HasUseDetectionVector) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (HasUseAllowedLabelsCsv) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(FilterDetectionCalculatorOptions other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasMinScore) {
|
||||
MinScore = other.MinScore;
|
||||
}
|
||||
if (other.HasMaxScore) {
|
||||
MaxScore = other.MaxScore;
|
||||
}
|
||||
if (other.HasFailOnEmptyLabels) {
|
||||
FailOnEmptyLabels = other.FailOnEmptyLabels;
|
||||
}
|
||||
if (other.HasEmptyAllowedLabelsMeansAllowEverything) {
|
||||
EmptyAllowedLabelsMeansAllowEverything = other.EmptyAllowedLabelsMeansAllowEverything;
|
||||
}
|
||||
if (other.HasUseDetectionVector) {
|
||||
UseDetectionVector = other.UseDetectionVector;
|
||||
}
|
||||
if (other.HasUseAllowedLabelsCsv) {
|
||||
UseAllowedLabelsCsv = other.UseAllowedLabelsCsv;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 13: {
|
||||
MinScore = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
MaxScore = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
FailOnEmptyLabels = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
UseDetectionVector = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
UseAllowedLabelsCsv = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
EmptyAllowedLabelsMeansAllowEverything = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 13: {
|
||||
MinScore = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
MaxScore = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
FailOnEmptyLabels = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
UseDetectionVector = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
UseAllowedLabelsCsv = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
EmptyAllowedLabelsMeansAllowEverything = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Extensions
|
||||
/// <summary>Container for extensions for other messages declared in the FilterDetectionCalculatorOptions message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Extensions {
|
||||
public static readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FilterDetectionCalculatorOptions> Ext =
|
||||
new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FilterDetectionCalculatorOptions>(339582987, pb::FieldCodec.ForMessage(2716663898, global::Mediapipe.FilterDetectionCalculatorOptions.Parser));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e306cfd433010aeb93bd632be6327bb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,324 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/frame_annotation_to_rect_calculator.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/frame_annotation_to_rect_calculator.proto</summary>
|
||||
public static partial class FrameAnnotationToRectCalculatorReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/frame_annotation_to_rect_calculator.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static FrameAnnotationToRectCalculatorReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ClFtZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvZnJh",
|
||||
"bWVfYW5ub3RhdGlvbl90b19yZWN0X2NhbGN1bGF0b3IucHJvdG8SCW1lZGlh",
|
||||
"cGlwZRokbWVkaWFwaXBlL2ZyYW1ld29yay9jYWxjdWxhdG9yLnByb3RvIr8B",
|
||||
"CiZGcmFtZUFubm90YXRpb25Ub1JlY3RDYWxjdWxhdG9yT3B0aW9ucxIZCg1v",
|
||||
"ZmZfdGhyZXNob2xkGAEgASgCOgI0MBIYCgxvbl90aHJlc2hvbGQYAiABKAI6",
|
||||
"AjQxMmAKA2V4dBIcLm1lZGlhcGlwZS5DYWxjdWxhdG9yT3B0aW9ucxibk52h",
|
||||
"ASABKAsyMS5tZWRpYXBpcGUuRnJhbWVBbm5vdGF0aW9uVG9SZWN0Q2FsY3Vs",
|
||||
"YXRvck9wdGlvbnM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.FrameAnnotationToRectCalculatorOptions), global::Mediapipe.FrameAnnotationToRectCalculatorOptions.Parser, new[]{ "OffThreshold", "OnThreshold" }, null, null, new pb::Extension[] { global::Mediapipe.FrameAnnotationToRectCalculatorOptions.Extensions.Ext }, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class FrameAnnotationToRectCalculatorOptions : pb::IMessage<FrameAnnotationToRectCalculatorOptions>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<FrameAnnotationToRectCalculatorOptions> _parser = new pb::MessageParser<FrameAnnotationToRectCalculatorOptions>(() => new FrameAnnotationToRectCalculatorOptions());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<FrameAnnotationToRectCalculatorOptions> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.FrameAnnotationToRectCalculatorReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FrameAnnotationToRectCalculatorOptions() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FrameAnnotationToRectCalculatorOptions(FrameAnnotationToRectCalculatorOptions other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
offThreshold_ = other.offThreshold_;
|
||||
onThreshold_ = other.onThreshold_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FrameAnnotationToRectCalculatorOptions Clone() {
|
||||
return new FrameAnnotationToRectCalculatorOptions(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "off_threshold" field.</summary>
|
||||
public const int OffThresholdFieldNumber = 1;
|
||||
private readonly static float OffThresholdDefaultValue = 40F;
|
||||
|
||||
private float offThreshold_;
|
||||
/// <summary>
|
||||
/// The threshold to use when top-view is off,to enable hysteresis,
|
||||
/// It's required that off_threshold <= on_threshold.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float OffThreshold {
|
||||
get { if ((_hasBits0 & 1) != 0) { return offThreshold_; } else { return OffThresholdDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
offThreshold_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "off_threshold" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasOffThreshold {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "off_threshold" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearOffThreshold() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "on_threshold" field.</summary>
|
||||
public const int OnThresholdFieldNumber = 2;
|
||||
private readonly static float OnThresholdDefaultValue = 41F;
|
||||
|
||||
private float onThreshold_;
|
||||
/// <summary>
|
||||
/// The threshold to use when top-view is on.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float OnThreshold {
|
||||
get { if ((_hasBits0 & 2) != 0) { return onThreshold_; } else { return OnThresholdDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
onThreshold_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "on_threshold" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasOnThreshold {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "on_threshold" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearOnThreshold() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as FrameAnnotationToRectCalculatorOptions);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(FrameAnnotationToRectCalculatorOptions other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OffThreshold, other.OffThreshold)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OnThreshold, other.OnThreshold)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasOffThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OffThreshold);
|
||||
if (HasOnThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OnThreshold);
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasOffThreshold) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(OffThreshold);
|
||||
}
|
||||
if (HasOnThreshold) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(OnThreshold);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasOffThreshold) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(OffThreshold);
|
||||
}
|
||||
if (HasOnThreshold) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(OnThreshold);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasOffThreshold) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasOnThreshold) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(FrameAnnotationToRectCalculatorOptions other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasOffThreshold) {
|
||||
OffThreshold = other.OffThreshold;
|
||||
}
|
||||
if (other.HasOnThreshold) {
|
||||
OnThreshold = other.OnThreshold;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 13: {
|
||||
OffThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
OnThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 13: {
|
||||
OffThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
OnThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Extensions
|
||||
/// <summary>Container for extensions for other messages declared in the FrameAnnotationToRectCalculatorOptions message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Extensions {
|
||||
public static readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FrameAnnotationToRectCalculatorOptions> Ext =
|
||||
new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FrameAnnotationToRectCalculatorOptions>(338119067, pb::FieldCodec.ForMessage(2704952538, global::Mediapipe.FrameAnnotationToRectCalculatorOptions.Parser));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47be4445b6a5eb6bc80d708f90468e2d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,376 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/frame_annotation_tracker_calculator.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/frame_annotation_tracker_calculator.proto</summary>
|
||||
public static partial class FrameAnnotationTrackerCalculatorReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/frame_annotation_tracker_calculator.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static FrameAnnotationTrackerCalculatorReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ClFtZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvZnJh",
|
||||
"bWVfYW5ub3RhdGlvbl90cmFja2VyX2NhbGN1bGF0b3IucHJvdG8SCW1lZGlh",
|
||||
"cGlwZRokbWVkaWFwaXBlL2ZyYW1ld29yay9jYWxjdWxhdG9yLnByb3RvIs8B",
|
||||
"CidGcmFtZUFubm90YXRpb25UcmFja2VyQ2FsY3VsYXRvck9wdGlvbnMSGgoN",
|
||||
"aW91X3RocmVzaG9sZBgBIAEoAjoDMC41EhEKCWltZ193aWR0aBgCIAEoAhIS",
|
||||
"CgppbWdfaGVpZ2h0GAMgASgCMmEKA2V4dBIcLm1lZGlhcGlwZS5DYWxjdWxh",
|
||||
"dG9yT3B0aW9ucxj1gPOKASABKAsyMi5tZWRpYXBpcGUuRnJhbWVBbm5vdGF0",
|
||||
"aW9uVHJhY2tlckNhbGN1bGF0b3JPcHRpb25z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.FrameAnnotationTrackerCalculatorOptions), global::Mediapipe.FrameAnnotationTrackerCalculatorOptions.Parser, new[]{ "IouThreshold", "ImgWidth", "ImgHeight" }, null, null, new pb::Extension[] { global::Mediapipe.FrameAnnotationTrackerCalculatorOptions.Extensions.Ext }, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class FrameAnnotationTrackerCalculatorOptions : pb::IMessage<FrameAnnotationTrackerCalculatorOptions>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<FrameAnnotationTrackerCalculatorOptions> _parser = new pb::MessageParser<FrameAnnotationTrackerCalculatorOptions>(() => new FrameAnnotationTrackerCalculatorOptions());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<FrameAnnotationTrackerCalculatorOptions> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.FrameAnnotationTrackerCalculatorReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FrameAnnotationTrackerCalculatorOptions() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FrameAnnotationTrackerCalculatorOptions(FrameAnnotationTrackerCalculatorOptions other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
iouThreshold_ = other.iouThreshold_;
|
||||
imgWidth_ = other.imgWidth_;
|
||||
imgHeight_ = other.imgHeight_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FrameAnnotationTrackerCalculatorOptions Clone() {
|
||||
return new FrameAnnotationTrackerCalculatorOptions(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "iou_threshold" field.</summary>
|
||||
public const int IouThresholdFieldNumber = 1;
|
||||
private readonly static float IouThresholdDefaultValue = 0.5F;
|
||||
|
||||
private float iouThreshold_;
|
||||
/// <summary>
|
||||
/// The threshold on intersection-over-union (IoU). We consider
|
||||
/// boxes with IoU larger than this threshold to be the duplicates.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float IouThreshold {
|
||||
get { if ((_hasBits0 & 1) != 0) { return iouThreshold_; } else { return IouThresholdDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
iouThreshold_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "iou_threshold" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasIouThreshold {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "iou_threshold" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearIouThreshold() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "img_width" field.</summary>
|
||||
public const int ImgWidthFieldNumber = 2;
|
||||
private readonly static float ImgWidthDefaultValue = 0F;
|
||||
|
||||
private float imgWidth_;
|
||||
/// <summary>
|
||||
/// We need image dimension to properly compute annotation locations.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ImgWidth {
|
||||
get { if ((_hasBits0 & 2) != 0) { return imgWidth_; } else { return ImgWidthDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
imgWidth_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "img_width" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasImgWidth {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "img_width" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearImgWidth() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "img_height" field.</summary>
|
||||
public const int ImgHeightFieldNumber = 3;
|
||||
private readonly static float ImgHeightDefaultValue = 0F;
|
||||
|
||||
private float imgHeight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ImgHeight {
|
||||
get { if ((_hasBits0 & 4) != 0) { return imgHeight_; } else { return ImgHeightDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
imgHeight_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "img_height" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasImgHeight {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "img_height" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearImgHeight() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as FrameAnnotationTrackerCalculatorOptions);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(FrameAnnotationTrackerCalculatorOptions other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(IouThreshold, other.IouThreshold)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ImgWidth, other.ImgWidth)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ImgHeight, other.ImgHeight)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasIouThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(IouThreshold);
|
||||
if (HasImgWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ImgWidth);
|
||||
if (HasImgHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ImgHeight);
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasIouThreshold) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(IouThreshold);
|
||||
}
|
||||
if (HasImgWidth) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(ImgWidth);
|
||||
}
|
||||
if (HasImgHeight) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(ImgHeight);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasIouThreshold) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(IouThreshold);
|
||||
}
|
||||
if (HasImgWidth) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(ImgWidth);
|
||||
}
|
||||
if (HasImgHeight) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(ImgHeight);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasIouThreshold) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasImgWidth) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasImgHeight) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(FrameAnnotationTrackerCalculatorOptions other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasIouThreshold) {
|
||||
IouThreshold = other.IouThreshold;
|
||||
}
|
||||
if (other.HasImgWidth) {
|
||||
ImgWidth = other.ImgWidth;
|
||||
}
|
||||
if (other.HasImgHeight) {
|
||||
ImgHeight = other.ImgHeight;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 13: {
|
||||
IouThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
ImgWidth = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
ImgHeight = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 13: {
|
||||
IouThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
ImgWidth = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
ImgHeight = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Extensions
|
||||
/// <summary>Container for extensions for other messages declared in the FrameAnnotationTrackerCalculatorOptions message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Extensions {
|
||||
public static readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FrameAnnotationTrackerCalculatorOptions> Ext =
|
||||
new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FrameAnnotationTrackerCalculatorOptions>(291291253, pb::FieldCodec.ForMessage(2330330026, global::Mediapipe.FrameAnnotationTrackerCalculatorOptions.Parser));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b6a2481a2315da5ebbe78e323ee91b2b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,484 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/lift_2d_frame_annotation_to_3d_calculator.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/lift_2d_frame_annotation_to_3d_calculator.proto</summary>
|
||||
public static partial class Lift2DFrameAnnotationTo3DCalculatorReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/lift_2d_frame_annotation_to_3d_calculator.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static Lift2DFrameAnnotationTo3DCalculatorReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CldtZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvbGlm",
|
||||
"dF8yZF9mcmFtZV9hbm5vdGF0aW9uX3RvXzNkX2NhbGN1bGF0b3IucHJvdG8S",
|
||||
"CW1lZGlhcGlwZRokbWVkaWFwaXBlL2ZyYW1ld29yay9jYWxjdWxhdG9yLnBy",
|
||||
"b3RvGkNtZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMv",
|
||||
"YmVsaWVmX2RlY29kZXJfY29uZmlnLnByb3RvItoCCipMaWZ0MkRGcmFtZUFu",
|
||||
"bm90YXRpb25UbzNEQ2FsY3VsYXRvck9wdGlvbnMSNgoOZGVjb2Rlcl9jb25m",
|
||||
"aWcYASABKAsyHi5tZWRpYXBpcGUuQmVsaWVmRGVjb2RlckNvbmZpZxIdChJu",
|
||||
"b3JtYWxpemVkX2ZvY2FsX3gYAiABKAI6ATESHQoSbm9ybWFsaXplZF9mb2Nh",
|
||||
"bF95GAMgASgCOgExEicKHG5vcm1hbGl6ZWRfcHJpbmNpcGFsX3BvaW50X3gY",
|
||||
"BCABKAI6ATASJwocbm9ybWFsaXplZF9wcmluY2lwYWxfcG9pbnRfeRgFIAEo",
|
||||
"AjoBMDJkCgNleHQSHC5tZWRpYXBpcGUuQ2FsY3VsYXRvck9wdGlvbnMYjKyu",
|
||||
"igEgASgLMjUubWVkaWFwaXBlLkxpZnQyREZyYW1lQW5ub3RhdGlvblRvM0RD",
|
||||
"YWxjdWxhdG9yT3B0aW9ucw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, global::Mediapipe.BeliefDecoderConfigReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorOptions), global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorOptions.Parser, new[]{ "DecoderConfig", "NormalizedFocalX", "NormalizedFocalY", "NormalizedPrincipalPointX", "NormalizedPrincipalPointY" }, null, null, new pb::Extension[] { global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorOptions.Extensions.Ext }, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class Lift2DFrameAnnotationTo3DCalculatorOptions : pb::IMessage<Lift2DFrameAnnotationTo3DCalculatorOptions>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<Lift2DFrameAnnotationTo3DCalculatorOptions> _parser = new pb::MessageParser<Lift2DFrameAnnotationTo3DCalculatorOptions>(() => new Lift2DFrameAnnotationTo3DCalculatorOptions());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<Lift2DFrameAnnotationTo3DCalculatorOptions> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Lift2DFrameAnnotationTo3DCalculatorOptions() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Lift2DFrameAnnotationTo3DCalculatorOptions(Lift2DFrameAnnotationTo3DCalculatorOptions other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
decoderConfig_ = other.decoderConfig_ != null ? other.decoderConfig_.Clone() : null;
|
||||
normalizedFocalX_ = other.normalizedFocalX_;
|
||||
normalizedFocalY_ = other.normalizedFocalY_;
|
||||
normalizedPrincipalPointX_ = other.normalizedPrincipalPointX_;
|
||||
normalizedPrincipalPointY_ = other.normalizedPrincipalPointY_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public Lift2DFrameAnnotationTo3DCalculatorOptions Clone() {
|
||||
return new Lift2DFrameAnnotationTo3DCalculatorOptions(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "decoder_config" field.</summary>
|
||||
public const int DecoderConfigFieldNumber = 1;
|
||||
private global::Mediapipe.BeliefDecoderConfig decoderConfig_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Mediapipe.BeliefDecoderConfig DecoderConfig {
|
||||
get { return decoderConfig_; }
|
||||
set {
|
||||
decoderConfig_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_focal_x" field.</summary>
|
||||
public const int NormalizedFocalXFieldNumber = 2;
|
||||
private readonly static float NormalizedFocalXDefaultValue = 1F;
|
||||
|
||||
private float normalizedFocalX_;
|
||||
/// <summary>
|
||||
/// Camera focal length along x, normalized by width/2.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedFocalX {
|
||||
get { if ((_hasBits0 & 1) != 0) { return normalizedFocalX_; } else { return NormalizedFocalXDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
normalizedFocalX_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_focal_x" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedFocalX {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_focal_x" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedFocalX() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_focal_y" field.</summary>
|
||||
public const int NormalizedFocalYFieldNumber = 3;
|
||||
private readonly static float NormalizedFocalYDefaultValue = 1F;
|
||||
|
||||
private float normalizedFocalY_;
|
||||
/// <summary>
|
||||
/// Camera focal length along y, normalized by height/2.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedFocalY {
|
||||
get { if ((_hasBits0 & 2) != 0) { return normalizedFocalY_; } else { return NormalizedFocalYDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
normalizedFocalY_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_focal_y" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedFocalY {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_focal_y" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedFocalY() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_principal_point_x" field.</summary>
|
||||
public const int NormalizedPrincipalPointXFieldNumber = 4;
|
||||
private readonly static float NormalizedPrincipalPointXDefaultValue = 0F;
|
||||
|
||||
private float normalizedPrincipalPointX_;
|
||||
/// <summary>
|
||||
/// Camera principle point x, normalized by width/2, origin is image center.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedPrincipalPointX {
|
||||
get { if ((_hasBits0 & 4) != 0) { return normalizedPrincipalPointX_; } else { return NormalizedPrincipalPointXDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
normalizedPrincipalPointX_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_principal_point_x" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedPrincipalPointX {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_principal_point_x" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedPrincipalPointX() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_principal_point_y" field.</summary>
|
||||
public const int NormalizedPrincipalPointYFieldNumber = 5;
|
||||
private readonly static float NormalizedPrincipalPointYDefaultValue = 0F;
|
||||
|
||||
private float normalizedPrincipalPointY_;
|
||||
/// <summary>
|
||||
/// Camera principle point y, normalized by height/2, origin is image center.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedPrincipalPointY {
|
||||
get { if ((_hasBits0 & 8) != 0) { return normalizedPrincipalPointY_; } else { return NormalizedPrincipalPointYDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 8;
|
||||
normalizedPrincipalPointY_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_principal_point_y" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedPrincipalPointY {
|
||||
get { return (_hasBits0 & 8) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_principal_point_y" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedPrincipalPointY() {
|
||||
_hasBits0 &= ~8;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as Lift2DFrameAnnotationTo3DCalculatorOptions);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(Lift2DFrameAnnotationTo3DCalculatorOptions other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(DecoderConfig, other.DecoderConfig)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedFocalX, other.NormalizedFocalX)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedFocalY, other.NormalizedFocalY)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedPrincipalPointX, other.NormalizedPrincipalPointX)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedPrincipalPointY, other.NormalizedPrincipalPointY)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (decoderConfig_ != null) hash ^= DecoderConfig.GetHashCode();
|
||||
if (HasNormalizedFocalX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedFocalX);
|
||||
if (HasNormalizedFocalY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedFocalY);
|
||||
if (HasNormalizedPrincipalPointX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedPrincipalPointX);
|
||||
if (HasNormalizedPrincipalPointY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedPrincipalPointY);
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (decoderConfig_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(DecoderConfig);
|
||||
}
|
||||
if (HasNormalizedFocalX) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(NormalizedFocalX);
|
||||
}
|
||||
if (HasNormalizedFocalY) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(NormalizedFocalY);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointX) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(NormalizedPrincipalPointX);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointY) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(NormalizedPrincipalPointY);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (decoderConfig_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(DecoderConfig);
|
||||
}
|
||||
if (HasNormalizedFocalX) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(NormalizedFocalX);
|
||||
}
|
||||
if (HasNormalizedFocalY) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(NormalizedFocalY);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointX) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(NormalizedPrincipalPointX);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointY) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(NormalizedPrincipalPointY);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (decoderConfig_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DecoderConfig);
|
||||
}
|
||||
if (HasNormalizedFocalX) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasNormalizedFocalY) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasNormalizedPrincipalPointX) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasNormalizedPrincipalPointY) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(Lift2DFrameAnnotationTo3DCalculatorOptions other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.decoderConfig_ != null) {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
DecoderConfig.MergeFrom(other.DecoderConfig);
|
||||
}
|
||||
if (other.HasNormalizedFocalX) {
|
||||
NormalizedFocalX = other.NormalizedFocalX;
|
||||
}
|
||||
if (other.HasNormalizedFocalY) {
|
||||
NormalizedFocalY = other.NormalizedFocalY;
|
||||
}
|
||||
if (other.HasNormalizedPrincipalPointX) {
|
||||
NormalizedPrincipalPointX = other.NormalizedPrincipalPointX;
|
||||
}
|
||||
if (other.HasNormalizedPrincipalPointY) {
|
||||
NormalizedPrincipalPointY = other.NormalizedPrincipalPointY;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
input.ReadMessage(DecoderConfig);
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
NormalizedFocalX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
NormalizedFocalY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
NormalizedPrincipalPointX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
NormalizedPrincipalPointY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
input.ReadMessage(DecoderConfig);
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
NormalizedFocalX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
NormalizedFocalY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
NormalizedPrincipalPointX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
NormalizedPrincipalPointY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Extensions
|
||||
/// <summary>Container for extensions for other messages declared in the Lift2DFrameAnnotationTo3DCalculatorOptions message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Extensions {
|
||||
public static readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorOptions> Ext =
|
||||
new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorOptions>(290166284, pb::FieldCodec.ForMessage(2321330274, global::Mediapipe.Lift2DFrameAnnotationTo3DCalculatorOptions.Parser));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cad26e2330ecd4db7b2603dd479b843e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7e192bd63a9aefc4818216dbcd906fa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,428 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/tensors_to_objects_calculator.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/tensors_to_objects_calculator.proto</summary>
|
||||
public static partial class TensorsToObjectsCalculatorReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/tensors_to_objects_calculator.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static TensorsToObjectsCalculatorReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkttZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvdGVu",
|
||||
"c29yc190b19vYmplY3RzX2NhbGN1bGF0b3IucHJvdG8SCW1lZGlhcGlwZRok",
|
||||
"bWVkaWFwaXBlL2ZyYW1ld29yay9jYWxjdWxhdG9yLnByb3RvGkNtZWRpYXBp",
|
||||
"cGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvYmVsaWVmX2RlY29k",
|
||||
"ZXJfY29uZmlnLnByb3RvIogCCiFUZW5zb3JzVG9PYmplY3RzQ2FsY3VsYXRv",
|
||||
"ck9wdGlvbnMSEwoLbnVtX2NsYXNzZXMYASABKAUSFQoNbnVtX2tleXBvaW50",
|
||||
"cxgCIAEoBRIiChdudW1fdmFsdWVzX3Blcl9rZXlwb2ludBgDIAEoBToBMhI2",
|
||||
"Cg5kZWNvZGVyX2NvbmZpZxgEIAEoCzIeLm1lZGlhcGlwZS5CZWxpZWZEZWNv",
|
||||
"ZGVyQ29uZmlnMlsKA2V4dBIcLm1lZGlhcGlwZS5DYWxjdWxhdG9yT3B0aW9u",
|
||||
"cxjU6refASABKAsyLC5tZWRpYXBpcGUuVGVuc29yc1RvT2JqZWN0c0NhbGN1",
|
||||
"bGF0b3JPcHRpb25z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, global::Mediapipe.BeliefDecoderConfigReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.TensorsToObjectsCalculatorOptions), global::Mediapipe.TensorsToObjectsCalculatorOptions.Parser, new[]{ "NumClasses", "NumKeypoints", "NumValuesPerKeypoint", "DecoderConfig" }, null, null, new pb::Extension[] { global::Mediapipe.TensorsToObjectsCalculatorOptions.Extensions.Ext }, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class TensorsToObjectsCalculatorOptions : pb::IMessage<TensorsToObjectsCalculatorOptions>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<TensorsToObjectsCalculatorOptions> _parser = new pb::MessageParser<TensorsToObjectsCalculatorOptions>(() => new TensorsToObjectsCalculatorOptions());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<TensorsToObjectsCalculatorOptions> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.TensorsToObjectsCalculatorReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TensorsToObjectsCalculatorOptions() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TensorsToObjectsCalculatorOptions(TensorsToObjectsCalculatorOptions other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
numClasses_ = other.numClasses_;
|
||||
numKeypoints_ = other.numKeypoints_;
|
||||
numValuesPerKeypoint_ = other.numValuesPerKeypoint_;
|
||||
decoderConfig_ = other.decoderConfig_ != null ? other.decoderConfig_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TensorsToObjectsCalculatorOptions Clone() {
|
||||
return new TensorsToObjectsCalculatorOptions(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_classes" field.</summary>
|
||||
public const int NumClassesFieldNumber = 1;
|
||||
private readonly static int NumClassesDefaultValue = 0;
|
||||
|
||||
private int numClasses_;
|
||||
/// <summary>
|
||||
/// The number of output classes predicted by the detection model.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumClasses {
|
||||
get { if ((_hasBits0 & 1) != 0) { return numClasses_; } else { return NumClassesDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
numClasses_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "num_classes" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNumClasses {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "num_classes" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNumClasses() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_keypoints" field.</summary>
|
||||
public const int NumKeypointsFieldNumber = 2;
|
||||
private readonly static int NumKeypointsDefaultValue = 0;
|
||||
|
||||
private int numKeypoints_;
|
||||
/// <summary>
|
||||
/// The number of predicted keypoints.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumKeypoints {
|
||||
get { if ((_hasBits0 & 2) != 0) { return numKeypoints_; } else { return NumKeypointsDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
numKeypoints_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "num_keypoints" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNumKeypoints {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "num_keypoints" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNumKeypoints() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_values_per_keypoint" field.</summary>
|
||||
public const int NumValuesPerKeypointFieldNumber = 3;
|
||||
private readonly static int NumValuesPerKeypointDefaultValue = 2;
|
||||
|
||||
private int numValuesPerKeypoint_;
|
||||
/// <summary>
|
||||
/// The dimension of each keypoint, e.g. number of values predicted for each
|
||||
/// keypoint.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumValuesPerKeypoint {
|
||||
get { if ((_hasBits0 & 4) != 0) { return numValuesPerKeypoint_; } else { return NumValuesPerKeypointDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
numValuesPerKeypoint_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "num_values_per_keypoint" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNumValuesPerKeypoint {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "num_values_per_keypoint" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNumValuesPerKeypoint() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "decoder_config" field.</summary>
|
||||
public const int DecoderConfigFieldNumber = 4;
|
||||
private global::Mediapipe.BeliefDecoderConfig decoderConfig_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Mediapipe.BeliefDecoderConfig DecoderConfig {
|
||||
get { return decoderConfig_; }
|
||||
set {
|
||||
decoderConfig_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as TensorsToObjectsCalculatorOptions);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(TensorsToObjectsCalculatorOptions other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (NumClasses != other.NumClasses) return false;
|
||||
if (NumKeypoints != other.NumKeypoints) return false;
|
||||
if (NumValuesPerKeypoint != other.NumValuesPerKeypoint) return false;
|
||||
if (!object.Equals(DecoderConfig, other.DecoderConfig)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasNumClasses) hash ^= NumClasses.GetHashCode();
|
||||
if (HasNumKeypoints) hash ^= NumKeypoints.GetHashCode();
|
||||
if (HasNumValuesPerKeypoint) hash ^= NumValuesPerKeypoint.GetHashCode();
|
||||
if (decoderConfig_ != null) hash ^= DecoderConfig.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasNumClasses) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(NumClasses);
|
||||
}
|
||||
if (HasNumKeypoints) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(NumKeypoints);
|
||||
}
|
||||
if (HasNumValuesPerKeypoint) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(NumValuesPerKeypoint);
|
||||
}
|
||||
if (decoderConfig_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(DecoderConfig);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasNumClasses) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(NumClasses);
|
||||
}
|
||||
if (HasNumKeypoints) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(NumKeypoints);
|
||||
}
|
||||
if (HasNumValuesPerKeypoint) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(NumValuesPerKeypoint);
|
||||
}
|
||||
if (decoderConfig_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(DecoderConfig);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasNumClasses) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumClasses);
|
||||
}
|
||||
if (HasNumKeypoints) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumKeypoints);
|
||||
}
|
||||
if (HasNumValuesPerKeypoint) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumValuesPerKeypoint);
|
||||
}
|
||||
if (decoderConfig_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DecoderConfig);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(TensorsToObjectsCalculatorOptions other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasNumClasses) {
|
||||
NumClasses = other.NumClasses;
|
||||
}
|
||||
if (other.HasNumKeypoints) {
|
||||
NumKeypoints = other.NumKeypoints;
|
||||
}
|
||||
if (other.HasNumValuesPerKeypoint) {
|
||||
NumValuesPerKeypoint = other.NumValuesPerKeypoint;
|
||||
}
|
||||
if (other.decoderConfig_ != null) {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
DecoderConfig.MergeFrom(other.DecoderConfig);
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
NumClasses = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
NumKeypoints = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
NumValuesPerKeypoint = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
input.ReadMessage(DecoderConfig);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
NumClasses = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
NumKeypoints = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
NumValuesPerKeypoint = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
input.ReadMessage(DecoderConfig);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Extensions
|
||||
/// <summary>Container for extensions for other messages declared in the TensorsToObjectsCalculatorOptions message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Extensions {
|
||||
public static readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.TensorsToObjectsCalculatorOptions> Ext =
|
||||
new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.TensorsToObjectsCalculatorOptions>(334361940, pb::FieldCodec.ForMessage(2674895522, global::Mediapipe.TensorsToObjectsCalculatorOptions.Parser));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf360c0e1349e2339bd655d6efaf07bc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,651 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: mediapipe/modules/objectron/calculators/tflite_tensors_to_objects_calculator.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Mediapipe {
|
||||
|
||||
/// <summary>Holder for reflection information generated from mediapipe/modules/objectron/calculators/tflite_tensors_to_objects_calculator.proto</summary>
|
||||
public static partial class TfliteTensorsToObjectsCalculatorReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for mediapipe/modules/objectron/calculators/tflite_tensors_to_objects_calculator.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static TfliteTensorsToObjectsCalculatorReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ClJtZWRpYXBpcGUvbW9kdWxlcy9vYmplY3Ryb24vY2FsY3VsYXRvcnMvdGZs",
|
||||
"aXRlX3RlbnNvcnNfdG9fb2JqZWN0c19jYWxjdWxhdG9yLnByb3RvEgltZWRp",
|
||||
"YXBpcGUaJG1lZGlhcGlwZS9mcmFtZXdvcmsvY2FsY3VsYXRvci5wcm90bxpD",
|
||||
"bWVkaWFwaXBlL21vZHVsZXMvb2JqZWN0cm9uL2NhbGN1bGF0b3JzL2JlbGll",
|
||||
"Zl9kZWNvZGVyX2NvbmZpZy5wcm90byKjAwonVGZMaXRlVGVuc29yc1RvT2Jq",
|
||||
"ZWN0c0NhbGN1bGF0b3JPcHRpb25zEhMKC251bV9jbGFzc2VzGAEgASgFEhUK",
|
||||
"DW51bV9rZXlwb2ludHMYAiABKAUSIgoXbnVtX3ZhbHVlc19wZXJfa2V5cG9p",
|
||||
"bnQYAyABKAU6ATISNgoOZGVjb2Rlcl9jb25maWcYBCABKAsyHi5tZWRpYXBp",
|
||||
"cGUuQmVsaWVmRGVjb2RlckNvbmZpZxIdChJub3JtYWxpemVkX2ZvY2FsX3gY",
|
||||
"BSABKAI6ATESHQoSbm9ybWFsaXplZF9mb2NhbF95GAYgASgCOgExEicKHG5v",
|
||||
"cm1hbGl6ZWRfcHJpbmNpcGFsX3BvaW50X3gYByABKAI6ATASJwocbm9ybWFs",
|
||||
"aXplZF9wcmluY2lwYWxfcG9pbnRfeRgIIAEoAjoBMDJgCgNleHQSHC5tZWRp",
|
||||
"YXBpcGUuQ2FsY3VsYXRvck9wdGlvbnMYvv/cfSABKAsyMi5tZWRpYXBpcGUu",
|
||||
"VGZMaXRlVGVuc29yc1RvT2JqZWN0c0NhbGN1bGF0b3JPcHRpb25z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, global::Mediapipe.BeliefDecoderConfigReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.TfLiteTensorsToObjectsCalculatorOptions), global::Mediapipe.TfLiteTensorsToObjectsCalculatorOptions.Parser, new[]{ "NumClasses", "NumKeypoints", "NumValuesPerKeypoint", "DecoderConfig", "NormalizedFocalX", "NormalizedFocalY", "NormalizedPrincipalPointX", "NormalizedPrincipalPointY" }, null, null, new pb::Extension[] { global::Mediapipe.TfLiteTensorsToObjectsCalculatorOptions.Extensions.Ext }, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class TfLiteTensorsToObjectsCalculatorOptions : pb::IMessage<TfLiteTensorsToObjectsCalculatorOptions>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<TfLiteTensorsToObjectsCalculatorOptions> _parser = new pb::MessageParser<TfLiteTensorsToObjectsCalculatorOptions>(() => new TfLiteTensorsToObjectsCalculatorOptions());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
private int _hasBits0;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<TfLiteTensorsToObjectsCalculatorOptions> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Mediapipe.TfliteTensorsToObjectsCalculatorReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TfLiteTensorsToObjectsCalculatorOptions() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TfLiteTensorsToObjectsCalculatorOptions(TfLiteTensorsToObjectsCalculatorOptions other) : this() {
|
||||
_hasBits0 = other._hasBits0;
|
||||
numClasses_ = other.numClasses_;
|
||||
numKeypoints_ = other.numKeypoints_;
|
||||
numValuesPerKeypoint_ = other.numValuesPerKeypoint_;
|
||||
decoderConfig_ = other.decoderConfig_ != null ? other.decoderConfig_.Clone() : null;
|
||||
normalizedFocalX_ = other.normalizedFocalX_;
|
||||
normalizedFocalY_ = other.normalizedFocalY_;
|
||||
normalizedPrincipalPointX_ = other.normalizedPrincipalPointX_;
|
||||
normalizedPrincipalPointY_ = other.normalizedPrincipalPointY_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TfLiteTensorsToObjectsCalculatorOptions Clone() {
|
||||
return new TfLiteTensorsToObjectsCalculatorOptions(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_classes" field.</summary>
|
||||
public const int NumClassesFieldNumber = 1;
|
||||
private readonly static int NumClassesDefaultValue = 0;
|
||||
|
||||
private int numClasses_;
|
||||
/// <summary>
|
||||
/// The number of output classes predicted by the detection model.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumClasses {
|
||||
get { if ((_hasBits0 & 1) != 0) { return numClasses_; } else { return NumClassesDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 1;
|
||||
numClasses_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "num_classes" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNumClasses {
|
||||
get { return (_hasBits0 & 1) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "num_classes" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNumClasses() {
|
||||
_hasBits0 &= ~1;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_keypoints" field.</summary>
|
||||
public const int NumKeypointsFieldNumber = 2;
|
||||
private readonly static int NumKeypointsDefaultValue = 0;
|
||||
|
||||
private int numKeypoints_;
|
||||
/// <summary>
|
||||
/// The number of predicted keypoints.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumKeypoints {
|
||||
get { if ((_hasBits0 & 2) != 0) { return numKeypoints_; } else { return NumKeypointsDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 2;
|
||||
numKeypoints_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "num_keypoints" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNumKeypoints {
|
||||
get { return (_hasBits0 & 2) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "num_keypoints" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNumKeypoints() {
|
||||
_hasBits0 &= ~2;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_values_per_keypoint" field.</summary>
|
||||
public const int NumValuesPerKeypointFieldNumber = 3;
|
||||
private readonly static int NumValuesPerKeypointDefaultValue = 2;
|
||||
|
||||
private int numValuesPerKeypoint_;
|
||||
/// <summary>
|
||||
/// The dimension of each keypoint, e.g. number of values predicted for each
|
||||
/// keypoint.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumValuesPerKeypoint {
|
||||
get { if ((_hasBits0 & 4) != 0) { return numValuesPerKeypoint_; } else { return NumValuesPerKeypointDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 4;
|
||||
numValuesPerKeypoint_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "num_values_per_keypoint" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNumValuesPerKeypoint {
|
||||
get { return (_hasBits0 & 4) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "num_values_per_keypoint" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNumValuesPerKeypoint() {
|
||||
_hasBits0 &= ~4;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "decoder_config" field.</summary>
|
||||
public const int DecoderConfigFieldNumber = 4;
|
||||
private global::Mediapipe.BeliefDecoderConfig decoderConfig_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Mediapipe.BeliefDecoderConfig DecoderConfig {
|
||||
get { return decoderConfig_; }
|
||||
set {
|
||||
decoderConfig_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_focal_x" field.</summary>
|
||||
public const int NormalizedFocalXFieldNumber = 5;
|
||||
private readonly static float NormalizedFocalXDefaultValue = 1F;
|
||||
|
||||
private float normalizedFocalX_;
|
||||
/// <summary>
|
||||
/// Camera focal length along x, normalized by width/2.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedFocalX {
|
||||
get { if ((_hasBits0 & 8) != 0) { return normalizedFocalX_; } else { return NormalizedFocalXDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 8;
|
||||
normalizedFocalX_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_focal_x" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedFocalX {
|
||||
get { return (_hasBits0 & 8) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_focal_x" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedFocalX() {
|
||||
_hasBits0 &= ~8;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_focal_y" field.</summary>
|
||||
public const int NormalizedFocalYFieldNumber = 6;
|
||||
private readonly static float NormalizedFocalYDefaultValue = 1F;
|
||||
|
||||
private float normalizedFocalY_;
|
||||
/// <summary>
|
||||
/// Camera focal length along y, normalized by height/2.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedFocalY {
|
||||
get { if ((_hasBits0 & 16) != 0) { return normalizedFocalY_; } else { return NormalizedFocalYDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 16;
|
||||
normalizedFocalY_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_focal_y" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedFocalY {
|
||||
get { return (_hasBits0 & 16) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_focal_y" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedFocalY() {
|
||||
_hasBits0 &= ~16;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_principal_point_x" field.</summary>
|
||||
public const int NormalizedPrincipalPointXFieldNumber = 7;
|
||||
private readonly static float NormalizedPrincipalPointXDefaultValue = 0F;
|
||||
|
||||
private float normalizedPrincipalPointX_;
|
||||
/// <summary>
|
||||
/// Camera principle point x, normalized by width/2, origin is image center.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedPrincipalPointX {
|
||||
get { if ((_hasBits0 & 32) != 0) { return normalizedPrincipalPointX_; } else { return NormalizedPrincipalPointXDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 32;
|
||||
normalizedPrincipalPointX_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_principal_point_x" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedPrincipalPointX {
|
||||
get { return (_hasBits0 & 32) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_principal_point_x" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedPrincipalPointX() {
|
||||
_hasBits0 &= ~32;
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "normalized_principal_point_y" field.</summary>
|
||||
public const int NormalizedPrincipalPointYFieldNumber = 8;
|
||||
private readonly static float NormalizedPrincipalPointYDefaultValue = 0F;
|
||||
|
||||
private float normalizedPrincipalPointY_;
|
||||
/// <summary>
|
||||
/// Camera principle point y, normalized by height/2, origin is image center.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float NormalizedPrincipalPointY {
|
||||
get { if ((_hasBits0 & 64) != 0) { return normalizedPrincipalPointY_; } else { return NormalizedPrincipalPointYDefaultValue; } }
|
||||
set {
|
||||
_hasBits0 |= 64;
|
||||
normalizedPrincipalPointY_ = value;
|
||||
}
|
||||
}
|
||||
/// <summary>Gets whether the "normalized_principal_point_y" field is set</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasNormalizedPrincipalPointY {
|
||||
get { return (_hasBits0 & 64) != 0; }
|
||||
}
|
||||
/// <summary>Clears the value of the "normalized_principal_point_y" field</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void ClearNormalizedPrincipalPointY() {
|
||||
_hasBits0 &= ~64;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as TfLiteTensorsToObjectsCalculatorOptions);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(TfLiteTensorsToObjectsCalculatorOptions other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (NumClasses != other.NumClasses) return false;
|
||||
if (NumKeypoints != other.NumKeypoints) return false;
|
||||
if (NumValuesPerKeypoint != other.NumValuesPerKeypoint) return false;
|
||||
if (!object.Equals(DecoderConfig, other.DecoderConfig)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedFocalX, other.NormalizedFocalX)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedFocalY, other.NormalizedFocalY)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedPrincipalPointX, other.NormalizedPrincipalPointX)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(NormalizedPrincipalPointY, other.NormalizedPrincipalPointY)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (HasNumClasses) hash ^= NumClasses.GetHashCode();
|
||||
if (HasNumKeypoints) hash ^= NumKeypoints.GetHashCode();
|
||||
if (HasNumValuesPerKeypoint) hash ^= NumValuesPerKeypoint.GetHashCode();
|
||||
if (decoderConfig_ != null) hash ^= DecoderConfig.GetHashCode();
|
||||
if (HasNormalizedFocalX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedFocalX);
|
||||
if (HasNormalizedFocalY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedFocalY);
|
||||
if (HasNormalizedPrincipalPointX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedPrincipalPointX);
|
||||
if (HasNormalizedPrincipalPointY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(NormalizedPrincipalPointY);
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (HasNumClasses) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(NumClasses);
|
||||
}
|
||||
if (HasNumKeypoints) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(NumKeypoints);
|
||||
}
|
||||
if (HasNumValuesPerKeypoint) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(NumValuesPerKeypoint);
|
||||
}
|
||||
if (decoderConfig_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(DecoderConfig);
|
||||
}
|
||||
if (HasNormalizedFocalX) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(NormalizedFocalX);
|
||||
}
|
||||
if (HasNormalizedFocalY) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(NormalizedFocalY);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointX) {
|
||||
output.WriteRawTag(61);
|
||||
output.WriteFloat(NormalizedPrincipalPointX);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointY) {
|
||||
output.WriteRawTag(69);
|
||||
output.WriteFloat(NormalizedPrincipalPointY);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (HasNumClasses) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(NumClasses);
|
||||
}
|
||||
if (HasNumKeypoints) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(NumKeypoints);
|
||||
}
|
||||
if (HasNumValuesPerKeypoint) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(NumValuesPerKeypoint);
|
||||
}
|
||||
if (decoderConfig_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(DecoderConfig);
|
||||
}
|
||||
if (HasNormalizedFocalX) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(NormalizedFocalX);
|
||||
}
|
||||
if (HasNormalizedFocalY) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(NormalizedFocalY);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointX) {
|
||||
output.WriteRawTag(61);
|
||||
output.WriteFloat(NormalizedPrincipalPointX);
|
||||
}
|
||||
if (HasNormalizedPrincipalPointY) {
|
||||
output.WriteRawTag(69);
|
||||
output.WriteFloat(NormalizedPrincipalPointY);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (HasNumClasses) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumClasses);
|
||||
}
|
||||
if (HasNumKeypoints) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumKeypoints);
|
||||
}
|
||||
if (HasNumValuesPerKeypoint) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumValuesPerKeypoint);
|
||||
}
|
||||
if (decoderConfig_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DecoderConfig);
|
||||
}
|
||||
if (HasNormalizedFocalX) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasNormalizedFocalY) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasNormalizedPrincipalPointX) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (HasNormalizedPrincipalPointY) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(TfLiteTensorsToObjectsCalculatorOptions other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasNumClasses) {
|
||||
NumClasses = other.NumClasses;
|
||||
}
|
||||
if (other.HasNumKeypoints) {
|
||||
NumKeypoints = other.NumKeypoints;
|
||||
}
|
||||
if (other.HasNumValuesPerKeypoint) {
|
||||
NumValuesPerKeypoint = other.NumValuesPerKeypoint;
|
||||
}
|
||||
if (other.decoderConfig_ != null) {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
DecoderConfig.MergeFrom(other.DecoderConfig);
|
||||
}
|
||||
if (other.HasNormalizedFocalX) {
|
||||
NormalizedFocalX = other.NormalizedFocalX;
|
||||
}
|
||||
if (other.HasNormalizedFocalY) {
|
||||
NormalizedFocalY = other.NormalizedFocalY;
|
||||
}
|
||||
if (other.HasNormalizedPrincipalPointX) {
|
||||
NormalizedPrincipalPointX = other.NormalizedPrincipalPointX;
|
||||
}
|
||||
if (other.HasNormalizedPrincipalPointY) {
|
||||
NormalizedPrincipalPointY = other.NormalizedPrincipalPointY;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
NumClasses = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
NumKeypoints = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
NumValuesPerKeypoint = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
input.ReadMessage(DecoderConfig);
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
NormalizedFocalX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
NormalizedFocalY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 61: {
|
||||
NormalizedPrincipalPointX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 69: {
|
||||
NormalizedPrincipalPointY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
NumClasses = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
NumKeypoints = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
NumValuesPerKeypoint = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (decoderConfig_ == null) {
|
||||
DecoderConfig = new global::Mediapipe.BeliefDecoderConfig();
|
||||
}
|
||||
input.ReadMessage(DecoderConfig);
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
NormalizedFocalX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
NormalizedFocalY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 61: {
|
||||
NormalizedPrincipalPointX = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 69: {
|
||||
NormalizedPrincipalPointY = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Extensions
|
||||
/// <summary>Container for extensions for other messages declared in the TfLiteTensorsToObjectsCalculatorOptions message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Extensions {
|
||||
public static readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.TfLiteTensorsToObjectsCalculatorOptions> Ext =
|
||||
new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.TfLiteTensorsToObjectsCalculatorOptions>(263667646, pb::FieldCodec.ForMessage(2109341170, global::Mediapipe.TfLiteTensorsToObjectsCalculatorOptions.Parser));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fefbc482bc9248f67adbe79ac750595e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user