detect
Detect documents in the image. This operation should be called on a background thread.
Return
Detected documents, or empty list if documents were not detected in the image.
Parameters
bgra Raw Image
BGRA raw image.
limit
The number of documents to detect. Currently, only one document detection is supported.