mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 02:00:06 +02:00
The history of frame-hands (~/Desktop/Projects/frame-hands on the Frame), filtered to what moves: the camera broker (camd/), the tracker and its offline tools (trackd/), the shared file layouts (include/), the ncnn models, the analysis tools, and the calibration and model helpers they import from the Python prototype. The reverse-engineering notes, probes, camprobe, and the rest of the prototype stay in frame-hands. Unchanged here: the renames to ft- names and Frametop paths follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
# fh-tracker, the C++ tracker. Needs ncnn built into ../vendor/ncnn/build/install
|
|
# (see README.md) and jsoncpp.
|
|
NCNN ?= ../vendor/ncnn/build/install
|
|
CXXFLAGS ?= -O2 -g -Wall -Wextra -Wno-unused-parameter
|
|
CXXFLAGS += -std=c++17 -fopenmp -I$(NCNN)/include/ncnn
|
|
LDLIBS = $(NCNN)/lib/libncnn.a -ljsoncpp -fopenmp -lpthread
|
|
|
|
SRC = main.cpp calib.cpp nets.cpp tracker.cpp io.cpp record.cpp pinch.cpp
|
|
HDR = calib.h geom.h nets.h tracker.h io.h record.h pinch.h ../camd/fhring.h ../include/fh_hands.h ../include/fh_gestures.h
|
|
|
|
all: fh-tracker fh-replay fh-ringplay
|
|
|
|
fh-tracker: $(SRC) $(HDR)
|
|
$(CXX) $(CXXFLAGS) -o $@ $(SRC) $(LDLIBS)
|
|
|
|
fh-replay: replay.cpp calib.cpp nets.cpp tracker.cpp record.cpp pinch.cpp io.cpp $(HDR)
|
|
$(CXX) $(CXXFLAGS) -o $@ replay.cpp calib.cpp nets.cpp tracker.cpp record.cpp pinch.cpp io.cpp $(LDLIBS)
|
|
|
|
fh-ringplay: ringplay.cpp record.h ../camd/fhring.h
|
|
$(CXX) $(CXXFLAGS) -o $@ ringplay.cpp
|
|
|
|
clean:
|
|
rm -f fh-tracker fh-replay fh-ringplay nettest
|
|
|
|
.PHONY: all clean
|
|
|
|
nettest: nettest.cpp nets.cpp nets.h geom.h
|
|
$(CXX) $(CXXFLAGS) -o $@ nettest.cpp nets.cpp $(LDLIBS)
|