Skip to content

OCRの調整#116

Merged
Freeesia merged 2 commits intomasterfrom
feature/fix_ocr
Aug 31, 2024
Merged

OCRの調整#116
Freeesia merged 2 commits intomasterfrom
feature/fix_ocr

Conversation

@Freeesia
Copy link
Owner

PR Classification

バグ修正および機能改善

PR Summary

OcrCorrectionFilter クラスと WindowsMediaOcr クラスにおけるエラーハンドリングと機能の改善が行われました。

  • OcrCorrectionFilter.cs: completionnull の場合に空の配列を返すように修正。
  • OcrCorrectionFilter.cs: 新しい内部クラス EnhancedGenerateContentResponseEx を追加し、Text メソッドをオーバーライド。
  • WindowsMediaOcr.cs: Rects の平均フォントサイズを計算して FontSize に設定するコードを追加。
  • WindowsMediaOcr.cs: FilterWords メソッドに無視する条件を追加。

@Freeesia Freeesia merged commit 0dae009 into master Aug 31, 2024
@Freeesia Freeesia deleted the feature/fix_ocr branch August 31, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant