Canonical: https://instain.ru/en/ai/microsoft-florence/
Language: en

Microsoft  Model of Image Understanding

# Florence-2. 

Image captioning, region detection, and text recognition

4.40 / 5    [Directory score](https://instain.ru/en/ai/microsoft-florence/#editorial-rating) [Official website ](https://huggingface.co/microsoft/Florence-2-large)

The model receives an image and a task indication. The OCR mode with the fields returns the found text along with coordinates that can be used for verification.

![Microsoft Florence-2 card with examples of working with images](https://instain.ru/assets/images/microsoft-florence-screen-9607424d49b7-1200.webp)

Microsoft Florence-2 card with examples of working with images.  [Open the source ](https://huggingface.co/microsoft/Florence-2-large)

## Where to read the text and where to look for the area

A small label and a prominent name can matter equally on a sample product image. If you extract words alone, you may struggle to find where the model misread a digit. Florence-2 supports text recognition with region coordinates. Save the text and corresponding regions with the original image. An editor can then inspect a disputed area even if the same text occurs twice in the picture.

## Take your pictures for comparison.

Prepare two training images of one label. Take the first one off straight, the second one at an angle. Write out in advance the markings and numbers that can not be confused. Compare the results with the original by coordinates and see if the reading is from top to bottom. To check the scope, use the dimensions of the original image and make sure that the selected zoom method is taken into account when displaying the frame.

## Passes must also be saved.

If the inscription has disappeared from the answer, do not turn an empty field into a plausible guess. For the training sample, mark such places as requiring verification. Separately try the image description mode and recognition mode. These modes have different goals, so a beautiful label description says nothing about the accuracy of the numbers. Before starting, check the weight option conditions and the way the model is loaded if the environment requires permission of external code. To recheck, save the images, the original dimensions and the selected task indication.

## Suitable tasks

- Extract signatures and show their location

- Verify recognition of small text and numbers

Features 

## Strengths

- One model supports multiple visual tasks

- Microsoft cards show the preparation of the input and analysis of the answer

Things to consider 

## Limitations

- Small or rotated text needs manual verification

- Coordinates must refer to the correct image size

## Selection and conditions

Free access

Yes

Trial period

Not confirmed

No sign-up required

Not confirmed

Russian interface

Not confirmed

Local installation

Yes

API

Not confirmed

“Not confirmed” means there is not enough information. The feature may still be available; check the developer’s terms.

Input formats

Document, Image

Result

Data, Text

### Terms

Microsoft publishes the weights under the terms in the model card. Local execution requires a suitable environment and compute resources. Small or rotated text needs manual verification.

From task to first result

## Practical example

Task

Extract signatures and show their location

What to prepare

His training scans with numbers, tilt and small signatures.

### Task brief or prompt

Identify the lines and keep the coordinates together with the text. Mark the fields that need to be checked with the image manually.

### Expected result

Text and list of disputed rows with references to source areas.

### How to check the result

- Check the numbers, order of lines and omissions.

- Repeat on the frame with a different lighting.

An editorial teaching example of a task brief, not the result of hands-on testing of the service. Check that the required mode is available, that you have rights to the source material and that the intended use of the result is permitted.

Check details

## Official sources

-  [Card Florence-2 Large ](https://huggingface.co/microsoft/Florence-2-large)

-  [Florence-2 Base Card ](https://huggingface.co/microsoft/Florence-2-base)

This description is based on the developer’s material. Features, prices and availability may change; check the primary source before use.

About the tool

Developer

Microsoft

Category

[Images](https://instain.ru/en/category/images/)

Access

You need the model weights and a supported library. The model card explains how to select a task and parse the response for the variant you choose.

Payment

Microsoft publishes the weights under the terms in the model card. Local execution requires a suitable environment and compute resources.

API

No separate API specified

[Developer terms ](https://huggingface.co/microsoft/Florence-2-large)

Directory score

4.40 / 5 

Features

4.50 / 5 

Workflows

4.10 / 5 

Ecosystem

4.50 / 5 

Documentation

4.50 / 5 

Scores are an editorial guide to the directory. They are not user reviews or the results of personal testing.

[See the methodology ](https://instain.ru/en/methodology/)

Keep exploring

## For similar tasks

[Full category  ](https://instain.ru/en/category/images/)

Code 

###  [PaddleOCR](https://instain.ru/en/ai/paddleocr/)

OCR pipelines that return text and coordinates

4.33 / 5   Text recognition system in images  

Similar tasks; compare terms, formats and limitations
