File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,14 +215,14 @@ If you want to use OpenCV features that are not included by default in OpenCvSha
215215- Build OpenCV with opencv_contrib: https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html
216216- Install .NET Core SDK: https://learn.microsoft.com/ja-jp/dotnet/core/install/linux-ubuntu
217217- Get OpenCvSharp source files
218- ```
218+ ``` bash
219219git clone https://github.com/shimat/opencvsharp.git
220220cd opencvsharp
221221git fetch --all --tags --prune && git checkout ${OPENCVSHARP_VERSION}
222222```
223223
224224- Build native wrapper ` OpenCvSharpExtern `
225- ```
225+ ``` bash
226226cd opencvsharp/src
227227mkdir build
228228cd build
@@ -231,12 +231,12 @@ make -j
231231make install
232232```
233233You should add a reference to ` opencvsharp/src/build/OpenCvSharpExtern/libOpenCvSharpExtern.so `
234- ```
234+ ``` bash
235235export LD_LIBRARY_PATH=" ${LD_LIBRARY_PATH} :/home/shimat/opencvsharp/src/build/OpenCvSharpExtern"
236236```
237237
238238- Build the managed OpenCvSharp library
239- ```
239+ ``` bash
240240cd opencvsharp
241241dotnet build src/OpenCvSharp/OpenCvSharp.csproj
242242```
You can’t perform that action at this time.
0 commit comments