From 8a6b5564c0fc37e6e556d04e17ddba86d4bd3dc1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 17 Aug 2021 08:56:06 -0400 Subject: Started work on bounding boxes --- Makefile | 2 +- annotator.conf | 1 + src/labeller.cc | 6 ++++++ src/labeller.h | 6 ++++++ src/settings.cc | 19 ++++++++++++++----- src/settings.h | 1 + src/ui.cc | 28 ++++++++++++++++++++++++++++ 7 files changed, 57 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8cc7873..9e1db82 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC=g++ LIBS=libconfuse opencv4 CFLAGS=-c -Wall -fPIC -std=c++20 -LDFLAGS=-pthread +LDFLAGS= SOURCES=src/annotator.cc src/labeller.cc src/playback.cc src/settings.cc src/ui.cc OBJECTS=$(SOURCES:.cc=.o) LIBRARY= diff --git a/annotator.conf b/annotator.conf index d89676d..6ec3ff2 100644 --- a/annotator.conf +++ b/annotator.conf @@ -1 +1,2 @@ labels = {"saccade", "blink", "head move start", "head move end", "look down start", "look down end"} +rectangles = {"face"} diff --git a/src/labeller.cc b/src/labeller.cc index 64da2d7..024b720 100644 --- a/src/labeller.cc +++ b/src/labeller.cc @@ -6,6 +6,7 @@ namespace backend { struct labeller_impl { std::vector labels; + std::vector rectangleLabels; std::vector