|
kNOw SIGN
|
#include <stdio.h>#include <stdlib.h>#include <time.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <stdarg.h>#include <errno.h>#include <string.h>#include <signal.h>#include <syslog.h>#include <termios.h>#include <netinet/in.h>#include <getopt.h>#include <iostream>#include <vector>#include <cmath>#include <thread>#include <chrono>#include "opencv2/opencv.hpp"#include "opencv2/imgproc/imgproc.hpp"#include "opencv2/imgproc/types_c.h"#include "opencv2/highgui/highgui_c.h"#include "ArduiPi_OLED_lib.h"#include "Adafruit_GFX.h"#include "ArduiPi_OLED.h"#include "FrameGen.hpp"#include "roi.hpp"#include "main.hpp"#include "RecogModel.h"#include "handDetect.h"#include "led_display.hpp"#include "ThreadSafeFramesQueue.hpp"
Functions | |
| int | main () |
| int main | ( | ) |
THREAD 1: Frames-capturing thread UPDATES: raw frames queue
If ESC is pressed OR stream is exhausted, Send the kill-signal to other threads
THREAD 2: Inference thread UPDATES: inference frames queue - inferred chars
inp is valid, run inference on it
1.8.13