Commit faf9cf48 authored by Nadir Dalla Pozza's avatar Nadir Dalla Pozza
Browse files

Documentation

parent 1a55d83d
# Video Analyzer # Video Analyser
## Description
Implements the Technical Specification of [MPAI CAE-ARP](https://mpai.community/standards/mpai-cae/about-mpai-cae/#Figure2) *Video Analyser* AIM, providing:
* 2 Irregularity Files;
* Irregularity Images.
## Getting started ## Getting started
The *Video Analyser* is written in C++23 and its executable for MacOS Monterey systems is provided in this repository and it can be used as is.
To make it easy for you to get started with GitLab, here's a list of recommended next steps. The program was built using CMake, which is therefore required to build the program for other systems.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! ## Installation
[Boost C++ Libraries](https://www.boost.org) are required for creating the command line interface (with [Boost.Program_options](https://www.boost.org/doc/libs/1_81_0/doc/html/program_options.html)) and generating UUIDs (with [Uuid](https://www.boost.org/doc/libs/1_81_0/libs/uuid/doc/uuid.html)).
You can install them following [official instructions](https://www.boost.org/doc/libs/1_81_0/more/getting_started/unix-variants.html) (Boost version 1.81.0).
Boost `program_options` library shall be separately built following [these additional instructions](https://www.boost.org/doc/libs/1_81_0/more/getting_started/unix-variants.html#easy-build-and-install).
## Add your files [OpenCV](https://docs.opencv.org/4.x/index.html) is required for elaborating Irregularity Images. You can install it following [official instructions](https://docs.opencv.org/3.4/d0/db2/tutorial_macos_install.html).
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files Finally, [nlohmann/json](https://github.com/nlohmann/json) is required for reading the configuration file.
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command: Installation instructions are under the "Integration" section.
In the root folder there is a CMakeLists.txt file that specifies the configuration for CMake:
``` ```
cd existing_repo CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
git remote add origin https://gitlab.dei.unipd.it/mpai/video-analyzer.git PROJECT(video_analyser)
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](https://gitlab.dei.unipd.it/mpai/video-analyzer/-/settings/integrations)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
SET(CMAKE_CXX_STANDARD 23)
Use the built-in continuous integration in GitLab. LINK_DIRECTORIES(/usr/local/lib)
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html) FIND_PACKAGE(OpenCV REQUIRED)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/) FIND_PACKAGE(nlohmann_json 3.2.0 REQUIRED)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html) FIND_PACKAGE(Boost COMPONENTS program_options REQUIRED)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
*** INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
# Editing this README ADD_EXECUTABLE(video_analyser ./src/script.cpp)
TARGET_LINK_LIBRARIES(video_analyser ${OpenCV_LIBRARIES} nlohmann_json::nlohmann_json ${Boost_PROGRAM_OPTIONS_LIBRARY})
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template. ```
`LINK_DIRECTORIES` specifies the path to the installed libraries.
## Suggestions for a good README Make sure that the flag `${Boost_PROGRAM_OPTIONS_LIBRARY}` is present under `TARGET_LINK_LIBRARIES`.
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name Once the libraries are installed, you can build the *Video Analyser* moving to `/build` directory and invoking CMake commands:
Choose a self-explaining name for your project. ```
cd /path/to/video/analyser/build
cmake ..
make
```
## Description ## Usage
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors. Once the program is built, you should customise the configuration file `config.json`.
There are four required parameters of interest:
1. `WorkingPath` that specifies the working path where all input files are stored and where all output files will be saved;
2. `FilesName` that specifies the name of the preservation files to be considered.
3. `Brands` that specifies if the tape presents brands on its surface;
4. `Speed` that specifies the speed at which the tape was read;
There are also other required parameters which deeply influence the behaviour of the *Video Analyser* and, therefore, ***should not be modified unless with great knowledge of what you are doing***. They are:
1. `TapeThresholdPercentual` that specifies the minimum percentage of different pixels for considering the current frame under the tape ROI as a potential Irregularity;
2. `CapstanThresholdPercentual` that specifies the minimum percentage of different pixels for considering the current frame under the capstan ROI as a potential Irregularity;
3. `MinDist` that specifies the minimum distance between the centers of the detected objects for the detection of the reading head;
4. `AngleThresh` that specifies the angle votes threshold for the detection of the reading head;
5. `ScaleThresh` that specifies the scale votes threshold for the detection of the reading head;
6. `PosThresh` that specifies the position votes threshold for the detection of the reading head;
7. `MinDistCapstan` that specifies the minimum distance between the centers of the detected objects for the detection of the capstan;
8. `AngleThreshCapstan` that specifies the angle votes threshold for the detection of the capstan;
9. `ScaleThreshCapstan` that specifies the scale votes threshold for the detection of the capstan;
10. `PosThreshCapstan` that specifies the position votes threshold for the detection of the capstan.
To execute the script without issues, the inner structure of the `WorkingPath` directory shall be like:
```
.
├── AccessCopyFiles
│ └── ...
├── PreservationAudioFile
│ ├── File1.wav
│ ├── File2.wav
│ └── ...
├── PreservationAudioVisualFile
│ ├── File1.mp4
│ ├── File2.mp4
│ └── ...
├── PreservationMasterFiles
│ └── ...
└── temp
├── File1
│ ├── AudioAnalyser_IrregularityFileOutput1.json
│ ├── AudioAnalyser_IrregularityFileOutput2.json
│ ├── AudioBlocks
│ │ ├── AudioBlock1.wav
│ │ ├── AudioBlock2.wav
│ │ └── ...
│ ├── EditingList.json
│ ├── IrregularityImages
│ │ ├── IrregularityImage1.jpg
│ │ ├── IrregularityImage2.jpg
│ │ └── ...
│ ├── RestoredAudioFiles
│ │ ├── RestoredAudioFile1.wav
│ │ ├── RestoredAudioFile2.wav
│ │ └── ...
│ ├── TapeIrregularityClassifier_IrregularityFileOutput1.json
│ ├── TapeIrregularityClassifier_IrregularityFileOutput2.json
│ ├── VideoAnalyser_IrregularityFileOutput1.json
│ └── VideoAnalyser_IrregularityFileOutput2.json
├── File2
│ ├── AudioAnalyser_IrregularityFileOutput1.json
│ ├── AudioAnalyser_IrregularityFileOutput2.json
│ ├── AudioBlocks
│ │ ├── AudioBlock1.wav
│ │ ├── AudioBlock2.wav
│ │ └── ...
│ ├── EditingList.json
│ ├── IrregularityImages
│ │ ├── IrregularityImage1.jpg
│ │ ├── IrregularityImage2.jpg
│ │ └── ...
│ ├── RestoredAudioFiles
│ │ ├── RestoredAudioFile1.wav
│ │ ├── RestoredAudioFile2.wav
│ │ └── ...
│ ├── TapeIrregularityClassifier_IrregularityFileOutput1.json
│ ├── TapeIrregularityClassifier_IrregularityFileOutput2.json
│ ├── VideoAnalyser_IrregularityFileOutput1.json
│ └── VideoAnalyser_IrregularityFileOutput2.json
└── ...
```
`PreservationAudioFile` and `PreservationAudioVisualFile` directories contain the input of ARP Workflow, while `AccessCopyFiles` and `PreservationMasterFiles` directories contain its output. `temp` directory is used to store all files exchanged between the AIMs within the Workflow.
## Badges Please note that:
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge. * Corresponding input files shall present the same name;
* The name of Irregularity Files given above is ***mandatory***.
## Visuals With this structure, `FilesName` parameter could be equal to `File1` or `File2`.
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation You can now launch the *Video Analyser* moving to the `/bin` directory from the command line with:
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection. ```
cd /path/to/video/analyser/bin
./video_analyser
```
Useful log information will be displayed during execution.
## Usage To enable integration in more complex workflows, it is also possible to launch the *Video Analyser* with command line arguments:
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README. ```
./video_analyser [-h] -w WORKING_PATH -f FILES_NAME -b BRANDS -s SPEED
```
If you use the `-h` flag:
```
./video_analyser -h
```
all instructions will be displayed.
## Support ## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc. If you require additional information or have any problem, you can contact us at:
* Nadir Dalla Pozza (nadir.dallapozza@unipd.it);
## Roadmap * Niccolò Pretto (niccolo.pretto@unipd.it).
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self. ## Authors and acknowledgment
This project was developed by:
* Nadir Dalla Pozza (University of Padova);
* Niccolò Pretto (University of Padova);
* Sergio Canazza (University of Padova).
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser. This project takes advantage of the following libraries:
* [Boost C++ Libraries](https://www.boost.org);
* [OpenCV](https://docs.opencv.org/4.x/index.html);
* [nlohmann/json](https://github.com/nlohmann/json).
## Authors and acknowledgment Developed with IDE [Visual Studio Code](https://code.visualstudio.com).
Show your appreciation to those who have contributed to the project.
## License ## License
For open source projects, say how it is licensed. This project is licensed with [GNU GPL v3.0](https://www.gnu.org/licenses/gpl-3.0.html).
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
No preview for this file type
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/ar" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar"
}, },
{ {
"name" : "CMAKE_BUILD_TYPE", "name" : "CMAKE_BUILD_TYPE",
...@@ -79,11 +79,11 @@ ...@@ -79,11 +79,11 @@
[ [
{ {
"name" : "HELPSTRING", "name" : "HELPSTRING",
"value" : "No help, variable specified on the command line." "value" : "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ..."
} }
], ],
"type" : "STRING", "type" : "STRING",
"value" : "Debug" "value" : ""
}, },
{ {
"name" : "CMAKE_CACHEFILE_DIR", "name" : "CMAKE_CACHEFILE_DIR",
...@@ -195,11 +195,11 @@ ...@@ -195,11 +195,11 @@
}, },
{ {
"name" : "HELPSTRING", "name" : "HELPSTRING",
"value" : "No help, variable specified on the command line." "value" : "CXX compiler"
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/clang++" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++"
}, },
{ {
"name" : "CMAKE_CXX_FLAGS", "name" : "CMAKE_CXX_FLAGS",
...@@ -291,11 +291,11 @@ ...@@ -291,11 +291,11 @@
}, },
{ {
"name" : "HELPSTRING", "name" : "HELPSTRING",
"value" : "No help, variable specified on the command line." "value" : "C compiler"
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/clang" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
}, },
{ {
"name" : "CMAKE_C_FLAGS", "name" : "CMAKE_C_FLAGS",
...@@ -507,11 +507,11 @@ ...@@ -507,11 +507,11 @@
}, },
{ {
"name" : "HELPSTRING", "name" : "HELPSTRING",
"value" : "No help, variable specified on the command line." "value" : "Enable/Disable output of compile commands during generation."
} }
], ],
"type" : "BOOL", "type" : "BOOL",
"value" : "TRUE" "value" : ""
}, },
{ {
"name" : "CMAKE_EXTRA_GENERATOR", "name" : "CMAKE_EXTRA_GENERATOR",
...@@ -639,7 +639,7 @@ ...@@ -639,7 +639,7 @@
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/ld" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
}, },
{ {
"name" : "CMAKE_MAKE_PROGRAM", "name" : "CMAKE_MAKE_PROGRAM",
...@@ -751,7 +751,7 @@ ...@@ -751,7 +751,7 @@
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/nm" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm"
}, },
{ {
"name" : "CMAKE_NUMBER_OF_MAKEFILES", "name" : "CMAKE_NUMBER_OF_MAKEFILES",
...@@ -795,7 +795,7 @@ ...@@ -795,7 +795,7 @@
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/objdump" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump"
}, },
{ {
"name" : "CMAKE_OSX_ARCHITECTURES", "name" : "CMAKE_OSX_ARCHITECTURES",
...@@ -895,7 +895,7 @@ ...@@ -895,7 +895,7 @@
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/ranlib" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib"
}, },
{ {
"name" : "CMAKE_READELF", "name" : "CMAKE_READELF",
...@@ -1131,7 +1131,7 @@ ...@@ -1131,7 +1131,7 @@
} }
], ],
"type" : "FILEPATH", "type" : "FILEPATH",
"value" : "/usr/bin/strip" "value" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip"
}, },
{ {
"name" : "CMAKE_UNAME", "name" : "CMAKE_UNAME",
......
{
"inputs" :
[
{
"path" : "CMakeLists.txt"
},
{
"isGenerated" : true,
"path" : "build/CMakeFiles/3.25.1/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Darwin-Initialize.cmake"
},
{
"isGenerated" : true,
"path" : "build/CMakeFiles/3.25.1/CMakeCCompiler.cmake"
},
{
"isGenerated" : true,
"path" : "build/CMakeFiles/3.25.1/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeGenericSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeInitializeConfigs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Darwin.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/UnixPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/AppleClang-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/Clang.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Apple-AppleClang-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Apple-Clang-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Apple-Clang.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeCXXInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/AppleClang-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Compiler/Clang.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Apple-AppleClang-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Apple-Clang-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/Platform/Apple-Clang.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/opt/opencv/lib/cmake/opencv4/OpenCVConfig-version.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/opt/opencv/lib/cmake/opencv4/OpenCVConfig.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageMessage.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/opt/opencv/lib/cmake/opencv4/OpenCVModules.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/opt/opencv/lib/cmake/opencv4/OpenCVModules-release.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageMessage.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindBoost.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/local/Cellar/cmake/3.25.1/share/cmake/Modules/FindPackageMessage.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/Boost-1.81.0/BoostConfigVersion.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/Boost-1.81.0/BoostConfig.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_headers-1.81.0/boost_headers-config-version.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_headers-1.81.0/boost_headers-config.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_program_options-1.81.0/boost_program_options-config-version.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_program_options-1.81.0/boost_program_options-config.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/BoostDetectToolset-1.81.0.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_program_options-1.81.0/libboost_program_options-variant-shared.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_program_options-1.81.0/libboost_program_options-variant-static.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_headers-1.81.0/boost_headers-config-version.cmake"
},
{
"isExternal" : true,
"path" : "/usr/local/lib/cmake/boost_headers-1.81.0/boost_headers-config.cmake"
}
],
"kind" : "cmakeFiles",
"paths" :
{
"build" : "/Users/nadir/Documents/MPAI-CAE/AIMs/VideoAnalyser/build",
"source" : "/Users/nadir/Documents/MPAI-CAE/AIMs/VideoAnalyser"
},
"version" :
{
"major" : 1,
"minor" : 0
}
}
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
{ {
"build" : ".", "build" : ".",
"jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json", "jsonFile" : "directory-.-f5ebdc15457944623624.json",
"minimumCMakeVersion" : "minimumCMakeVersion" :
{ {
"string" : "3.2" "string" : "3.2"
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
] ]
} }
], ],
"name" : "Debug", "name" : "",
"projects" : "projects" :
[ [
{ {
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
{ {
"directoryIndex" : 0, "directoryIndex" : 0,
"id" : "video_analyser::@6890427a1f51a3e7e1df", "id" : "video_analyser::@6890427a1f51a3e7e1df",
"jsonFile" : "target-video_analyser-Debug-cadf88c438eb09de444a.json", "jsonFile" : "target-video_analyser-4a0c692bfa7df8e17de6.json",
"name" : "video_analyser", "name" : "video_analyser",
"projectIndex" : 0 "projectIndex" : 0
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-a62a774aa4228a02909c.json", "jsonFile" : "codemodel-v2-e0c4485c3d231cb0eb8f.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
} }
}, },
{ {
"jsonFile" : "cache-v2-a979183b78b1cc9f5340.json", "jsonFile" : "cache-v2-52bd8ad89c5ae8e32924.json",
"kind" : "cache", "kind" : "cache",
"version" : "version" :
{ {
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
} }
}, },
{ {
"jsonFile" : "cmakeFiles-v1-511dd976b89171d14dfe.json", "jsonFile" : "cmakeFiles-v1-e1a72bff117185ff0123.json",
"kind" : "cmakeFiles", "kind" : "cmakeFiles",
"version" : "version" :
{ {
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
} }
}, },
{ {
"jsonFile" : "toolchains-v1-8457a0bccb85c9e45498.json", "jsonFile" : "toolchains-v1-b57293a485ebf36c82cc.json",
"kind" : "toolchains", "kind" : "toolchains",
"version" : "version" :
{ {
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
"responses" : "responses" :
[ [
{ {
"jsonFile" : "cache-v2-a979183b78b1cc9f5340.json", "jsonFile" : "cache-v2-52bd8ad89c5ae8e32924.json",
"kind" : "cache", "kind" : "cache",
"version" : "version" :
{ {
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
} }
}, },
{ {
"jsonFile" : "codemodel-v2-a62a774aa4228a02909c.json", "jsonFile" : "codemodel-v2-e0c4485c3d231cb0eb8f.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
} }
}, },
{ {
"jsonFile" : "toolchains-v1-8457a0bccb85c9e45498.json", "jsonFile" : "toolchains-v1-b57293a485ebf36c82cc.json",
"kind" : "toolchains", "kind" : "toolchains",
"version" : "version" :
{ {
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
} }
}, },
{ {
"jsonFile" : "cmakeFiles-v1-511dd976b89171d14dfe.json", "jsonFile" : "cmakeFiles-v1-e1a72bff117185ff0123.json",
"kind" : "cmakeFiles", "kind" : "cmakeFiles",
"version" : "version" :
{ {
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
"compileCommandFragments" : "compileCommandFragments" :
[ [
{ {
"fragment" : "-g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6" "fragment" : " -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6"
}, },
{ {
"fragment" : "-std=gnu++2b" "fragment" : "-std=gnu++2b"
...@@ -112,10 +112,6 @@ ...@@ -112,10 +112,6 @@
{ {
"commandFragments" : "commandFragments" :
[ [
{
"fragment" : "-g",
"role" : "flags"
},
{ {
"fragment" : "", "fragment" : "",
"role" : "flags" "role" : "flags"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
], ],
"linkLibraries" : [] "linkLibraries" : []
}, },
"path" : "/usr/bin/clang", "path" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc",
"version" : "14.0.0.14000029" "version" : "14.0.0.14000029"
}, },
"language" : "C", "language" : "C",
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
"c++" "c++"
] ]
}, },
"path" : "/usr/bin/clang++", "path" : "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++",
"version" : "14.0.0.14000029" "version" : "14.0.0.14000029"
}, },
"language" : "CXX", "language" : "CXX",
......
...@@ -26,16 +26,17 @@ Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:STRING=/usr/local/lib/libboost_program_opt ...@@ -26,16 +26,17 @@ Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:STRING=/usr/local/lib/libboost_program_opt
CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND
//Path to a program. //Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
//No help, variable specified on the command line. //Choose the type of build, options are: None Debug Release RelWithDebInfo
CMAKE_BUILD_TYPE:STRING=Debug // MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build. //Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON CMAKE_COLOR_MAKEFILE:BOOL=ON
//No help, variable specified on the command line. //CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
//Flags used by the CXX compiler during all build types. //Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING= CMAKE_CXX_FLAGS:STRING=
...@@ -52,8 +53,8 @@ CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG ...@@ -52,8 +53,8 @@ CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds. //Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//No help, variable specified on the command line. //C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang CMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
//Flags used by the C compiler during all build types. //Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING= CMAKE_C_FLAGS:STRING=
...@@ -88,8 +89,8 @@ CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= ...@@ -88,8 +89,8 @@ CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds. //Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//No help, variable specified on the command line. //Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake. //Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/nadir/Documents/MPAI-CAE/AIMs/VideoAnalyser/build/CMakeFiles/pkgRedirects CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/nadir/Documents/MPAI-CAE/AIMs/VideoAnalyser/build/CMakeFiles/pkgRedirects
...@@ -101,7 +102,7 @@ CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool ...@@ -101,7 +102,7 @@ CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool
CMAKE_INSTALL_PREFIX:PATH=/usr/local CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program. //Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
//Path to a program. //Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
...@@ -127,13 +128,13 @@ CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= ...@@ -127,13 +128,13 @@ CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program. //Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
//Path to a program. //Path to a program.
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND
//Path to a program. //Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump
//Build architectures for OSX //Build architectures for OSX
CMAKE_OSX_ARCHITECTURES:STRING= CMAKE_OSX_ARCHITECTURES:STRING=
...@@ -156,7 +157,7 @@ CMAKE_PROJECT_HOMEPAGE_URL:STATIC= ...@@ -156,7 +157,7 @@ CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
CMAKE_PROJECT_NAME:STATIC=video_analyser CMAKE_PROJECT_NAME:STATIC=video_analyser
//Path to a program. //Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib
//Path to a program. //Path to a program.
CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND
...@@ -209,7 +210,7 @@ CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= ...@@ -209,7 +210,7 @@ CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program. //Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
//If this value is on, makefiles will be generated without the //If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console // .SILENT directive, and all commands will be echoed to the console
......
set(CMAKE_C_COMPILER "/usr/bin/clang") set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "") set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "AppleClang") set(CMAKE_C_COMPILER_ID "AppleClang")
set(CMAKE_C_COMPILER_VERSION "14.0.0.14000029") set(CMAKE_C_COMPILER_VERSION "14.0.0.14000029")
...@@ -21,11 +21,11 @@ set(CMAKE_C_SIMULATE_VERSION "") ...@@ -21,11 +21,11 @@ set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar") set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "") set(CMAKE_C_COMPILER_AR "")
set(CMAKE_RANLIB "/usr/bin/ranlib") set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "") set(CMAKE_C_COMPILER_RANLIB "")
set(CMAKE_LINKER "/usr/bin/ld") set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
set(CMAKE_MT "") set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC ) set(CMAKE_COMPILER_IS_GNUCC )
set(CMAKE_C_COMPILER_LOADED 1) set(CMAKE_C_COMPILER_LOADED 1)
......
set(CMAKE_CXX_COMPILER "/usr/bin/clang++") set(CMAKE_CXX_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "") set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "AppleClang") set(CMAKE_CXX_COMPILER_ID "AppleClang")
set(CMAKE_CXX_COMPILER_VERSION "14.0.0.14000029") set(CMAKE_CXX_COMPILER_VERSION "14.0.0.14000029")
...@@ -22,11 +22,11 @@ set(CMAKE_CXX_SIMULATE_VERSION "") ...@@ -22,11 +22,11 @@ set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar") set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "") set(CMAKE_CXX_COMPILER_AR "")
set(CMAKE_RANLIB "/usr/bin/ranlib") set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "") set(CMAKE_CXX_COMPILER_RANLIB "")
set(CMAKE_LINKER "/usr/bin/ld") set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
set(CMAKE_MT "") set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX ) set(CMAKE_COMPILER_IS_GNUCXX )
set(CMAKE_CXX_COMPILER_LOADED 1) set(CMAKE_CXX_COMPILER_LOADED 1)
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment