Class: ActiveStorage::Ocr::Railtie

Inherits:
Rails::Railtie
  • Object
show all
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 binary
  • activestorage_ocr:start - Start the OCR server
  • activestorage_ocr:health - Check if the server is responding
  • activestorage_ocr:info - Show binary and platform information
  • activestorage_ocr:compare - Compare OCR results from different engines