Important Libraries of OpenCV
Working and learning about OpenCV will be so good.
OpenCV is a cross-platform library used to develop real time computer vision applications. OpenCV mainly focuses upon Image Porcessing, Video Capturing and analysis including Face detection and Object Detection.
To work with OpenCV in java, A programmer should have a prior knowledge of Java Programming Language and for GUI.
There are a lot of features of OpenCV Library, as follows:
- Read and Write Images.
- Capture and Save Images.
- Processing of Images.
- Perform Feature Detection.
and many more.
OpenCV can be used in many fields like :
Medicine Applications.
Classification and detection can be useful for cell classification and tumor detection.
Security Applications.
Can be very useful in Surveillance program detecting suspicious activities. Bio metrics like Face detection, iris, eye and Finger print.
Industrial Automation Applications.
Barcode and Package label reading. OCR i.e, Optical character recognition used for the document understanding. OCR is basically used in electronic or manual conversion of images of typed text, handwritten or printed text into machine encoded text.
Robotics Application
Navigation, Obstacle avoidance, Assembly like welding, painting works.
Determine robot location automatically. Human robot interaction.
Some of the important and commonly used modules of OpenCV are :
1. org.OpenCV.core
This package contains the core information of the library.
In this Module, the basic data structures like point, scalar, etc. are used. Multidimensional Arrays Mat, are also used to store the images.
2. org.OpenCV.imgproc
This Package contains the image processing functions or methods of the library.
This will be helpful in performing operations like image filtering, color space conversion, histograms, geometrical image transformation.
3. org.OpenCV.video
This package conatins the video analysis methods of the library.
This module will be helpful for the video analysis such as motion estimation, background subtraction and object tracking.
4. org.OpenCV.Videoio
This package contains video capturing and video Codecs method of the library.
The class provides methods for capturing video or for reading video files and image sequences.
Video file is itself a container and codecs is useful to determine the type of container. As the type of container is expressed in the file extension. Container is consists of video feed, audio feed or other tracks file like subtitles.
For Audio feed , codecs used are mp3 or acc. For video feeds, codecs commonly used are H264, XVID, DIVX and etc.
5. org.OpenCV.imgcodecs
This package is useful to read and write images.
There is a read() method, used to read an image using .
i.e., imread(filename);
There is a write() method, used to save an image file to a specified folder.
To use OpenCV in java IDE, you have to configure your system accordingly.
Check this article to download, install and configuring IDE. Follow the below given link..
http://jeetwincasinos.com/@prithvidevkanojia1/setting-up-opencv-for-java-44c6eb6ae7e1