Class: ActiveStorage::Ocr::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- ActiveStorage::Ocr::Railtie
- Defined in:
- lib/activestorage/ocr/railtie.rb
Overview
Rails integration via Railtie.
Automatically registers the OCR analyzer with Active Storage and provides rake tasks for managing the OCR server.
Rake Tasks
activestorage_ocr:install- Download and install the server binaryactivestorage_ocr:start- Start the OCR serveractivestorage_ocr:health- Check if the server is respondingactivestorage_ocr:info- Show binary and platform informationactivestorage_ocr:compare- Compare OCR results from different engines