the_unknown_spirit
the_unknown_spirit

Reputation: 2586

highgui and videocapture libraries missing in OpenCV 3.0

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?

Upvotes: 0

Views: 1705

Answers (3)

Nathaniel_F
Nathaniel_F

Reputation: 31

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.

Upvotes: 0

saket
saket

Reputation: 24

You can use OpenCV 2.7. It has both highgui and video capturing librarire intact.

Upvotes: 0

gibertoni
gibertoni

Reputation: 1378

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.

Upvotes: 0

Related Questions