From 7e582247ab0942398225b3e190d9fadafcf19950 Mon Sep 17 00:00:00 2001 From: Michael Welter Date: Sat, 13 Mar 2021 11:27:03 +0100 Subject: Add a face alignment based tracker Powered by AI! Models were generated with code from https://github.com/DaWelter/neuralnet-tracker-traincode/releases/tag/v0.1 --- tracker-neuralnet/BUILD.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tracker-neuralnet/BUILD.md (limited to 'tracker-neuralnet/BUILD.md') 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 -- cgit v1.2.3