javascript - HTML5 - its possible use input type file to access the device camera library? -
i need request
http://ocrapiservice.com/documentation/
but have <img> , need send post. must use input type file? if yes, how can use access device library?
if no, how can send img post?
i did try follwoing code. "choose file" in device not working..
<form action="http://api.ocrapiservice.com/1.0/rest/ocr" method="post" enctype="multipart/form-data"> <input type="hidden" name="max_file_size" value="100000000" /> choose file upload: <input name="image" type="file" /> <br /> <input type="text" name="language" value="pt" /> <input type="text" name="apikey" value="keey" /> <input type="submit" value="upload file" /> </form>
Comments
Post a Comment