29 #ifndef FVS_FACE_REGIONS_H__ 30 #define FVS_FACE_REGIONS_H__ 33 #include "face_video_segment.pb.h" 39 #include <sfl/sequence_face_landmarks.h> 42 #include <segment_util/segmentation.pb.h> 45 #include <opencv2/core.hpp> 68 void addFrame(
const segmentation::SegmentationDesc& seg_desc,
69 const sfl::Frame& sfl_frame, Frame& fvs_frame);
76 void addFace(
const segmentation::SegmentationDesc& seg_desc,
77 const sfl::Face& sfl_face, Frame& fvs_frame);
81 cv::Mat createFaceMap(
const cv::Size& size,
const std::vector<cv::Point>& landmarks);
84 std::unique_ptr<segmentation::SegmentationDesc> m_seg_hier;
89 #endif // FVS_FACE_REGIONS_H__ void addFrame(const segmentation::SegmentationDesc &seg_desc, const sfl::Frame &sfl_frame, Frame &fvs_frame)
Add a new frame.
Definition: face_regions.cpp:49
FaceRegions()
Constructor.
Definition: face_regions.cpp:45
Classifies segmented regions into face region types.
Definition: face_regions.h:56
Definition: face_regions.cpp:43