mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 07:00:14 +02:00
fh-camd (camd/) borrows XRService's camera buffers and publishes the tracking cameras' frames to a shared ring. fh-tracker (trackd/) finds hands in them with MediaPipe's palm and landmark models on ncnn, triangulates them in 3D, and publishes them for ft-screens. fh-replay replays recordings offline. tracker/ is the earlier Python version; tools/ and probes/ hold the checks and experiments. As of this commit: crop contrast defaults to CLAHE for the palm search and plain crops for the landmarks, --swap-sides works around fh-camd naming the side cameras backwards after some XRService restarts (tools/check_sides.py detects it), and --record-only, --with-dark, --cpus and --keep-presence support the bright-light and CPU-placement tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
366 B
Makefile
16 lines
366 B
Makefile
CFLAGS ?= -O2 -g -Wall -Wextra -Wno-unused-parameter
|
|
LDLIBS = -lm
|
|
|
|
all: fh-camprobe fh-camd
|
|
|
|
fh-camprobe: camprobe.c tp.c xrcams.c tp.h xrcams.h
|
|
$(CC) $(CFLAGS) -o $@ camprobe.c tp.c xrcams.c $(LDLIBS)
|
|
|
|
fh-camd: camd.c tp.c xrcams.c tp.h xrcams.h fhring.h
|
|
$(CC) $(CFLAGS) -o $@ camd.c tp.c xrcams.c $(LDLIBS)
|
|
|
|
clean:
|
|
rm -f fh-camprobe fh-camd
|
|
|
|
.PHONY: all clean
|