https://github.com/a7ul/imshow-java-opencv
an alternative to imshow() in C++ OpenCV for Java OpenCV
https://github.com/a7ul/imshow-java-opencv
imshow java java-opencv opencv openlibrary
Last synced: about 1 month ago
JSON representation
an alternative to imshow() in C++ OpenCV for Java OpenCV
- Host: GitHub
- URL: https://github.com/a7ul/imshow-java-opencv
- Owner: a7ul
- License: apache-2.0
- Created: 2013-12-16T20:39:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-11T10:40:05.000Z (over 10 years ago)
- Last Synced: 2025-04-05T02:22:20.600Z (2 months ago)
- Topics: imshow, java, java-opencv, opencv, openlibrary
- Language: Java
- Size: 206 KB
- Stars: 35
- Watchers: 4
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ImShow-Java-OpenCV
==================An alternative to imshow() in C++ OpenCV for Java OpenCV.
Basically helps to display the Mat images or Video in the Java - Opencv
which lacks imshow like API from C++ Opencv interface.Usage:
---------
Simply Add the Imshow.jar or the project to the build path of your ProjectAPI:
------
Imshow im = new Imshow("Title");im.showImage(Mat mat); // This will display the mat Image in the GUI
See the example for understanding it better:
example: Displaying the Video From the WebCamFor ways to customise the GUI Frame or Window see the example.
Credits / Special Thanks:
-------------------------
Daniel Baggio , Jan Monterrubio and sutr90 for improvementsNote:
-----** Please make sure OpenCV is also in the build path
TroubleShoot:
-------------
1. Make sure that opencv is in your build path.2. If you get an error like this:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java248 in java.library.pathPlease configure your build path .
In the build path , under libraries -> opencv-248.jar -> set your native library location to : .../opencv2.4.8/release/lib