Skip to content

Commit

Permalink
release: prepare for v0.20.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Ron Evans <[email protected]>
  • Loading branch information
deadprogram committed May 21, 2019
1 parent 8f9535a commit 0f87fa5
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 25 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
0.20.0
---
* **build**
* Use Go 1.12.x for build
* Update to OpenCV 4.1.0
* **cuda**
* Initial cuda implementation
* **docs**
* Fix the command to install xquartz via brew/cask
* **features2d**
* Add support for SimpleBlobDetectorParams (#434)
* Added FastFeatureDetectorWithParams
* **imgproc**
* Added function call to cv::morphologyDefaultBorderValue
* **test**
* Increase test coverage for FP16BlobFromImage()
* **video**
* Added calcOpticalFlowPyrLKWithParams
* Addition of MOG2/KNN constructor with options

0.19.0
---
* **build**
Expand Down
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

The GoCV package provides Go language bindings for the [OpenCV 4](http://opencv.org/) computer vision library.

The GoCV package supports the latest releases of Go and OpenCV (v4.0.1) 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.
The GoCV package supports the latest releases of Go and OpenCV (v4.1.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.

GoCV also supports [Intel OpenVINO](https://software.intel.com/en-us/openvino-toolkit). Check out the [OpenVINO README](./openvino/README.md) for more info on how to use GoCV with the Intel OpenVINO toolkit.

Expand Down Expand Up @@ -133,19 +133,19 @@ To run code that uses the GoCV package, you must also install OpenCV 4.0.0 on yo

### Installation

You can use `make` to install OpenCV 4.0.1 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.
You can use `make` to install OpenCV 4.1.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.

#### Quick Install

The following commands should do everything to download and install OpenCV 4.0.1 on Linux:
The following commands should do everything to download and install OpenCV 4.1.0 on Linux:

cd $GOPATH/src/gocv.io/x/gocv
make install

If it works correctly, at the end of the entire process, the following message should be displayed:

gocv version: 0.19.0
opencv lib version: 4.0.1
gocv version: 0.20.0
opencv lib version: 4.1.0

That's it, now you are ready to use GoCV.

Expand All @@ -165,7 +165,7 @@ Next, you need to update the system, and install any required packages:

#### Download source

Now, download the OpenCV 4.0.1 and OpenCV Contrib source code:
Now, download the OpenCV 4.1.0 and OpenCV Contrib source code:

make download

Expand Down Expand Up @@ -195,8 +195,8 @@ Now you should be able to build or run any of the examples:

The version program should output the following:

gocv version: 0.19.0
opencv lib version: 4.0.1
gocv version: 0.20.0
opencv lib version: 4.1.0

#### Cleanup extra files

Expand Down Expand Up @@ -281,37 +281,37 @@ There is a Docker image with Alpine 3.7 that has been created by project contrib

### Installation

We have a special installation for the Raspberry Pi that includes some hardware optimizations. You use `make` to install OpenCV 4.0.1 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.
We have a special installation for the Raspberry Pi that includes some hardware optimizations. You use `make` to install OpenCV 4.1.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.

#### Quick Install

The following commands should do everything to download and install OpenCV 4.0.1 on Raspbian:
The following commands should do everything to download and install OpenCV 4.1.0 on Raspbian:

cd $GOPATH/src/gocv.io/x/gocv
make install_raspi

If it works correctly, at the end of the entire process, the following message should be displayed:

gocv version: 0.19.0
opencv lib version: 4.0.1
gocv version: 0.20.0
opencv lib version: 4.1.0

That's it, now you are ready to use GoCV.

## macOS

### Installation

You can install OpenCV 4.0.1 using Homebrew.
You can install OpenCV 4.1.0 using Homebrew.

If you already have an earlier version of OpenCV (3.4.x) installed, you should probably remove it before installing the new version:

brew uninstall opencv

You can then install OpenCV 4.0.1:
You can then install OpenCV 4.1.0:

brew install opencv

If you prefer, there is also an alternative Homebrew recipe will install only OpenCV 4.0.1 without all of the Python dependencies:
If you prefer, there is also an alternative Homebrew recipe will install only OpenCV 4.1.0 without all of the Python dependencies:

brew install hybridgroup/tools/opencv

Expand All @@ -337,8 +337,8 @@ Now you should be able to build or run any of the examples:

The version program should output the following:

gocv version: 0.19.0
opencv lib version: 4.0.1
gocv version: 0.20.0
opencv lib version: 4.1.0

### Cache builds

Expand All @@ -353,8 +353,8 @@ By default, pkg-config is used to determine the correct flags for compiling and
For example:

export CGO_CXXFLAGS="--std=c++11"
export CGO_CPPFLAGS="-I/usr/local/Cellar/opencv/4.0.1/include"
export CGO_LDFLAGS="-L/usr/local/Cellar/opencv/4.0.1/lib -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dpm -lopencv_face -lopencv_photo -lopencv_fuzzy -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_optflow -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_dnn -lopencv_plot -lopencv_xfeatures2d -lopencv_shape -lopencv_video -lopencv_ml -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_flann -lopencv_xobjdetect -lopencv_imgcodecs -lopencv_objdetect -lopencv_xphoto -lopencv_imgproc -lopencv_core"
export CGO_CPPFLAGS="-I/usr/local/Cellar/opencv/4.1.0/include"
export CGO_LDFLAGS="-L/usr/local/Cellar/opencv/4.1.0/lib -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dpm -lopencv_face -lopencv_photo -lopencv_fuzzy -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_optflow -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_dnn -lopencv_plot -lopencv_xfeatures2d -lopencv_shape -lopencv_video -lopencv_ml -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_flann -lopencv_xobjdetect -lopencv_imgcodecs -lopencv_objdetect -lopencv_xphoto -lopencv_imgproc -lopencv_core"

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:

Expand All @@ -366,7 +366,7 @@ Please note that you will need to run these 3 lines of code one time in your cur

The following assumes that you are running a 64-bit version of Windows 10.

In order to build and install OpenCV 4.0.1 on Windows, you must first download and install MinGW-W64 and CMake, as follows.
In order to build and install OpenCV 4.1.0 on Windows, you must first download and install MinGW-W64 and CMake, as follows.

#### MinGW-W64

Expand All @@ -382,9 +382,9 @@ Add the `C:\Program Files\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev2\mingw64\bi

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.

#### OpenCV 4.0.1 and OpenCV Contrib Modules
#### OpenCV 4.1.0 and OpenCV Contrib Modules

The following commands should do everything to download and install OpenCV 4.0.1 on Windows:
The following commands should do everything to download and install OpenCV 4.1.0 on Windows:

chdir %GOPATH%\src\gocv.io\x\gocv
win_build_opencv.cmd
Expand All @@ -405,8 +405,8 @@ Now you should be able to build or run any of the command examples:

The version program should output the following:

gocv version: 0.19.0
opencv lib version: 4.0.1
gocv version: 0.20.0
opencv lib version: 4.1.0

That's it, now you are ready to use GoCV.

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package gocv
import "C"

// GoCVVersion of this package, for display purposes.
const GoCVVersion = "0.19.0"
const GoCVVersion = "0.20.0"

// Version returns the current golang package version
func Version() string {
Expand Down

0 comments on commit 0f87fa5

Please sign in to comment.