> There is no worse software than undocumented software.
## Style guide
The code is written following C++20 standard, to ensure the best readability and maintainability. The code is formatted using [clang-format](https://clang.llvm.org/docs/ClangFormat.html) with the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) as a reference.
This section refers to the code delivered by February 2023.
- To be able to work with the "old" neural network (by Ilenya), the output images should correspond to the old "whole tape" where, from the frame judged as interesting, an area corresponding to the height of the tape was extracted (so about the height of the current rectangle) and as wide as the original frame (so 720px). This area will then have to be resized to 224x224 as in the past. If instead you decide to use the new neural network, no changes are needed;
- A resize function of the entire video should be implemented if it does not conform to the PAL standard (currently taken for granted);
- Progressive videos, which do not require deinterlacing, should be managed (in the code there are several steps that operate considering this property);
* Currently, this program is only compatible with the Studer A810 and videos recorded in PAL standard.
* @warning Currently, this program is only compatible with the Studer A810 and videos recorded in PAL standard.
*
* @todo
* - A resize function of the entire video should be implemented if it does not conform to the PAL standard (currently taken for granted).
* - Progressive videos, which do not require deinterlacing, should be managed (in the code there are several steps that operate considering this property).
*
* @author Nadir Dalla Pozza <nadir.dallapozza@unipd.it>
* @author Matteo Spanio <dev2@audioinnova.com>
...
...
@@ -565,11 +568,20 @@ bool frameDifference(cv::Mat prevFrame, cv::Mat currentFrame, int msToEnd, Scene