#include #include #include #include int main(void) { std::cout << "hello central" << std::endl; const int thresholdBinary = 140; const int videoHeight = 720; const int videoWidth = 1280; const int gaussKernelSize = 11; std::mutex mutex; std::cout << "create lfr" << std::endl; LFR lfr(videoHeight, videoWidth, thresholdBinary, gaussKernelSize, [&](std::exception const &ex) { std::unique_lock lock(mutex); std::cerr<<"camera exception:"< lock(mutex); std::cerr<<"socket exception:"<