Search code examples
javaimage-processingwebcam

best image processing library for java


could you please suggest the best image processing library for pure Java environment?

I'll need to do webcam capture, and object detection in real time. Or if you have any similar projects doing this it will be great. :)


Solution

  • Catalano Framework is the best lib in image processing for java. It works in Android too with the same code. Example:

    FastBitmap fb = new FastBitmap("c:\\yourImage.bmp");
    
    fb.toGrayscale();
    
    Threshold t = new Threshold(120);
    t.applyInPlace(fb);
    
    // Your objects.
    BlobDetection bd = new BlobDetection();
    ArrayList<Blob> blobs = bd.ProcessImage(fb);