v0.57.2

roboflow/inferencev0.57.2Sep 29, 2025by PawelPeczek-Roboflow

AI Summary

Added EasyOCR support for text extraction and significantly improved OCR performance, alongside foundational support for Torch script backends in experimental features.

Key Highlights

  • Added EasyOCR support to inference and Workflows.
  • Speed up post_process_ocr_result by 765%.
  • Added Torch script backend support in inference-experimental.
  • Fixed EasyOCR cache location and requirements.

New Features

  • EasyOCR integration
  • OCR performance optimization
  • Torch script backend support
  • EasyOCR bug fixes

Full Release Notes

# 💪 Added

## Easy OCR 🤝 `inference`

Thanks to @lou-roboflow we have [EasyOCR](https://github.com/JaidedAI/EasyOCR) model supported in `inference` and [Workflows ecosystem](https://inference.roboflow.com/workflows/blocks/easy_ocr/). 

<img width="1169" height="520" alt="image" src="https://github.com/user-attachments/assets/32eba93a-3c50-426a-b9a9-cc39602faf34" />

# ⚡ Improved
* ⚡️ Speed up function `post_process_ocr_result` by 765% in PR #1577 (`New_OCR_Blocks`) by @codeflash-ai[bot] in https://github.com/roboflow/inference/pull/1589
* Reduce latency resulting from VideoFrameProducer by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1579

# 🚧 Fixed
* Fix "Getting Started" python version requirement by @brunopicinin in https://github.com/roboflow/inference/pull/1581
* Fall back to 'Fit (grey edges) in' when 'Fit (reflect edges) in' / 'Fit within' / 'Fill (with center crop) in' is passed as resize method by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1584
* Update aiortc dependency by @cdeil in https://github.com/roboflow/inference/pull/1583
* Fix SyntaxWarning in core/devices/utils.py by @cdeil in https://github.com/roboflow/inference/pull/1582
* Guard owlv2 and transformers artifacts download with lock by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1578
* Fix test_rfdetr_base_with_background_class -  by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1590
* Fix ocr changes by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1592
* Fix issues with EasyOCR - cache location and requirements by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1594
* Fix docker builds by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1595
* Add bugfix for easyocr by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1596
* Fix ocr again forth time by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1597
* Pass execution_id header based on ContextVar set by http_api middleware by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1593
* Fix: Add psutil dependency to resolve slim Docker image startup failures by @antsa-alec in https://github.com/roboflow/inference/pull/1580
* Fix issues with EasyOCR and integration tests by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1598
* Retain empty 'parent_id' field in OCR response by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1599
* Fix bug in florence 2 old inference by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1591


# 🥼 Changes `inference-experimental` 
* support of Torch script backend for models
* support for models-specific features in auto-negotiation
* foundations for RF trained models support in `inference-exp`
See details: https://github.com/roboflow/inference/pull/1450

# 🏅  New Contributors
* @antsa-alec made their first contribution in https://github.com/roboflow/inference/pull/1580

**Full Changelog**: https://github.com/roboflow/inference/compare/v0.56.0...v0.57.2