diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-05-03 11:04:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 11:04:08 +0000 |
commit | c651d84eaa5f295a45e95edab28db9ca05013fe7 (patch) | |
tree | 394d8ca7c1aedf058208191b19b8e3e9fe4d134c /tracker-neuralnet/BUILD.md | |
parent | 058942f40e17e091b91df5436d771d61203ccc73 (diff) | |
parent | 7e582247ab0942398225b3e190d9fadafcf19950 (diff) |
Merge pull request #1266 from DaWelter/feature-tracker-neuralnet-prunstable
Add a face alignment based tracker
Diffstat (limited to 'tracker-neuralnet/BUILD.md')
-rw-r--r-- | tracker-neuralnet/BUILD.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tracker-neuralnet/BUILD.md b/tracker-neuralnet/BUILD.md new file mode 100644 index 00000000..8bb694dd --- /dev/null +++ b/tracker-neuralnet/BUILD.md @@ -0,0 +1,34 @@ +ONNX Runtime +------------ + +Recommended approach on Windws: Build a shared library from sources. Use static MSVC +runtime library. The v1.6.0 branch should work fine. + +Source location: https://github.com/microsoft/onnxruntime + +In order to build, execute `build.bat` as follows: + +``` +$ build.bat --config RelWithDebInfo --x86 --build_dir .\buildx86\ \ + --enable_msvc_static_runtime --build_shared_lib --skip_tests \ + --cmake_generator "Visual Studio 15 2017" +``` + +Replace the argument for `--cmake_generator` if needed. + +The result is a messy directory `buildx86\RelWithDebInfo\RelWithDebInfo`, +but no proper distribution. However only a few files are needed. They can +be copied manually and are listed in the following in their respective folders: + +``` +onnxruntime-x86-release/include: +cpu_provider_factory.h onnxruntime_cxx_api.h +experimental_onnxruntime_cxx_api.h onnxruntime_cxx_inline.h +experimental_onnxruntime_cxx_inline.h onnxruntime_session_options_config_keys.h +onnxruntime_c_api.h + +onnxruntime-x86-release/lib: +onnxruntime.dll onnxruntime.exp onnxruntime.lib onnxruntime.pdb +``` + +See also https://www.onnxruntime.ai/docs/how-to/build.html |