пятница, 12 февраля 2016 г.

Migrating from OpenCV 2.x to 3.0.0 (Java)

Migrating from OpenCV 2.x to 3.0.0 (Java)
Highgui.imread(fileName, Highgui.CV_LOAD_IMAGE_GRAYSCALE)
become resp:
Imgcodecs.imread(fileName, Imgcodecs.CV_LOAD_IMAGE_GRAYSCALE)
Also, drawing functions such as:
Core.circle(..), Core.line(..), etc..
Have been moved to:
Imgproc.circle(..), Imgproc.line(..)
Note Moments, HuMoments missing in 3.0.0. Will be fixed in 3.1 See bug

Комментариев нет:

Отправить комментарий