Open ALPR v0.1.0 OpenALPR View Source

Handle license plate recognition service.

More documentation in http://doc.openalpr.com/api/?api=cloudapi

Link to this section Summary

Functions

Process image given image file path.

Process image given image URL.

Link to this section Functions

Process image given image file path.

Options

See recognize_url/2 for all supported options.

Link to this function

recognize_url(image_url, opts \\ [])

View Source

Process image given image URL.

Parameters

  • :country - Defines the training data used by OpenALPR. "us" analyzes North-American style plates. "eu" analyzes European-style plates. Default: eu
  • :recognize_vehicle = Keyword.get(opts, :recognize_vehicle, false)
  • :state - Corresponds to a US state or EU country code used by OpenALPR pattern recognition. For example, using "md" matches US plates against the Maryland plate patterns. Using "fr" matches European plates against the French plate patterns. Default: pt
  • :return_image - If set to true, the image you uploaded will be encoded in base64 and sent back along with the response. Default: false
  • :topn - The number of results you would like to be returned for plate candidates and vehicle classifications. Default: 10
  • :prewarp - Prewarp configuration is used to calibrate the analyses for the angle of a particular camera. More information is available here http://doc.openalpr.com/accuracy_improvements.html#calibration