![]() Here is an example of how to achieve that: Prizmo Text Reader can be invoked from other apps to read any text aloud. cropMode: not available anymore, see detectPage.pasteboardName: not available anymore (iOS 10 removed support for persistent named pasteboard).textParameterName: deprecated, use callbackTextParameter instead.The following parameters from Prizmo 4 should be updated: x-error (optional): the URL to invoke when an error occurs during the processing in Prizmo (must be URL encoded).x-cancel (optional): the URL to invoke when the user cancels the processing in Prizmo (must be URL encoded).If destination is set to url, additional arguments are appended to this url to provide the output back to the receiver (see callback parameters above). x-success (optional): the URL to be invoked when processing succeeds (must be URL encoded).detectPage (optional): use true (default) to automatically detect page borders and crop it, or false to use input as is.createDocument (optional): use true to create a persistent document in Prizmo, or false (default) to immediately discard the temporary document after processing.Works with both url destination (multiple output parameters), and clipboard (multiple representation). Multiple output options can be combined with +, eg. output (optional): kind of generated output, text (default), image, or PDF.callbackTextParameter, callbackPDFParameter, callbackImageParameter (Optional): when destination is set to url, this option can be used to set the name of the parameter that receives the Base64 output (if these parameters are omitted, default value respectively are text, pdfData, imageData).For url destination, see the callback parameters below. destination (optional): destination can be either url to send the output through the callback URL (calling app or another app), or clipboard to write the output in the clipboard.cleanupMode (optional): none, black, gray, or color (default).Use A4 (default), A5, LTR (US Letter), LGL (US Legal), or CRD (Business Card). pageFormat (optional): dimensions of the generated document when output is set to PDF.cloud-handwriting: use Cloud OCR for handwriting.List of supported language codes for the on-device recognizer: ar (Arabic), cs (Czech), da (Danish), de (German), el (Greek), en (English), es (Spanish), fi (Finnish), fr (French), he (Hebrew), hu (Hungarian), it (Italian), ja (Japanese), ko (Korean), nb (Norwegian Bokmål), nl (Dutch), pl (Polish), pt (Portuguese), ro (Romanian), ru (Russian), sk (Slovak), sr-Latn (Serbian (Latin)), sr (Serbian (Cyrillic)), sv (Swedish), tr (Turkish), uk (Ukrainian), zh-hans (Simplified Chinese), zh-hant (Traditional Chinese). ![]() The language must have been previously installed by the user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |