Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OCR(e){let t=UrlFetchApp.fetch(e).getBlob(),i={title:t.getName(),mimeType:t.getContentType()},o=Drive.Files.insert(i,t,{ocr:!0});hasil_ocr=DocumentApp.openById(o.id).getBody().getText(),Drive.Files.remove(o.id)}
- //OCR('urlfile')
- output hasil ocr variabel hasil_ocr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement