For easing the python development using iApp AI API service, we have released the iapp_ai python pip package. It is the api client library for iApp AI API service for python.
Installation
$pipinstalliapp_ai
Note: It can be either pip or pip3 depend on your environment.
Calling Thai IDCard Photocopied OCR API (รองรับเฉพาะ JPG, JPEG, PNG file ขนาด 800px x 800px - 4000px x 4000px, ขนาดไฟล์ไม่เกิน 2MB)
# IDCard Photocopied OCR required a file pathapi.idcard_front_photocopied(file_path="media/copy_of_thai_idcard_trial.png").json()