You must create an http + websocket server in C ++ + Boost.Beast. 99% example: [login to view URL]
It is necessary to ensure the availability of a C ++ application based on an example that will be assembled through CMake and after launch will provide hosting for a Web application based on Bootstrap.4 ([login to view URL]) The server should not have any API, only provide hosting of the files necessary for any of the Bootstrap examples to work (these examples work without a web server, just opening from a file). The attached example can do it all, but there are no build scripts through CMake and there may be surprises with hosting font files, you may need a special parser for font file names (or it may not be required)
At the second stage, the server must additionally provide the transfer of the sequence of Jpeg files through the Websocket, JSON metadata containing a randomly generated rectangle is additionally attached to each image. As a result, you need to get C ++ WebServer compatible with our prototype Web interface written in NodeJS, replacing NodeJS with C ++
The next steps will be integration with the video camera and video analytics algorithms, which will give the coordinates of the rectangles transmitted via Json
Jpeg images are allowed to be read from disk or generated using OpenCV tools; their con-tents do not matter.
The result should be in the form of a .[login to view URL] archive with source codes and [login to view URL], assembly should be through CMake. The archive should contain assembly instructions, which also indicate additional dependencies that had to be installed for work.
Should work on Ubuntu 18.04