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

Frame. More...

#include <frame.h>

Public Member Functions

 Frame (FrameInfo info, u8 *buffer)
 
FrameInfo as_frame_info () 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
 
u8 * data
 

Detailed Description

Frame.


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