segment-anything-cpp-wrapper
No description available.
File Explorer
Download Latest Version (.zip)- .clang-format
- .gitattributes
- .gitignore
- CMakeLists.txt
- demo.jpg
- export_pre_model.py
- LICENSE
- README.md
- sam.cpp
- sam.h
- test.cpp
# Installation Guide
1. Get the code
git clone https://github.com/dinglufe/segment-anything-cpp-wrapper
Downloads the entire project code from GitHub to your computer.
cd segment-anything-cpp-wrapper
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
cmake .. -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]/scripts/buildsystems/vcpkg.cmake
Analyzes the source code and generates build configuration files (must be run inside the build folder).
cmake .. -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]/scripts/buildsystems/vcpkg.cmake -DONNXRUNTIME_ROOT_DIR=[onnxruntime-linux-x64-1.14.1 root]
Analyzes the source code and generates build configuration files (must be run inside the build folder).
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
