3.1.0b1 (2020-11-23)
This version of the SDK defaults to the latest supported API version, which currently is v2.1-preview.
New features
- New methods
begin_recognize_business_cards
andbegin_recognize_business_cards_from_url
introduced to the SDK. Use these
methods to recognize data from business cards - New methods
begin_recognize_invoices
andbegin_recognize_invoices_from_url
introduced to the SDK. Use these
methods to recognize data from invoices - Recognize receipt methods now take keyword argument
locale
to optionally indicate the locale of the receipt for
improved results - Added ability to create a composed model from the
FormTrainingClient
by calling methodbegin_create_composed_model()
- Added support to train and recognize custom forms with selection marks such as check boxes and radio buttons.
This functionality is only available for models trained with labels - Added property
selection_marks
toFormPage
which contains a list ofFormSelectionMark
- When passing
include_field_elements=True
, the propertyfield_elements
onFieldData
andFormTableCell
will
also be populated with any selection marks found on the page - Added the properties
model_name
andproperties
to typesCustomFormModel
andCustomFormModelInfo
- Added keyword argument
model_name
tobegin_training()
andbegin_create_composed_model()
- Added model type
CustomFormModelProperties
that includes information like if a model is a composed model - Added property
model_id
toCustomFormSubmodel
andTrainingDocumentInfo
- Added properties
model_id
andform_type_confidence
toRecognizedForm
appearance
property added toFormLine
to indicate the style of extracted text - like "handwriting" or "other"- Added keyword argument
pages
tobegin_recognize_content
andbegin_recognize_content_from_url
to specify the page
numbers to analyze - Added property
bounding_box
toFormTable
- Content-type
image/bmp
now supported by recognize content and prebuilt models - Added keyword argument
language
tobegin_recognize_content
andbegin_recognize_content_from_url
to specify
which language to process document in
Dependency updates
- Package now requires azure-common version 1.1