Skip to content

Instantly share code, notes, and snippets.

@nikhil9
nikhil9 / demo.java
Created October 31, 2012 15:51
Demo source code for Javacv Setup in Eclipse
import static com.googlecode.javacv.cpp.opencv_core.*;
import static com.googlecode.javacv.cpp.opencv_highgui.*;
import com.googlecode.javacv.CanvasFrame;
public class demo {
public static void main(String[] args) {
//Load image img1 as IplImage
final IplImage image = cvLoadImage("img1.png");