Azure-Samples / Azure-Samples/document-intelligence-code-samples

How do you send base64 source in Python code?

Open
#124 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
201
Forks
115
PR merge metrics
No merged PRs in 30d

Description

What is the equivalent of below code for sending source as bytes instead of a url in Python? Basically I have an image that is converted to bytes that I want to process.

Documentation for this service is horrendous by the way, so hard to find anything.

```
poller = document_intelligence_client.begin_analyze_document(
"prebuilt-read", AnalyzeDocumentRequest(url_source=formUrl)
)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.