Scanner C++ API
Public Member Functions | Public Attributes | List of all members
scanner::FrameInfo Struct Reference

FrameInfo. More...

#include <frame.h>

Public Member Functions

 FrameInfo (const FrameInfo &info)=default
 
 FrameInfo (FrameInfo &&info)=default
 
FrameInfooperator= (const FrameInfo &)=default
 
 FrameInfo (int shape0, int shape1, int shape2, FrameType type)
 
 FrameInfo (const std::vector< int > shapes, FrameType type)
 
bool operator== (const FrameInfo &other) const
 
bool operator!= (const FrameInfo &other) const
 
size_t size () const
 
int width () const
 Only valid when the dimensions are (height, width, channels)
 
int height () const
 Only valid when the dimensions are (height, width, channels)
 
int channels () const
 Only valid when the dimensions are (height, width, channels)
 

Public Attributes

int shape [FRAME_DIMS]
 
FrameType type
 

Detailed Description

FrameInfo.


The documentation for this struct was generated from the following files: