ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
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 44 of file face_follow.h.

Field Documentation

◆ anchor_x

float face_follow_state_t::anchor_x

Definition at line 48 of file face_follow.h.

Referenced by face_follow_observe().

◆ anchor_y

float face_follow_state_t::anchor_y

Definition at line 48 of file face_follow.h.

Referenced by face_follow_observe().

◆ crop

face_follow_rect_t face_follow_state_t::crop

Definition at line 45 of file face_follow.h.

Referenced by face_follow_image_process(), face_follow_init(), and face_follow_tick().

◆ detected

bool face_follow_state_t::detected

Definition at line 50 of file face_follow.h.

Referenced by face_follow_image_process(), and face_follow_observe().

◆ face

face_follow_rect_t face_follow_state_t::face

Definition at line 45 of file face_follow.h.

Referenced by face_follow_image_process(), and face_follow_observe().

◆ initialized

bool face_follow_state_t::initialized

Definition at line 50 of file face_follow.h.

Referenced by face_follow_tick().

◆ last_seen

double face_follow_state_t::last_seen

Definition at line 46 of file face_follow.h.

Referenced by face_follow_image_process(), face_follow_observe(), and face_follow_tick().

◆ last_tick

double face_follow_state_t::last_tick

Definition at line 46 of file face_follow.h.

Referenced by face_follow_tick().

◆ misses

unsigned int face_follow_state_t::misses

Definition at line 52 of file face_follow.h.

Referenced by face_follow_observe().

◆ pan_direction_x

float face_follow_state_t::pan_direction_x

Definition at line 49 of file face_follow.h.

Referenced by face_follow_observe().

◆ pan_direction_y

float face_follow_state_t::pan_direction_y

Definition at line 49 of file face_follow.h.

Referenced by face_follow_observe().

◆ pan_outside_since

double face_follow_state_t::pan_outside_since

Definition at line 47 of file face_follow.h.

Referenced by face_follow_observe().

◆ pan_pending

bool face_follow_state_t::pan_pending

Definition at line 51 of file face_follow.h.

Referenced by face_follow_observe().

◆ target

face_follow_rect_t face_follow_state_t::target

Definition at line 45 of file face_follow.h.

Referenced by face_follow_init(), face_follow_observe(), and face_follow_tick().

◆ tracking

bool face_follow_state_t::tracking

Definition at line 50 of file face_follow.h.

Referenced by face_follow_observe(), and face_follow_tick().

◆ zoom_direction

float face_follow_state_t::zoom_direction

Definition at line 49 of file face_follow.h.

Referenced by face_follow_observe().

◆ zoom_outside_since

double face_follow_state_t::zoom_outside_since

Definition at line 47 of file face_follow.h.

Referenced by face_follow_observe().

◆ zoom_pending

bool face_follow_state_t::zoom_pending

Definition at line 51 of file face_follow.h.

Referenced by face_follow_observe().


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