mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* rename mmdeploy_python -> mmdeploy_runtime * remove incompatible build config * Revert "remove incompatible build config" This reverts commit cdc780cde52c0417e6a5408001fb5ddef1a9498d. * fix builder * update package_tools docs * fix linux set_env script * fix gcc 7.3 aligned_alloc * fix link * comment temporarily as text_det_recog can't be built with prebuild package built under manylinux
26 lines
558 B
Markdown
26 lines
558 B
Markdown
# build sdk
|
|
|
|
1. installed opencv (you can skip this step if you have installed it)
|
|
in sdk folder:
|
|
|
|
`./install_opencv.sh`
|
|
|
|
2. set environment variable and path
|
|
in sdk folder:
|
|
|
|
`source ./set_env.sh` \
|
|
(**you have to additionally install cuda and cudnn if you use sdk cuda version**)
|
|
|
|
3. build sdk
|
|
in sdk folder:
|
|
|
|
`./build_sdk.sh` \
|
|
(if you installed opencv by ./install_opencv.sh)
|
|
|
|
or
|
|
|
|
`./build_sdk.sh "path/to/folder/of/OpenCVConfig.cmake"` \
|
|
(if you installed opencv yourself)
|
|
|
|
the executable will be generated in: `bin/`
|