License Plate Detection and Reading


Finds the license plate in a given image and reads character on the plate. Returns rect [x,y,w,h ] , “method1 predicted string” , “method2 predicted string”

Example Go to our flickr photostream

Query Image



POST /services/license_plate_ocr

Replies face/set of objects with its predictions.

  • instance_token – generated token
Form Parameters:
  • query_url / query – query url link or query file.
Request Headers:
  • Accept – the response content type is “application/json”
  • InstanceToken – token to authenticate (optional if param instance_token is present)
Response Headers:
  • Content-Type – success content type is “application/json”
Status Codes:
  • 200 – success responce
  • 400 – when form parameters are missing
  • 401 – when param instance_token or header InstanceToken is not present present

Example in Python

import requests
import json
headers={'InstanceToken' : 'YOUR TOKEN','Accept':'application/json'}
print response.content

Example in Java

public class pixuate extends AsyncTask<Void,Void,Void>

        protected Void doInBackground(Void... params) {

        String url="";
        HttpPost post=new HttpPost(url);
        HttpClient client=new DefaultHttpClient();
        List<BasicNameValuePair> nameValuePairs = new ArrayList<BasicNameValuePair>();
        nameValuePairs.add(new BasicNameValuePair("query_url",""));
        post.setEntity(new UrlEncodedFormEntity(nameValuePairs));
        post.setHeader("InstanceToken","YOUR TOKEN");
        HttpResponse http_response=client.execute(post);
        HttpEntity en=http_response.getEntity();
        String s=EntityUtils.toString(en);
        }catch (ClientProtocolException e) {

        } catch (IOException e) {
        // TODO Auto-generated catch block
                return null;