- Import PlateRecognizer:
import com.ragerant.PlateRecognizer. - Use static function
recognizeby passing in image File object. - It will return a String representing the license plate.
e.g.
import com.ragerant.PlateRecognizer
public static main(String[] args) {
File img = new File("path/to/file");
licPlate = PlateRecognizer.recognize(img);
}EZ