ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
face_follow_state_t Struct Reference

face follow state keeps the values that move through the subsystem: crop, target, face, last_tick. Some members are pointers into caller- or subsystem-owned memory, so lifetime follows the API that populated them rather than the struct copy itself. More...

#include <include/ascii-chat/video/face_follow.h>

Data Fields

face_follow_rect_t crop
face_follow_rect_t target
face_follow_rect_t face
double last_tick
double last_seen
double pan_outside_since
double zoom_outside_since
float anchor_x
float anchor_y
float pan_direction_x
float pan_direction_y
float zoom_direction
bool initialized
bool tracking
bool detected
bool pan_pending
bool zoom_pending
unsigned int misses

Detailed Description

face follow state keeps the values that move through the subsystem: crop, target, face, last_tick. Some members are pointers into caller- or subsystem-owned memory, so lifetime follows the API that populated them rather than the struct copy itself.

One instance per capture source; times are monotonic seconds.

Definition at line 36 of file face_follow.h.

Field Documentation

◆ anchor_x

float face_follow_state_t::anchor_x

Definition at line 40 of file face_follow.h.

◆ anchor_y

float face_follow_state_t::anchor_y

Definition at line 40 of file face_follow.h.

◆ crop

face_follow_rect_t face_follow_state_t::crop

Definition at line 37 of file face_follow.h.

Referenced by face_follow_image_process().

◆ detected

bool face_follow_state_t::detected

Definition at line 42 of file face_follow.h.

Referenced by face_follow_image_process().

◆ face

face_follow_rect_t face_follow_state_t::face

Definition at line 37 of file face_follow.h.

Referenced by face_follow_image_process().

◆ initialized

bool face_follow_state_t::initialized

Definition at line 42 of file face_follow.h.

◆ last_seen

double face_follow_state_t::last_seen

Definition at line 38 of file face_follow.h.

Referenced by face_follow_image_process().

◆ last_tick

double face_follow_state_t::last_tick

Definition at line 38 of file face_follow.h.

◆ misses

unsigned int face_follow_state_t::misses

Definition at line 44 of file face_follow.h.

◆ pan_direction_x

float face_follow_state_t::pan_direction_x

Definition at line 41 of file face_follow.h.

◆ pan_direction_y

float face_follow_state_t::pan_direction_y

Definition at line 41 of file face_follow.h.

◆ pan_outside_since

double face_follow_state_t::pan_outside_since

Definition at line 39 of file face_follow.h.

◆ pan_pending

bool face_follow_state_t::pan_pending

Definition at line 43 of file face_follow.h.

◆ target

face_follow_rect_t face_follow_state_t::target

Definition at line 37 of file face_follow.h.

◆ tracking

bool face_follow_state_t::tracking

Definition at line 42 of file face_follow.h.

◆ zoom_direction

float face_follow_state_t::zoom_direction

Definition at line 41 of file face_follow.h.

◆ zoom_outside_since

double face_follow_state_t::zoom_outside_since

Definition at line 39 of file face_follow.h.

◆ zoom_pending

bool face_follow_state_t::zoom_pending

Definition at line 43 of file face_follow.h.


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