You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
The GoCV package provides Go language bindings for the [OpenCV 4](http://opencv.org/) computer vision library.
12
12
13
-
The GoCV package supports the latest releases of Go and OpenCV (v4.7.0) on Linux, macOS, and Windows. We intend to make the Go language a "first-class" client compatible with the latest developments in the OpenCV ecosystem.
13
+
The GoCV package supports the latest releases of Go and OpenCV (v4.8.0) on Linux, macOS, and Windows. We intend to make the Go language a "first-class" client compatible with the latest developments in the OpenCV ecosystem.
14
14
15
15
GoCV supports [CUDA](https://en.wikipedia.org/wiki/CUDA) for hardware acceleration using Nvidia GPUs. Check out the [CUDA README](./cuda/README.md) for more info on how to use GoCV with OpenCV/CUDA.
16
16
@@ -122,15 +122,15 @@ There are examples in the [cmd directory](./cmd) of this repo in the form of var
122
122
123
123
## How to install
124
124
125
-
To install GoCV, you must first have the matching version of OpenCV installed on your system. The current release of GoCV requires OpenCV 4.7.0.
125
+
To install GoCV, you must first have the matching version of OpenCV installed on your system. The current release of GoCV requires OpenCV 4.8.0.
126
126
127
127
Here are instructions for Ubuntu, Raspian, macOS, and Windows.
128
128
129
129
## Ubuntu/Linux
130
130
131
131
### Installation
132
132
133
-
You can use `make` to install OpenCV 4.7.0 with the handy `Makefile` included with this repo. If you already have installed OpenCV, you do not need to do so again. The installation performed by the `Makefile` is minimal, so it may remove OpenCV options such as Python or Java wrappers if you have already installed OpenCV some other way.
133
+
You can use `make` to install OpenCV 4.8.0 with the handy `Makefile` included with this repo. If you already have installed OpenCV, you do not need to do so again. The installation performed by the `Makefile` is minimal, so it may remove OpenCV options such as Python or Java wrappers if you have already installed OpenCV some other way.
134
134
135
135
#### Quick Install
136
136
@@ -141,7 +141,7 @@ First, change directories to where you want to install GoCV, and then use git to
141
141
142
142
Make sure to change `$HOME/folder/with/your/src/` to where you actually want to save the code.
143
143
144
-
Once you have cloned the repo, the following commands should do everything to download and install OpenCV 4.7.0 on Linux:
144
+
Once you have cloned the repo, the following commands should do everything to download and install OpenCV 4.8.0 on Linux:
145
145
146
146
cd gocv
147
147
make install
@@ -153,7 +153,7 @@ If you need static opencv libraries
153
153
If it works correctly, at the end of the entire process, the following message should be displayed:
154
154
155
155
gocv version: 0.33.0
156
-
opencv lib version: 4.7.0
156
+
opencv lib version: 4.8.0
157
157
158
158
That's it, now you are ready to use GoCV.
159
159
@@ -167,7 +167,7 @@ See the [openvino directory](./openvino) for information.
167
167
168
168
#### Make Install for OpenVINO and Cuda
169
169
170
-
The following commands should do everything to download and install OpenCV 4.7.0 with CUDA and OpenVINO on Linux. Make sure to change `$HOME/folder/with/your/src/` to the directory you used to clone GoCV:
170
+
The following commands should do everything to download and install OpenCV 4.8.0 with CUDA and OpenVINO on Linux. Make sure to change `$HOME/folder/with/your/src/` to the directory you used to clone GoCV:
171
171
172
172
cd $HOME/folder/with/gocv/
173
173
make install_all
@@ -179,7 +179,7 @@ If you need static opencv libraries
179
179
If it works correctly, at the end of the entire process, the following message should be displayed:
@@ -206,7 +206,7 @@ Next, you need to update the system, and install any required packages:
206
206
207
207
#### Download source
208
208
209
-
Now, download the OpenCV 4.7.0 and OpenCV Contrib source code:
209
+
Now, download the OpenCV 4.8.0 and OpenCV Contrib source code:
210
210
211
211
make download
212
212
@@ -241,7 +241,7 @@ Now you should be able to build or run any of the examples:
241
241
The version program should output the following:
242
242
243
243
gocv version: 0.33.0
244
-
opencv lib version: 4.7.0
244
+
opencv lib version: 4.8.0
245
245
246
246
#### Cleanup extra files
247
247
@@ -320,7 +320,7 @@ There is a Docker image with Alpine 3.7 that has been created by project contrib
320
320
321
321
### Installation
322
322
323
-
We have a special installation for the Raspberry Pi that includes some hardware optimizations. You use `make` to install OpenCV 4.7.0 with the handy `Makefile` included with this repo. If you already have installed OpenCV, you do not need to do so again. The installation performed by the `Makefile` is minimal, so it may remove OpenCV options such as Python or Java wrappers if you have already installed OpenCV some other way.
323
+
We have a special installation for the Raspberry Pi that includes some hardware optimizations. You use `make` to install OpenCV 4.8.0 with the handy `Makefile` included with this repo. If you already have installed OpenCV, you do not need to do so again. The installation performed by the `Makefile` is minimal, so it may remove OpenCV options such as Python or Java wrappers if you have already installed OpenCV some other way.
324
324
325
325
#### Quick Install
326
326
@@ -331,29 +331,29 @@ First, change directories to where you want to install GoCV, and then use git to
331
331
332
332
Make sure to change `$HOME/folder/with/your/src/` to where you actually want to save the code.
333
333
334
-
The following make command should do everything to download and install OpenCV 4.7.0 on Raspbian:
334
+
The following make command should do everything to download and install OpenCV 4.8.0 on Raspbian:
335
335
336
336
cd $HOME/folder/with/your/src/gocv
337
337
make install_raspi
338
338
339
339
If it works correctly, at the end of the entire process, the following message should be displayed:
340
340
341
341
gocv version: 0.33.0
342
-
opencv lib version: 4.7.0
342
+
opencv lib version: 4.8.0
343
343
344
344
That's it, now you are ready to use GoCV.
345
345
346
346
## macOS
347
347
348
348
### Installation
349
349
350
-
You can install OpenCV 4.7.0 using Homebrew.
350
+
You can install OpenCV 4.8.0 using Homebrew.
351
351
352
352
If you already have an earlier version of OpenCV (3.4.x) installed, you should probably remove it before installing the new version:
353
353
354
354
brew uninstall opencv
355
355
356
-
You can then install OpenCV 4.7.0:
356
+
You can then install OpenCV 4.8.0:
357
357
358
358
brew install opencv
359
359
@@ -378,7 +378,7 @@ Now you should be able to build or run any of the examples:
378
378
The version program should output the following:
379
379
380
380
gocv version: 0.33.0
381
-
opencv lib version: 4.7.0
381
+
opencv lib version: 4.8.0
382
382
383
383
### Custom Environment
384
384
@@ -387,8 +387,8 @@ By default, pkg-config is used to determine the correct flags for compiling and
Please note that you will need to run these 3 lines of code one time in your current session in order to build or run the code, in order to setup the needed ENV variables. Once you have done so, you can execute code that uses GoCV with your custom environment like this:
394
394
@@ -400,7 +400,7 @@ Please note that you will need to run these 3 lines of code one time in your cur
400
400
401
401
The following assumes that you are running a 64-bit version of Windows 10.
402
402
403
-
In order to build and install OpenCV 4.7.0 on Windows, you must first download and install MinGW-W64 and CMake, as follows.
403
+
In order to build and install OpenCV 4.8.0 on Windows, you must first download and install MinGW-W64 and CMake, as follows.
404
404
405
405
#### MinGW-W64
406
406
@@ -416,9 +416,9 @@ Add the `C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bi
416
416
417
417
Download and install CMake [https://cmake.org/download/](https://cmake.org/download/) to the default location. CMake installer will add CMake to your system path.
418
418
419
-
#### OpenCV 4.7.0 and OpenCV Contrib Modules
419
+
#### OpenCV 4.8.0 and OpenCV Contrib Modules
420
420
421
-
The following commands should do everything to download and install OpenCV 4.7.0 on Windows:
421
+
The following commands should do everything to download and install OpenCV 4.8.0 on Windows:
422
422
423
423
chdir %GOPATH%\src\gocv.io\x\gocv
424
424
win_build_opencv.cmd
@@ -440,7 +440,7 @@ Now you should be able to build or run any of the command examples:
0 commit comments