LLM reel caption and video description + Refactor in services

This commit is contained in:
2025-06-30 16:14:29 +02:00
parent 21abbcdff5
commit 228d67a48d
20 changed files with 575 additions and 151 deletions

View File

@ -0,0 +1,27 @@
<?php
namespace App\Providers;
use App\Services\FileTools\OCR\IImageOCR;
use Illuminate\Support\ServiceProvider;
class ImageOCRServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
$this->app->singleton(IImageOCR::class, function ($app) {
return new \App\Services\FileTools\OCR\TesseractImageOCR();
});
}
/**
* Bootstrap services.
*/
public function boot(): void
{
//
}
}