Java Image Grabber - Aquires Training Images for Computer Vision Experiments

Java Image Grabber

Grabs images from a WWW image search and displays them for you, you can then use whatever parts of the image you want with a built in cropping tool and the program saves the results into the directory of your choice.

The program will either retrieve some images from the web for you, using a popular Internet search engine, or allows you to load all the files in a given directory on your local computer.

You can then cycle through the images and crop out parts you want. Drag the cropping tool around the part and double click to save that image to a folder. You can crop many pieces out of the same image.

You can set up a crosshair on the cropped image so that you can get a standardised view, which is especially useful when cropping faces. You can also choose to have the crop region snap to a given aspect ratio, or you can set it to resize the cropped region to a fixed size.

You can also write addons that allow you to say, click on the two eyes of a person and then generate a crop of a given aspect ratio and position relative to the eyes, so that your training data is of the highest quality.

It would be easy to write an addon to produce the ground truth for a set of images too. Have a look at the CroppingStrategy interface and its implementation FaceCroppingStrategy for more information.

This tool is great for obtaining large quantities of training data quickly for whatever computer vision task you have.

Download Java Image Grabber

This tool is part of my commons imaging library, which can be downloaded here.

The program to run is: ac.essex.ooechs.imaging.commons.apps.training.TrainingDataGUI

Version 1.2
Tuesday, October 18th 2006.

Please feel free to extend it and me your updates!

Contact Me

ooechs {at} essex {dot} ac {dot} uk