🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.text
クラス TextDetectorCNN
- java.lang.Object
-
- org.opencv.text.TextDetector
-
- org.opencv.text.TextDetectorCNN
public class TextDetectorCNN extends TextDetector
TextDetectorCNN クラスはテキストのバウンディングボックス検出機能を提供する。このクラスは入力画像が与えられたときにテキストの単語のバウンディングボックスを見つけることを表す。このクラスは CITE: LiaoSBWL17 で説明されている事前学習済みモデルを読み込むために OpenCV の dnn モジュールを使用する。改変版 SSD Caffe バージョンの元のリポジトリ: https://github.com/MhLiao/TextBoxes 。モデルは [DropBox](https://www.dropbox.com/s/g8pjzv2de9gty8g/TextBoxes_icdar13.caffemodel?dl=0) からダウンロードできる。モデル記述を含む改変版 .prototxt ファイルはopencv_contrib/modules/text/samples/textbox.prototxtにある。
-
-
フィールドの要約
-
クラス org.opencv.text.TextDetector から継承されたフィールド
nativeObj
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedTextDetectorCNN​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static TextDetectorCNN__fromPtr__​(long addr)static TextDetectorCNNcreate​(java.lang.String modelArchFilename, java.lang.String modelWeightsFilename)voiddetect​(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)Method that provides a quick and simple interface to detect text inside an image-
クラス org.opencv.text.TextDetector から継承されたメソッド
getNativeObjAddr
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static TextDetectorCNN __fromPtr__​(long addr)
-
detect
public void detect​(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
Description copied from class:TextDetectorMethod that provides a quick and simple interface to detect text inside an image- オーバーライド:
- クラス
TextDetector内のdetect - 引数:
inputImage- 任意サイズの CV_U8C3 であることが期待される画像Bbox- 検出された単語のバウンディングボックスを格納する Rect のベクトルconfidence- 選択されたバウンディングボックスに対して分類器が持つ信頼度で更新される float のベクトル
-
create
public static TextDetectorCNN create​(java.lang.String modelArchFilename, java.lang.String modelWeightsFilename)
-
-