Skip to content

Conversation

@julien-nc
Copy link
Member

The provider just runs 2 sub tasks (OCR and translation).

This can be tested with the new fake OCR provider in the testing app:

@julien-nc julien-nc added enhancement New feature or request 3. to review labels Dec 23, 2025
@julien-nc julien-nc force-pushed the enh/noid/ocr-translation branch from da7298a to 2e4ceaa Compare December 23, 2025 14:46
$userId,
);
$taskOutput = $this->taskProcessingService->runTaskProcessingTask($task);
$translatedOutputs[] = $taskOutput['output'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be cool to use $reportProgress here, so the user gets some feedback :)

use OCP\TaskProcessing\ShapeDescriptor;

class ImageToTextTranslateTaskType implements ITaskType {
public const ID = Application::APP_ID . ':image2text:translate';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we put this in server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants