SOMHunter Core
sh::VideoFrame Struct Reference

#include <dataset-frames.h>

Public Member Functions

 VideoFrame ()=default
 
 VideoFrame (std::string &&filename, VideoId video_ID, ShotId shot_ID, FrameId frame_number, FrameId image_ID, uint8_t weekday=0, uint8_t hour=0, uint16_t year=2021)
 
nlohmann::json to_JSON () const
 

Public Attributes

std::string filename
 
VideoId video_ID
 
ShotId shot_ID
 
FrameId frame_number
 
FrameId frame_ID
 
std::string LSC_id
 Original filename without the suffix. More...
 
Weekday weekday
 Day in a week (mon -> 0, ..., sun -> 7). More...
 
Hour hour
 In interval [0, 23]. More...
 
Year year
 Year interval. More...
 

Constructor & Destructor Documentation

◆ VideoFrame() [1/2]

sh::VideoFrame::VideoFrame ( )
default

◆ VideoFrame() [2/2]

sh::VideoFrame::VideoFrame ( std::string &&  filename,
VideoId  video_ID,
ShotId  shot_ID,
FrameId  frame_number,
FrameId  image_ID,
uint8_t  weekday = 0,
uint8_t  hour = 0,
uint16_t  year = 2021 
)
inline

Member Function Documentation

◆ to_JSON()

nlohmann::json sh::VideoFrame::to_JSON ( ) const
inline

Member Data Documentation

◆ filename

std::string sh::VideoFrame::filename

◆ frame_ID

FrameId sh::VideoFrame::frame_ID

◆ frame_number

FrameId sh::VideoFrame::frame_number

◆ hour

Hour sh::VideoFrame::hour

In interval [0, 23].

◆ LSC_id

std::string sh::VideoFrame::LSC_id

Original filename without the suffix.

◆ shot_ID

ShotId sh::VideoFrame::shot_ID

◆ video_ID

VideoId sh::VideoFrame::video_ID

◆ weekday

Weekday sh::VideoFrame::weekday

Day in a week (mon -> 0, ..., sun -> 7).

◆ year

Year sh::VideoFrame::year

Year interval.


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