From 3c568172421faa523d6fb20d8328791bc4f8b362 Mon Sep 17 00:00:00 2001 From: jaimecosme Date: Sat, 16 Sep 2017 11:02:10 +0200 Subject: [PATCH] Update README.md Initialize class instance before using it. --- python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/README.md b/python/README.md index 3a63bfe..bdc7589 100644 --- a/python/README.md +++ b/python/README.md @@ -62,7 +62,7 @@ topn = 10 # int | The number of results you would like to be returned for plate prewarp = '' # str | 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 (optional) (default to ) try: - api_response = api_instance.recognize_bytes(image_bytes, secret_key, country, recognize_vehicle=recognize_vehicle, state=state, return_image=return_image, topn=topn, prewarp=prewarp) + api_response = api_instance().recognize_bytes(image_bytes, secret_key, country, recognize_vehicle=recognize_vehicle, state=state, return_image=return_image, topn=topn, prewarp=prewarp) pprint(api_response) except ApiException as e: print "Exception when calling DefaultApi->recognize_bytes: %s\n" % e