ONVIF::...pearance(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::...pearance(3) πŸ’…

Okay so bestie, you're looking at ONVIF::...pearance(3) β€” it's a page from the User Contributed Perl Documentation, and it's literally all about one lil class. Buckle up πŸŽ€


✨ NAME ✨

ONVIF::Analytics::Types::Appearance β€” yes, that's the whole name, she's an icon, she's a Perl data type class, periodt πŸ’–


🌸 DESCRIPTION 🌸

So here's the tea: this is a Perl data type class for the XML Schema defined complexType Appearance, and it comes straight out of the namespace http://www.onvif.org/ver10/schema. That's it, that's the vibe ✨


πŸ¦‹ PROPERTIES πŸ¦‹

These are the properties you can get and set β€” and no cap, you access every single one of them using the get_PROPERTY / set_PROPERTY methods πŸ‘‘

  • Transformation
  • Shape
  • Color
  • Class
  • Extension

Five of them. All accounted for. Nobody left behind 🫢


πŸ”₯ METHODS πŸ”₯

🌈 new

Constructor time, bestie! The following data structure may be passed to new():

 { # ONVIF::Analytics::Types::Appearance
  Transformation =>  { # ONVIF::Analytics::Types::Transformation
    Translate => ,
    Scale => ,
    Extension =>  { # ONVIF::Analytics::Types::TransformationExtension
    },
  },
  Shape =>  { # ONVIF::Analytics::Types::ShapeDescriptor
    BoundingBox => ,
    CenterOfGravity => ,
    Polygon =>  { # ONVIF::Analytics::Types::Polygon
      Point => ,
    },
    Extension =>  { # ONVIF::Analytics::Types::ShapeDescriptorExtension
    },
  },
  Color =>  { # ONVIF::Analytics::Types::ColorDescriptor
    ColorCluster =>  {
      Color => ,
      Weight =>  $some_value, # float
      Covariance => ,
    },
    Extension =>  { # ONVIF::Analytics::Types::ColorDescriptorExtension
    },
  },
  Class =>  { # ONVIF::Analytics::Types::ClassDescriptor
    ClassCandidate =>  {
      Type => $some_value, # ClassType
      Likelihood =>  $some_value, # float
    },
    Extension =>  { # ONVIF::Analytics::Types::ClassDescriptorExtension
      OtherTypes =>  { # ONVIF::Analytics::Types::OtherType
        Type =>  $some_value, # string
        Likelihood =>  $some_value, # float
      },
      Extension =>  { # ONVIF::Analytics::Types::ClassDescriptorExtension2
      },
    },
  },
  Extension =>  { # ONVIF::Analytics::Types::AppearanceExtension
  },
 },

Look at that nested structure β€” it's giving main character energy, honestly πŸ˜­πŸ¦‹ Just pass the hashref in and let the constructor do her thing.


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” yes, she was auto-generated, and she still ate πŸ’…


That's the whole page, bestie! No gatekeeping, every last detail preserved, exactly as the manpage intended 🌸

Sign-off vibes: this iconic little doc comes to you from perl v5.42.3, dated 1980-01-01, and it's filed under ONVIF::...pearance(3) in the User Contributed Perl Documentation. Slay, stay hydrated, and may your getters and setters always behave πŸŽ€βœ¨

πŸ“¦ where this page comes from