# You can request API key at https://ai.iapp.co.th
apikey = 'XXXXX_Your_API_Key_XXXXX'
api = iapp_ai.api(apikey)
# ID Card Front required an image file path.
result = api.idcard_front("iapp_ai/media/id-card-front.jpg").json()
# 'address': '23/20 หมู่ที่ 6 ต.กะทู้ อ.กะทู้ จ.ภูเก็ต',
# 'detection_score': 0.9645371039708456,
# 'en_dob': '11 Mar 1965',