I was trying to compile OpenCV 3.0 in java netbeans but there was an error: package org.opencv.highgui does not exist After a bit of research I came to know the jar file of OpenCV 3.0 doesn't include highgui. Can anyone help me what should I do if I want to include highgui and VideoCapture libraries?
Asked
Active
Viewed 1,589 times
3 Answers
0
OpenCV 3 has a new package that includes every single module. In CPP It is called opencv_world300.dll
and in java it is simply opencv-300.jar
You only have to include this package and you will be able to use all of opencv's functionality.

gibertoni
- 1,368
- 12
- 21
0
You can use OpenCV 2.7. It has both highgui and video capturing librarire intact.

saket
- 24
- 2
-
there is no such thing as opencv2.7 – berak Feb 28 '16 at 05:35
0
I started using OpenCV 4.1
and found some code from an earlier version where Highgui
and videoCapture
weren't working. I found out it was because the import name changed.
The new ones are org.opencv.highgui.HighGui
and org.opencv.videoio.VideoCapture
This could have been a similar problem.

ysf
- 4,634
- 3
- 27
- 29

Nathaniel_F
- 31
- 1
- 2