Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activate() - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
ライセンス認証を行います。ライセンス認証には時間がかかるため、`activate`メソッドは 非同期で実行されます。
- activate(ActivationCallback, ActivationErrorCallback) - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
Deprecated.
- ActivationCallback - Interface in com.nefrock.edgeocr
-
ライセンス認証が完了したときに呼び出されるコールバックです。
- ActivationErrorCallback - Interface in com.nefrock.edgeocr
-
ライセンス認証中にエラーが発生したときに呼び出されるコールバックです。
- AdvancedBarcodeRecognizerSettings - Class in com.nefrock.edgeocr
-
バーコード認識の設定を表す構造体
- AdvancedBarcodeRecognizerSettings(boolean, float, float, boolean, Ean13Type) - Constructor for class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
バーコード認識の設定を初期化する
- Any - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
すべてのバーコード
- apply(Text) - Method in class com.nefrock.edgeocr.TextMapper
-
テキスト検出結果を変更するためのメソッドです。
このメソッドをオーバーライドして、マッピング処理を実装してください。Textクラスの情報を 元に、文字列を変更することができます。 - apply(Text) - Method in class com.nefrock.edgeocr.TextMapperWithConfidence
-
テキスト検出結果を変更するためのメソッドです。
このメソッドをオーバーライドして、マッピング処理を実装してください。Textクラスの情報を 元に、文字列を変更することができます。 - ASCII - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ASCII
- availableModels() - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
利用可能なOCR・バーコードモデルのリストを返します。`useModel`メソッドを使用してモデル を使用する前に、このメソッドを使用して利用可能なモデルを確認することをお勧めします。
- availableModelsWithExperimental() - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
利用可能なOCR・バーコードモデルのリストを返します。`useModel`メソッドを使用してモデル を使用する前に、このメソッドを使用して利用可能なモデルを確認することをお勧めします。 実験的なモデルも含まれます。実験的なモデルは、精度・性能が不安定である可能性があります。
- Aztec - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Aztec 2D バーコード
B
- Barcode - Class in com.nefrock.edgeocr
-
検出対象がバーコードの場合の検出結果を表すクラスです。
- Barcode - Enum constant in enum class com.nefrock.edgeocr.DetectionType
-
バーコード
- Barcode.EncodingRange - Class in com.nefrock.edgeocr
-
バーコード内容のエンコーディングを表すクラスです。 エンコーディングのレンジ重複することがありません。
- BarcodeFormat - Enum Class in com.nefrock.edgeocr
-
バーコードの種類を表す列挙型
- BBoxTextDetectorSettings - Class in com.nefrock.edgeocr
-
BBox文字検出モデル設定を表す構造体
- BBoxTextDetectorSettings(float) - Constructor for class com.nefrock.edgeocr.BBoxTextDetectorSettings
-
BBox文字検出モデルの設定を初期化する
- Big5 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
Big5 エンコーディング
- BINARY - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
エンコーディングなし(バイナリデータ)
- BoxParams - Class in com.nefrock.edgeocr.ui
-
バウンディングボックスを描画するためのパラメータ
- BoxParams(int, int, int) - Constructor for class com.nefrock.edgeocr.ui.BoxParams
-
コンストラクタ
- BoxParams(int, int, int, int, int) - Constructor for class com.nefrock.edgeocr.ui.BoxParams
-
コンストラクタ
- BoxParams(int, int, int, int, int, int) - Constructor for class com.nefrock.edgeocr.ui.BoxParams
-
コンストラクタ
- build() - Method in class com.nefrock.edgeocr.EdgeVisionAPI.Builder
-
OCRエンジンを初期化します。`fromAssets`または`fromPath`メソッドを呼び出して、 OCRモデルを読み込む方法を指定した後に、このメソッドを呼び出してください。
- build() - Method in class com.nefrock.edgeocr.NefrockLicenseAPI.Builder
-
NefrockLicenseAPIを構築します。
- Builder(Context) - Constructor for class com.nefrock.edgeocr.EdgeVisionAPI.Builder
-
Builderのコンストラクタ
- Builder(Context) - Constructor for class com.nefrock.edgeocr.NefrockLicenseAPI.Builder
-
Builderのコンストラクタ
C
- calcSimilaritiesWithMasterData(String, boolean, boolean) - Method in class com.nefrock.edgeocr.FuzzySearch
-
文字列とマスターデータ間の類似度を計算する
- calcSimilarity(String, String, boolean) - Method in class com.nefrock.edgeocr.FuzzySearch
-
2つの文字列間の類似度を計算する 類似度は次の式で計算されます:
- calcSimilarityWithMasterData(String, boolean, boolean) - Method in class com.nefrock.edgeocr.FuzzySearch
-
文字列とマスターデータ間の類似度を計算する
- call(EdgeError) - Method in interface com.nefrock.edgeocr.ActivationErrorCallback
-
ライセンス認証中にエラーが発生したときに呼び出されます。
- call(EdgeError) - Method in interface com.nefrock.edgeocr.ErrorCallback
-
モデルロードに失敗した場合呼び出されるコールバックを定義します。
- call(License) - Method in interface com.nefrock.edgeocr.ActivationCallback
-
ライセンス認証が完了したときに呼び出されます。
- call(ModelInformation) - Method in interface com.nefrock.edgeocr.LoadingCallback
-
モデルロードが完了したときに呼び出されるコールバックを定義します。
- CameraOverlay - Class in com.nefrock.edgeocr.ui
-
カメラのプレビュー画面にOCR結果表示するオーバーレイ
- CameraOverlay(Context) - Constructor for class com.nefrock.edgeocr.ui.CameraOverlay
-
コンストラクタ
- CameraOverlay(Context, AttributeSet) - Constructor for class com.nefrock.edgeocr.ui.CameraOverlay
-
コンストラクタ
- CameraOverlay(Context, AttributeSet, int) - Constructor for class com.nefrock.edgeocr.ui.CameraOverlay
-
コンストラクタ
- Codabar - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Codabar バーコード
- Code128 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Code 128 バーコード
- Code39 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Code 39 バーコード
- Code93 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Code 93 バーコード
- com.nefrock.edgeocr - package com.nefrock.edgeocr
- com.nefrock.edgeocr.ui - package com.nefrock.edgeocr.ui
- confidence - Variable in class com.nefrock.edgeocr.Text.LetterCandidate
-
信頼値
- confidence - Variable in class com.nefrock.edgeocr.TextMapperWithConfidence.StringWithConfidence
-
変更後の信頼度
- Confirmed - Enum constant in enum class com.nefrock.edgeocr.ScanConfirmationStatus
-
N回連続で同じ結果が読み込まれたので、確定された
- containsGS1() - Method in class com.nefrock.edgeocr.Barcode
-
バーコードがGS1データを表すかどうかを表します。
- Cp1250 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
Windows-1250、中欧で使用されるエンコーディング
- Cp1251 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
Windows-1251、キリル文字用のエンコーディング
- Cp1252 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
Windows-1252、北米・南米・西欧・オセアニア・アフリカで使用されるエンコーディング
- Cp1256 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
Windows-1256、アラビア文字用のエンコーディング
- Cp437 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
IBM PC で使用されるエンコーディング
- CPU - Enum constant in enum class com.nefrock.edgeocr.ExecutionDevice
-
CPU
- CropDetectionFilter - Class in com.nefrock.edgeocr
-
範囲を指定して検出のフィルターリングを設定するためのデータクラス
- CropDetectionFilter(boolean, float, List<CropDetectionFilter.CropSpec>, List<CropDetectionFilter.CropSpec>) - Constructor for class com.nefrock.edgeocr.CropDetectionFilter
-
フィルターを初期化する
- CropDetectionFilter(List<RectF>, List<RectF>, boolean, float) - Constructor for class com.nefrock.edgeocr.CropDetectionFilter
-
フィルターを初期化する
- CropDetectionFilter.CropSpec - Class in com.nefrock.edgeocr
-
検出範囲とその属性を表すクラス
- CropRect - Class in com.nefrock.edgeocr
-
画像のスキャン範囲を表すデータクラスです。
width(height)は、入力画像の元々の幅と高さを1として切り抜かれる範囲の幅(高さ)を0.0から1.0の範囲で設定します。
horizontalBias(verticalBias)は、切り抜かれる範囲の横方向(縦方向)のバイアスを0.0から1.0の範囲で設定します。
0.0の場合は切り取られる範囲の左端(上端)が画像の左端(上端)になります。
1.0の場合は切り取られる範囲の右端(下端)が画像の右端(下端)になります。
0.5の場合は画像の中央になります。
従って、画像からはみ出る範囲を指定することはできません。
例えば、画像の左上から幅の50%、高さの50%の範囲を切り取る場合は、horizontalBias=0.0, verticalBias=0.0, width=0.5, height=0.5と指定します。 - CropRect() - Constructor for class com.nefrock.edgeocr.CropRect
-
デフォルト値でスキャン範囲を作成します。
- CropRect(Float, Float, Float, Float) - Constructor for class com.nefrock.edgeocr.CropRect
- CropSpec(RectF, boolean) - Constructor for class com.nefrock.edgeocr.CropDetectionFilter.CropSpec
-
コンストラクタ
D
- DataBar - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
GS1 DataBar バーコード
- DataBarExpanded - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
GS1 DataBar Expanded バーコード
- DataBarLimited - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
GS1 DataBar Limited バーコード
- DataMatrix - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Data Matrix 2D バーコード
- DBPostProcessing - Enum Class in com.nefrock.edgeocr
-
DB検出モデルにおけるポストプロセスを表す列挙型
- DBTextDetectorSettings - Class in com.nefrock.edgeocr
-
DB文字検出モデルの設定を表す構造体
- DBTextDetectorSettings(float, float, float, DBPostProcessing) - Constructor for class com.nefrock.edgeocr.DBTextDetectorSettings
-
DB文字検出モデルの設定を初期化する
- deactivate() - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
ライセンス認証を解除します。 デバイスにライセンス情報が保存されている場合は削除されます。サーバー側の登録も解除されます。
- DEFAULT - Enum constant in enum class com.nefrock.edgeocr.FuzzyRegex.FuzzyType
-
デフォルトの曖昧検索を使用します。
- DEFAULT - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.WeightType
- DEFAULT - Enum constant in enum class com.nefrock.edgeocr.ScanOptions.ScanMode
-
画像内の文字を検出・認識します。
- Detection - Class in com.nefrock.edgeocr
-
OCRエンジンの検出結果を表すクラスです。
- DetectionFilter - Class in com.nefrock.edgeocr
-
検出結果のフィルタを表すクラスです。このクラスを継承して、filterメソッドを実装してください。
- DetectionFilter() - Constructor for class com.nefrock.edgeocr.DetectionFilter
- DetectionType - Enum Class in com.nefrock.edgeocr
-
検出結果の種類を表す列挙型
- DISABLED - Enum constant in enum class com.nefrock.edgeocr.FuzzyRegex.FuzzyType
-
曖昧検索を無効化します(通常の正規表現マッチ)。
- DISABLED - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.WeightType
-
重みなし
- dropFuzzyRegex() - Method in class com.nefrock.edgeocr.FuzzyRegex
-
このインスタンスが保持するネイティブリソースを解放します。
- dropFuzzySearch() - Method in class com.nefrock.edgeocr.FuzzySearch
-
デストラクタ
- DXFilmEdge - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
DX フィルムエッジバーコード
E
- EAN13 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
EAN-13 バーコード
- EAN13_EAN13 - Enum constant in enum class com.nefrock.edgeocr.Ean13Type
-
EAN-13
- EAN13_JAN - Enum constant in enum class com.nefrock.edgeocr.Ean13Type
-
JAN
- EAN13_UPCA - Enum constant in enum class com.nefrock.edgeocr.Ean13Type
-
UPC-A
- Ean13Type - Enum Class in com.nefrock.edgeocr
-
バーコード認識において、EAN-13の種類を表す列挙型。デコーダーがヒントとして使用する。
- EAN8 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
EAN-8 バーコード
- EdgeError - Exception in com.nefrock.edgeocr
-
OCRエンジンで発生したエラーを表すクラスです。
- EdgeVisionAPI - Interface in com.nefrock.edgeocr
-
EdgeVisionAPIは、EdgeOCR SDKのAPIです。 EdgeOCR SDKを使用する前に、ライセンス認証を行う必要があります。
NefrockLicenseAPIを使用してライセンス認証を行ってください。 - EdgeVisionAPI.Builder - Class in com.nefrock.edgeocr
-
OCRエンジンを初期化するためのビルダークラスです。 OCRエンジンを初期化するには、このクラスのインスタンスを作成し、 `fromAssets`または`fromPath`メソッドを呼び出して、 OCRモデルを読み込む方法を指定した後に、`build`メソッドを呼び出してください。
- EDIT_DISTANCE - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.DistanceType
-
編集距離
- editDistance() - Static method in class com.nefrock.edgeocr.FuzzySearch.DistanceTypeConfig
-
編集距離の設定を作成する
- encoding - Variable in class com.nefrock.edgeocr.Barcode.EncodingRange
-
エンコーディング
- Encoding - Enum Class in com.nefrock.edgeocr
-
文字列のエンコーディングを表す列挙型
- ErrorCallback - Interface in com.nefrock.edgeocr
-
モデルロードに失敗した場合に呼び出されるコールバックを定義します。
- EUC_JP - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
EUC-JP エンコーディング
- EUC_KR - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
EUC-KR エンコーディング
- EXACT - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
完全一致(文字長が一致する場合のみ比較)
- ExecutionDevice - Enum Class in com.nefrock.edgeocr
-
検出・認識モデルの実行に使用するデバイスを表す列挙型
- ExecutionSettings - Class in com.nefrock.edgeocr
-
モデルの実行設定を表す構造体
- ExecutionSettings(ExecutionDevice, int, boolean) - Constructor for class com.nefrock.edgeocr.ExecutionSettings
-
モデルの実行設定を初期化する
F
- filter(List<Detection>) - Method in class com.nefrock.edgeocr.DetectionFilter
-
検出結果をフィルタリングします。
このメソッドをオーバーライドして、フィルタリング処理を実装してください。Detectionの 情報を参照して、フィルタリングを行ってください。 この関数は、認識を行う前のDetectionを扱うので、TextまたはBarcodeの具体的なクラスを 使用することはできません。 - fromAssets(String) - Method in class com.nefrock.edgeocr.EdgeVisionAPI.Builder
-
モデルファイルを含むフォルダーのパスをassetsディレクトリから指定します。
- fromPath(String) - Method in class com.nefrock.edgeocr.EdgeVisionAPI.Builder
-
モデルファイルを含むフォルダーの絶対パスを指定します。
- FuzzyRegex - Class in com.nefrock.edgeocr
-
曖昧正規表現マッチングを提供するクラスです。
- FuzzyRegex(String, FuzzyRegex.FuzzyType, float) - Constructor for class com.nefrock.edgeocr.FuzzyRegex
-
曖昧正規表現インスタンスを作成します。
- FuzzyRegex.FuzzyType - Enum Class in com.nefrock.edgeocr
-
ファジー検索の種類を定義する列挙型です。
- FuzzySearch - Class in com.nefrock.edgeocr
-
このクラスは、2つの文字列間の距離を計算し、その類似度を評価するためのクラスです。 距離は、編集距離または貪欲距離のいずれかを使用して計算されます。 編集距離は、Levenshteinのアルゴリズムを使用して計算されます。 また、重み付けされた距離の計算や、マスターデータとの比較機能も提供します。 使用例:
- FuzzySearch(FuzzySearch.DistanceTypeConfig) - Constructor for class com.nefrock.edgeocr.FuzzySearch
-
コンストラクタ
- FuzzySearch(FuzzySearch.DistanceTypeConfig, boolean) - Constructor for class com.nefrock.edgeocr.FuzzySearch
-
コンストラクタ
- FuzzySearch(FuzzySearch.DistanceTypeConfig, boolean, int) - Constructor for class com.nefrock.edgeocr.FuzzySearch
-
コンストラクタ
- FuzzySearch(FuzzySearch.DistanceType, FuzzySearch.SearchMode, int) - Constructor for class com.nefrock.edgeocr.FuzzySearch
-
Deprecated.
FuzzySearch.DistanceTypeConfigを使用するコンストラクタを利用してください。 例:new FuzzySearch(DistanceTypeConfig.editDistance())またはnew FuzzySearch(DistanceTypeConfig.greedyDistance(SearchMode.SUBSTRING, 3)) - FuzzySearch(FuzzySearch.DistanceType, FuzzySearch.SearchMode, int, boolean) - Constructor for class com.nefrock.edgeocr.FuzzySearch
-
Deprecated.
FuzzySearch.DistanceTypeConfigを使用するコンストラクタを利用してください。 例:new FuzzySearch(DistanceTypeConfig.editDistance(), true) - FuzzySearch(FuzzySearch.DistanceType, FuzzySearch.SearchMode, int, boolean, int) - Constructor for class com.nefrock.edgeocr.FuzzySearch
-
Deprecated.
FuzzySearch.DistanceTypeConfigを使用するコンストラクタを利用してください。 例:new FuzzySearch(DistanceTypeConfig.greedyDistance(SearchMode.PREFIX, 3), true, 5) - FuzzySearch.DistanceType - Enum Class in com.nefrock.edgeocr
-
距離タイプを定義する列挙型。 距離を測定する方法を選択するために使用します。 例: 編集距離(EDIT_DISTANCE)または貪欲距離(GREEDY_DISTANCE)。
- FuzzySearch.DistanceTypeConfig - Class in com.nefrock.edgeocr
-
距離計算に使用するアルゴリズムとそのパラメータをまとめた設定クラスです。
- FuzzySearch.SearchMode - Enum Class in com.nefrock.edgeocr
-
検索モードを定義する列挙型。 検索の際に使用するモードを選択するために使用します。 例: 部分一致(SUBSTRING)、前方一致(PREFIX)、後方一致(SUFFIX)。
- FuzzySearch.WeightType - Enum Class in com.nefrock.edgeocr
-
重みの種類を定義する列挙型。 距離の計算に使用する重み付けの種類を選択するために使用します。 例: 重みなし(DISABLED)、デフォルト(DEFAULT)、Neural Network距離(NN_DISTANCE)。
- FuzzySearchResult - Class in com.nefrock.edgeocr
-
編集距離の計算結果を保持するクラスです。
- FuzzySearchResult(float, String) - Constructor for class com.nefrock.edgeocr.FuzzySearchResult
-
コンストラクタ
G
- GB18030 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
GB18030 エンコーディング
- GB2312 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
GB2312 エンコーディング
- getAcceptanceThreshold() - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
バーコード候補の総合スコアの閾値を取得する。 これ以上のスコアを持つバーコード候補の中の最もスコアの高いものが認識結果として返却される。
- getAdvancedBarcodeRecognizerSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getAdvancedOnly() - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
- getAllowPrecisionLoss() - Method in class com.nefrock.edgeocr.ExecutionSettings
- getAnalysisTime() - Method in class com.nefrock.edgeocr.ScanResult
-
解析にかかった時間を返します。
- getAreaThreshold() - Method in class com.nefrock.edgeocr.ModelSettings
- getAspectRatio() - Method in class com.nefrock.edgeocr.ModelInformation
-
モデルのアスペクト比を返します。
- getBarcodeCrops() - Method in class com.nefrock.edgeocr.CropDetectionFilter
- getBarcodeCropSpecs() - Method in class com.nefrock.edgeocr.CropDetectionFilter
- getBarcodeDetections() - Method in class com.nefrock.edgeocr.ScanResult
-
バーコード検出結果のリストを返します。
- getBarcodeDetectorExecutionSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getBarcodeFormats() - Method in class com.nefrock.edgeocr.ScanOptions
-
設定したバーコードの種類を返します。
- getBarcodeNToConfirm() - Method in class com.nefrock.edgeocr.ModelSettings
- getBarcodeRecognizerExecutionSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getBBoxTextDetectorSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getBinaryThreshold() - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
- getBoundingBox() - Method in class com.nefrock.edgeocr.Detection
-
検出された文字列のバウンディングボックスを取得します。 バウンディングボックスの座標は入力画像の左上を原点とした相対座標系になります。
ScanOptionsにおいて、CropRectが指定されている場合でも、バウンディングボックスの座標は元画像の左上を原点とした相対座標系になります。 上記の「元画像」とは、ViewPortの適応後の(画面に見えている)画像を指します。 - getCandidateThreshold() - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
バーコード候補として使用するための最低信頼度を取得する。マッチするバーコード候補からの スコアから総合スコアを算出する。総合スコアの閾値については、
AdvancedBarcodeRecognizerSettings.getAcceptanceThreshold()を参照のこと。 - getCharset() - Method in enum class com.nefrock.edgeocr.Encoding
- getCheckAfterFrames() - Method in class com.nefrock.edgeocr.ModelSettings
- getCombineHorizontal() - Method in class com.nefrock.edgeocr.CropDetectionFilter
- getCombineHorizontalThreshold() - Method in class com.nefrock.edgeocr.CropDetectionFilter
- getConfidence() - Method in class com.nefrock.edgeocr.Barcode
-
バーコード内容の信頼値を取得します。 高度バーコード認識を使用している場合のみ有効です。それ以外の場合は、1.0が返されます。
- getConfidence() - Method in class com.nefrock.edgeocr.Text
-
検出された文字列の信頼値を取得します。
- getConfidenceThreshold() - Method in class com.nefrock.edgeocr.ModelSettings
- getConfidenceThreshold() - Method in class com.nefrock.edgeocr.YotsukaDDetectorSettings
- getConfidenceThresholdOne() - Method in class com.nefrock.edgeocr.TextRecognizerSettings
- getConfidenceThresholdTwo() - Method in class com.nefrock.edgeocr.TextRecognizerSettings
- getConstrainVerticalToRegion() - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
- getCropDetectionFilter() - Method in class com.nefrock.edgeocr.ModelSettings
- getCropIndex() - Method in class com.nefrock.edgeocr.Detection
-
検出範囲インデックスを取得します。
ModelSettings.setCropDetectionFilter(CropDetectionFilter)で指定した文字列・バーコードの検出範囲のインデックスです。 インデックスは文字列・バーコード別途で割り当てられます。 フィルターを設定していない場合は-1が返ります。 - getCropRect() - Method in class com.nefrock.edgeocr.ScanOptions
-
設定したスキャン範囲を返します。
- getDBTextDetectorSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getDetections() - Method in class com.nefrock.edgeocr.ScanResult
-
文字・バーコード検出結果のリストを返します。
- getDetectionScore() - Method in class com.nefrock.edgeocr.Detection
-
検出箇所の信頼値を取得します。
- getDevice() - Method in class com.nefrock.edgeocr.ExecutionSettings
- getDeviceId() - Method in class com.nefrock.edgeocr.License
-
デバイスIDを取得します。
- getDeviceId() - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
APIの認証で端末識別に用いているデバイスIDを返します。
- getDistance() - Method in class com.nefrock.edgeocr.FuzzySearchResult
-
編集距離を取得します。
- getEan13Hint() - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
- getEnableRelaxedPass() - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
- getEnableReverse() - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
- getEncoding() - Method in class com.nefrock.edgeocr.Barcode
-
Deprecated.このメソッドは非推奨です。バーコードのエンコーディングは、
Barcode.getEncodingRanges()を使用して取得してください。 - getEncodingRanges() - Method in class com.nefrock.edgeocr.Barcode
-
バーコードのバイナリデータのエンコーディングの範囲を取得します。
Barcode.getRawData()の内容を解析するために使用できます。読み取ったバーコードに エンコーディングが明示的に指定されていない場合は推測されますので、誤ったエンコーディングが 返される可能性があります。 - getEnforceChecksum() - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
- getErrorCode() - Method in exception com.nefrock.edgeocr.EdgeError
-
エラーコードを返します。
- getExpirationDate() - Method in class com.nefrock.edgeocr.License
-
ライセンスの有効期限を取得します。
- getFlipHorizontal() - Method in class com.nefrock.edgeocr.ScanOptions
-
画像を水平方向に反転するかどうかを返します。
- getFlipVertical() - Method in class com.nefrock.edgeocr.ScanOptions
-
画像を垂直方向に反転するかどうかを返します。
- getFormat() - Method in class com.nefrock.edgeocr.Barcode
-
バーコードのフォーマットを取得します。
- getHeightFactor() - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
- getHighConfidenceThreshold() - Method in class com.nefrock.edgeocr.ModelSettings
- getLetterCandidates() - Method in class com.nefrock.edgeocr.Text
-
検出された各文字について、その他の文字候補とその信頼値を取得します。
- getLicenseKey() - Method in class com.nefrock.edgeocr.License
-
ライセンスキーを取得します。
- getMaxCandidates() - Method in class com.nefrock.edgeocr.TextRecognizerSettings
- getNextBarcodeRecognizerSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getNextOnly() - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
- getNmsThreshold() - Method in class com.nefrock.edgeocr.BBoxTextDetectorSettings
- getNThreads() - Method in class com.nefrock.edgeocr.ExecutionSettings
- getParallelBarcodeRecognizers() - Method in class com.nefrock.edgeocr.ModelSettings
- getParallelTextRecognizers() - Method in class com.nefrock.edgeocr.ModelSettings
- getPostProcessing() - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
-
内部使用(実験的)
- getPreprocessingTime() - Method in class com.nefrock.edgeocr.ScanResult
-
前処理にかかった時間を返します。
- getRawData() - Method in class com.nefrock.edgeocr.Barcode
-
バーコードのバイナリデータを取得します。 エンコーディングは、
Barcode.getEncodingRanges()を使用して取得してください。 - getRotation() - Method in class com.nefrock.edgeocr.ScanOptions
-
設定した回転角度を返します。設定していない場合は、nullを返します。
- getScanMode() - Method in class com.nefrock.edgeocr.ScanOptions
-
設定したスキャンモードを返します。
- getSDKVersion() - Static method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
EdgeOCR SDKのバージョンを取得します。
- getStartDate() - Method in class com.nefrock.edgeocr.License
-
ライセンスの開始日を取得します。
- getStatus() - Method in class com.nefrock.edgeocr.Detection
-
検出結果の確定状態を取得します。
- getText() - Method in class com.nefrock.edgeocr.Barcode
-
バーコードが表す文字列を取得します。
- getText() - Method in class com.nefrock.edgeocr.FuzzySearchResult
-
編集距離を計算した文字列を取得します。
- getText() - Method in class com.nefrock.edgeocr.Text
-
検出された文字列を取得します。
- getTextCrops() - Method in class com.nefrock.edgeocr.CropDetectionFilter
- getTextCropSpecs() - Method in class com.nefrock.edgeocr.CropDetectionFilter
- getTextDetections() - Method in class com.nefrock.edgeocr.ScanResult
-
文字検出結果のリストを返します。
- getTextDetectorExecutionSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getTextNToConfirm() - Method in class com.nefrock.edgeocr.ModelSettings
- getTextRecognizerExecutionSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getTextRecognizerSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getType() - Method in class com.nefrock.edgeocr.Detection
-
検出箇所の種類を取得します。
- getUID() - Method in class com.nefrock.edgeocr.Model
-
モデルのUIDを取得します。UIDは、拡張子を除いたモデルファイルのファイル名です。
- getWidthFactor() - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
- getYotsukaDDetectorSettings() - Method in class com.nefrock.edgeocr.ModelSettings
- getZeroConfidenceThreshold() - Method in class com.nefrock.edgeocr.ModelSettings
- GPU - Enum constant in enum class com.nefrock.edgeocr.ExecutionDevice
-
GPU
- GREEDY_DISTANCE - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.DistanceType
-
貪欲距離
- greedyDistanceExact() - Static method in class com.nefrock.edgeocr.FuzzySearch.DistanceTypeConfig
-
貪欲距離(完全一致)の設定を作成する
- greedyDistancePrefix(int) - Static method in class com.nefrock.edgeocr.FuzzySearch.DistanceTypeConfig
-
貪欲距離(前方一致)の設定を作成する
- greedyDistanceSubstring(int) - Static method in class com.nefrock.edgeocr.FuzzySearch.DistanceTypeConfig
-
貪欲距離(部分一致)の設定を作成する
- greedyDistanceSuffix(int) - Static method in class com.nefrock.edgeocr.FuzzySearch.DistanceTypeConfig
-
貪欲距離(後方一致)の設定を作成する
- GS1_Code128_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Code 128のGS1合成バーコード(MicroPDF417)
- GS1_Code128_CCC - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Code 128のGS1合成バーコード(PDF417)
- GS1_Composite - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
すべてのGS1合成バーコード
- GS1_DataBar_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
GS1 DataBarのGS1合成バーコード
- GS1_DataBarExpanded_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
GS1 DataBar ExpandedのGS1合成バーコード
- GS1_DataBarLimited_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
GS1 DataBar LimitedのGS1合成バーコード
- GS1_EAN13_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
EAN-13のGS1合成バーコード
- GS1_EAN8_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
EAN-8のGS1合成バーコード
- GS1_UPCA_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
UPC-AのGS1合成バーコード
- GS1_UPCE_CCA_CCB - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
UPC-EのGS1合成バーコード
H
- HorizontalMerger84 - Enum constant in enum class com.nefrock.edgeocr.DBPostProcessing
-
間の空いた文字をくっつける
I
- imageHeight - Variable in class com.nefrock.edgeocr.DetectionFilter
-
元画像の高さ(ピクセル)。「元画像」とは、ViewPortの適応後の(画面に見えている)画像を指します。
- imageWidth - Variable in class com.nefrock.edgeocr.DetectionFilter
-
元画像の幅(ピクセル)。「元画像」とは、ViewPortの適応後の(画面に見えている)画像を指します。
- isActivated() - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
ライセンス認証が完了しているかどうかを返します。
- isActivated(ActivationCallback, ActivationErrorCallback) - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
Deprecated.このメソッドは非推奨です。この関数の返り値のListenableFutureをgetすると、 errorCallbackを指定しても例外が発生する可能性があります。getで結果を期待したい場合は、
NefrockLicenseAPI.isActivated()を使用し、必要に応じて例外をキャッチしてください。 - isEnableMasking() - Method in class com.nefrock.edgeocr.TextRecognizerSettings
- ISO8859_1 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-1 西欧)
- ISO8859_10 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-6 北欧)
- ISO8859_11 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字とタイ文字(Latin タイ文字)
- ISO8859_13 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-7 バルト海)
- ISO8859_14 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-8 ケルト)
- ISO8859_15 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-9)
- ISO8859_16 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-9 南西欧)
- ISO8859_2 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-2 中欧)
- ISO8859_3 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-3 南欧)
- ISO8859_4 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-4 北欧)
- ISO8859_5 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字とキリル文字(Latin キリル文字)
- ISO8859_6 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字とアラビア文字(Latin アラビア文字)
- ISO8859_7 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字とギリシャ文字(Latin ギリシャ文字)
- ISO8859_8 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字とヘブライ文字(Latin ヘブライ文字)
- ISO8859_9 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
ラテン文字(Latin-5 トルコ)
- isReady() - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
OCR・バーコードモデルが使用可能かどうかを返します。
- ITF - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
ITF (Interleaved Two of Five) バーコード
L
- length - Variable in class com.nefrock.edgeocr.Barcode.EncodingRange
-
長さ
- letter - Variable in class com.nefrock.edgeocr.Text.LetterCandidate
-
文字
- License - Class in com.nefrock.edgeocr
-
ライセンス情報を表すクラスです。
- LinearCodes - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
線形バーコード
- LoadingCallback - Interface in com.nefrock.edgeocr
-
モデルロードが完了したときに呼び出されるコールバックを定義します。
- loadMasterData(String[]) - Method in class com.nefrock.edgeocr.FuzzySearch
-
マスターデータを読み込む
- loadWeight(FuzzySearch.WeightType) - Method in class com.nefrock.edgeocr.FuzzySearch
-
ファイルから重みデータを読み込む
M
- match(String) - Method in class com.nefrock.edgeocr.FuzzyRegex
-
入力文字列に対してマッチングを行い、結果文字列を返します。 マッチしない場合は
nullを返します。 パターンに名前付きキャプチャ(例:(?<a1>...))が1つ以上ある場合は、 名前付きキャプチャの内容を連結した文字列を返します。 連結順はキャプチャ名の辞書順です(宣言順ではありません)。 名前付きキャプチャが無い場合は、マッチした文字列(全体一致)を返します。 曖昧マッチ有効時は OCR 由来の揺れを補正した正規化結果を返すことがあります (例:C0DE -> CODE, 全角英数字/記号の正規化など)。 - MatrixCodes - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
2D マトリクスバーコード
- MaxiCode - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
MaxiCode バーコード
- MicroPDF417 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
MicroPDF417 2D バーコード
- MicroQRCode - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
Micro QR コード
- MIN_HEIGHT_FACTOR - Static variable in class com.nefrock.edgeocr.DBTextDetectorSettings
-
heightFactor の下限値。下回った値はこの値にクランプされる。
- Model - Class in com.nefrock.edgeocr
-
モデルの情報を表すクラスです。
- Model(String) - Constructor for class com.nefrock.edgeocr.Model
-
UIDを指定して、モデルの情報を作成します。
- ModelInformation - Class in com.nefrock.edgeocr
-
モデル情報を保持するクラスです。
- ModelSettings - Class in com.nefrock.edgeocr
-
AIモデルの設定を表す構造体
- ModelSettings() - Constructor for class com.nefrock.edgeocr.ModelSettings
-
デフォルト値でAIモデルの設定を作成します。
N
- nBarcodeBoxes() - Method in class com.nefrock.edgeocr.ScanResult
-
検出されたバーコードの数を返します。
- NefrockLicenseAPI - Interface in com.nefrock.edgeocr
-
NefrockLicenseAPIは、Nefrock OCR SDKのライセンス認証を行うためのAPIです。 Nefrock OCR SDKを使用する前に、ライセンス認証を行う必要があります。 ライセンス認証は、`activate`メソッドを使用して行います。 ライセンス認証が完了すると、`activate`メソッドのコールバックにライセンス情報が渡されます。 ライセンス認証が完了していない場合、`activate`メソッドは`null`を返します。
- NefrockLicenseAPI.Builder - Class in com.nefrock.edgeocr
-
ライセンス認証APIのBuilderです
- NextBarcodeRecognizerSettings - Class in com.nefrock.edgeocr
-
Nextバーコード認識の設定を表す構造体
- NextBarcodeRecognizerSettings(boolean, boolean, boolean, boolean) - Constructor for class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
-
Nextバーコード認識の設定を初期化する
- NN - Enum constant in enum class com.nefrock.edgeocr.FuzzyRegex.FuzzyType
-
NN ベースの曖昧検索を使用します。
- NN_DISTANCE - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.WeightType
-
Neural Network距離
- NNAPI - Enum constant in enum class com.nefrock.edgeocr.ExecutionDevice
-
NNAPI (Android 8.1以降)
- None - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
不明なバーコード、またはどのフォーマットも読み取らない
- None - Enum constant in enum class com.nefrock.edgeocr.DBPostProcessing
-
なし
- NotYetRead - Enum constant in enum class com.nefrock.edgeocr.ScanConfirmationStatus
-
まだ一度も読み込まれていない
- nTextBoxes() - Method in class com.nefrock.edgeocr.ScanResult
-
検出された文字列の数を返します。
O
- ONE_SHOT - Enum constant in enum class com.nefrock.edgeocr.ScanOptions.ScanMode
-
同期的に画像内の文字を検出・認識します。
- OpeningClosing - Enum constant in enum class com.nefrock.edgeocr.DBPostProcessing
-
オープニング・クロージング
P
- PDF417 - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
PDF417 2D バーコード
- PREFIX - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
前方一致
Q
- QRCode - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
QR コード
R
- reading - Variable in class com.nefrock.edgeocr.TextMapperWithConfidence.StringWithConfidence
-
変更後の文字列
- RECOGNITION_ONLY - Enum constant in enum class com.nefrock.edgeocr.ScanOptions.ScanMode
-
画像内の文字に対する認識のみを行います。
- rect - Variable in class com.nefrock.edgeocr.CropDetectionFilter.CropSpec
-
範囲
- reportImage(ImageProxy, CropRect, String) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
Deprecated.このメソッドは非推奨です。画像の報告のサポートを終了する予定です。
- reportImage(ImageProxy, String) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
Deprecated.このメソッドは非推奨です。画像の報告のサポートを終了する予定です。
- resetLicense() - Method in interface com.nefrock.edgeocr.NefrockLicenseAPI
-
デバイス上のライセンス認証をリセットします。 デバイスに保存されているライセンス情報が削除されますが、サーバー側の登録は解除されません。
- resetScanningState() - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
スキャン状態をリセットします。検出・認識の履歴がクリアされます。
- returnMultiple - Variable in class com.nefrock.edgeocr.CropDetectionFilter.CropSpec
-
複数検出を返すかどうか
- RMQRCode - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
長方形の Micro QR コード
- Rotate0 - Enum constant in enum class com.nefrock.edgeocr.Rotation
-
0 度回転
- Rotate180 - Enum constant in enum class com.nefrock.edgeocr.Rotation
-
180 度回転
- Rotate270 - Enum constant in enum class com.nefrock.edgeocr.Rotation
-
270 度回転
- Rotate90 - Enum constant in enum class com.nefrock.edgeocr.Rotation
-
90 度回転
- Rotation - Enum Class in com.nefrock.edgeocr
-
画像の回転角度を表す列挙型
S
- scan(Bitmap) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
入力画像に対して文字・バーコードの検出・認識を行います。useModelで選択したモデルによって、 バーコードのみ、文字のみ、または両方を検出・認識します。また、モデルのアスペクト比が固定 である場合、画像の中心部分からアスペクト比を保ったまま切り出せる最大のサイズに対してスキャン を行います。 動画に対してではなく、静止画像に対しての利用を想定しているため同期的にOCRを行います。 android.graphics.Bitmap.Configの全てのバーコードフォーマットをサポートします。
- scan(Bitmap, ScanOptions) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
入力画像に対して文字・バーコードの検出・認識を行います。useModelで選択したモデルによって、 バーコードのみ、文字のみ、または両方を検出・認識します。 android.graphics.Bitmap.Configの全てのバーコードフォーマットをサポートします。
- scan(ImageProxy) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
入力画像に対して文字・バーコードの検出・認識を行います。useModelで選択したモデルによって、 バーコードのみ、文字のみ、または両方を検出・認識します。また、モデルのアスペクト比が固定 である場合、画像の中心部分からアスペクト比を保ったまま切り出せる最大のサイズに対してスキャン を行います。
- scan(ImageProxy, ScanOptions) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
入力画像に対して文字・バーコードの検出・認識を行います。useModelで選択したモデルによって、 バーコードのみ、文字のみ、または両方を検出・認識します。 scanOptionを用いて、スキャンの動作をカスタマイズすることができます。詳細は、
ScanOptionsを参照してください。 - scan(ByteBuffer, int, int, int) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
入力画像に対して文字・バーコードの検出・認識を行います。useModelで選択したモデルによって、 バーコードのみ、文字のみ、または両方を検出・認識します。また、モデルのアスペクト比が固定 である場合、画像の中心部分からアスペクト比を保ったまま切り出せる最大のサイズに対してスキャン を行います。 動画に対してではなく、静止画像に対しての利用を想定しているため同期的にOCRを行います。 imageBytesには、RGBA8888形式の画像データを使ってください。なお、ByteBufferは direct bufferである必要があります(https://developer.android.com/reference/java/nio/ByteBuffer#direct-vs.-non-direct-buffers) Androidのandroid.graphics.BitmapがgetConfigでARGB8888を返す場合は、実は RGBA8888形式の画像データです。
- scan(ByteBuffer, int, int, int, ScanOptions) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
入力画像に対して文字・バーコードの検出・認識を行います。useModelで選択したモデルによって、 バーコードのみ、文字のみ、または両方を検出・認識します。 imageBytesには、RGBA8888形式の画像データを使ってください。なお、ByteBufferは direct bufferである必要があります(https://developer.android.com/reference/java/nio/ByteBuffer#direct-vs.-non-direct-buffers) Androidのandroid.graphics.BitmapがgetConfigでARGB8888を返す場合は、実は RGBA8888形式の画像データです。 scanOptionを用いて、スキャンの動作をカスタマイズすることができます。詳細は、
ScanOptionsを参照してください。 - scanArea - Variable in class com.nefrock.edgeocr.DetectionFilter
-
読み取り範囲。 この範囲は、元画像の左上を原点とした相対座標系になります。
- ScanConfirmationStatus - Enum Class in com.nefrock.edgeocr
-
スキャン結果の確定状態を表す列挙型
- ScanOptions - Class in com.nefrock.edgeocr
-
スキャンオプションを表すクラスです。 スキャンモードと切り取り範囲を指定できます。
ScanOptions.ScanMode列挙型を利用してスキャンのモードを指定します。
スキャンモードは3通りあります。
ScanOptions.ScanMode.DEFAULT
画像内の文字を検出・認識します。
このモードでは、文字の位置情報、内容及びOCR結果の確からしさに関する情報を返します。
ScanOptions.ScanMode.RECOGNITION_ONLY
画像内の文字に対する認識のみを行います。
cropRectを指定してスキャン範囲を限定して利用することを推奨しています。
ScanOptions.ScanMode.ONE_SHOT
同期的に画像内の文字を検出・認識します。
リアルタイムなカメラ画像の解析ではなく、静止画像の解析に使用してください。
回転の角度を指定することができます。指定しない場合は、以下のように動作します。
EdgeVisionAPI.scan(ImageProxy, ScanOptions)メソッドの場合は、ImageProxyの回転角度を使用します。
EdgeVisionAPI.scan(Bitmap, ScanOptions)メソッドの場合は、回転しません。 - ScanOptions() - Constructor for class com.nefrock.edgeocr.ScanOptions
-
スキャンモードを指定してスキャンオプションを作成します。 スキャン範囲は画像の中心部分からモデルのアスペクト比を保ったまま、 切り出せる最大のサイズとなるように設定されます。
- ScanOptions.ScanMode - Enum Class in com.nefrock.edgeocr
-
スキャンモードを表す列挙型です。
- ScanResult - Class in com.nefrock.edgeocr
-
スキャン結果を表すクラスです。
- Sed - Class in com.nefrock.edgeocr
-
sed ライクなテキスト変換機能を提供するユーティリティクラスです。
- Sed() - Constructor for class com.nefrock.edgeocr.Sed
- setAcceptanceThreshold(float) - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
バーコード候補の総合スコアの閾値を設定する。 これ以上のスコアを持つバーコード候補の中の最もスコアの高いものが認識結果として返却される。 認識率を上げたい場合は低く、誤認識を減らしたい場合は高く設定する。
- setAdvancedBarcodeRecognizerSettings(AdvancedBarcodeRecognizerSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
高度バーコード認識の詳細設定を設定する
- setAdvancedOnly(boolean) - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
高度なバーコード認識のみを使用するかどうかを設定する。 trueに設定すると、高度なバーコード認識のみが使用され、 通常のバーコード認識は使用されない。
- setAllowPrecisionLoss(boolean) - Method in class com.nefrock.edgeocr.ExecutionSettings
-
モデルのGPUデリゲートによる精度低下を許可するかどうかを設定する
- setAreaThreshold(float) - Method in class com.nefrock.edgeocr.ModelSettings
-
検出の最小面積(画像の面積に対する割合)を設定する
- setAspectRatio(float) - Method in class com.nefrock.edgeocr.ui.CameraOverlay
-
画面に表示する読み取り範囲をアスペクト比から設定する クロップを行わない場合の読み取り範囲の表示に使用する
- setBarcodeCrops(List<RectF>) - Method in class com.nefrock.edgeocr.CropDetectionFilter
-
バーコードの検出範囲を設定する
- setBarcodeCropSpecs(List<CropDetectionFilter.CropSpec>) - Method in class com.nefrock.edgeocr.CropDetectionFilter
-
バーコードの検出範囲とその属性を設定する
- setBarcodeDetectorExecutionSettings(ExecutionSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
バーコード検出モデルの実行設定を設定する
- setBarcodeFormats(List<BarcodeFormat>) - Method in class com.nefrock.edgeocr.ScanOptions
-
バーコードの種類を設定します。
- setBarcodeNToConfirm(Map<BarcodeFormat, Integer>) - Method in class com.nefrock.edgeocr.ModelSettings
-
バーコードフォーマット毎の検出結果の確定に必要な同じ結果の読み込み回数を設定する。 この設定は
ScanOptions.ScanMode.DEFAULTの場合のみ有効です。 - setBarcodeRecognizerExecutionSettings(ExecutionSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
バーコード認識モデルの実行設定を設定する
- setBBoxTextDetectorSettings(BBoxTextDetectorSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
BBox文字検出モデルの詳細設定を設定する
- setBinaryThreshold(float) - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
-
DB検出モデルにおける二値化の閾値を設定する
- setBoxes(List<? extends Detection>) - Method in class com.nefrock.edgeocr.ui.CameraOverlay
-
読み取り結果を画面に表示する
- setBoxesAndLayouts(List<Pair<? extends Detection, BoxParams>>) - Method in class com.nefrock.edgeocr.ui.CameraOverlay
-
読み取り結果を、表示形式を指定して画面に表示する
- setCandidateThreshold(float) - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
バーコード候補として使用するための最低信頼度を設定する。低く設定すると、間違えた認識結果 を候補として使用する可能性が高くなる。また、間違えた認識結果の総合スコアが
AdvancedBarcodeRecognizerSettings.getAcceptanceThreshold()を超える可能性も高くなり、誤認識のリスクが増大する。 高く設定すると、正しい認識結果を候補として使用しない可能性が高くなり、認識率が低下する。 - setCheckAfterFrames(int) - Method in class com.nefrock.edgeocr.ModelSettings
-
確定された結果を再度確認するまでのフレーム数を設定する
- setCombineHorizontal(boolean) - Method in class com.nefrock.edgeocr.CropDetectionFilter
-
それぞれの範囲内で、水平方向に近い検出を結合するかどうかを設定する
- setCombineHorizontalThreshold(float) - Method in class com.nefrock.edgeocr.CropDetectionFilter
-
結合する際の距離の閾値(縦方向のIoU)を設定する
- setConfidenceThreshold(float) - Method in class com.nefrock.edgeocr.ModelSettings
-
検出の最小信頼度を設定する highConfidenceThresholdよりも小さい値に設定してください。
- setConfidenceThreshold(float) - Method in class com.nefrock.edgeocr.YotsukaDDetectorSettings
-
YotsukaD検出モデルにおける信頼度の閾値を設定する
- setConfidenceThresholdOne(float) - Method in class com.nefrock.edgeocr.TextRecognizerSettings
-
文字認識モデルにおける1つ目の閾値を設定する
- setConfidenceThresholdTwo(float) - Method in class com.nefrock.edgeocr.TextRecognizerSettings
-
文字認識モデルにおける2つ目の閾値を設定する
- setConstrainVerticalToRegion(boolean) - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
-
スキャンラインの垂直範囲を検出領域内に限定するかどうかを設定する。 trueにすると、バーコード検出領域の外側にスキャンラインを拡張しない。 バーコードが密集している場合に隣接バーコードの誤読を防ぐのに有用。
- setCrop(float, float, float, float) - Method in class com.nefrock.edgeocr.ui.CameraOverlay
-
画面に表示する読み取り範囲の位置とサイズを設定する
ScanOptionsで読み取り範囲を変更する場合に呼び出す - setCropDetectionFilter(CropDetectionFilter) - Method in class com.nefrock.edgeocr.ModelSettings
-
文字列・バーコードの検出をそれぞれ範囲を指定してフィルタリングするための設定
- setCropRect(CropRect) - Method in class com.nefrock.edgeocr.ScanOptions
-
スキャン範囲を設定します。
- setDBTextDetectorSettings(DBTextDetectorSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
DB文字検出モデルの詳細設定を設定する
- setDetectionFilter(DetectionFilter) - Method in class com.nefrock.edgeocr.ModelSettings
-
検出結果のフィルタを設定する
- setDevice(ExecutionDevice) - Method in class com.nefrock.edgeocr.ExecutionSettings
-
モデルの実行デバイスを設定する
- setEan13Hint(Ean13Type) - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
EAN-13バーコードの種類のヒントを設定する。
- setEnableMasking(boolean) - Method in class com.nefrock.edgeocr.TextRecognizerSettings
-
マスク処理を有効にするかどうかを設定する。 行間が狭い画像などで、誤認識を減らす効果がある。
- setEnableRelaxedPass(boolean) - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
-
緩和パスを有効にするかどうかを設定する
- setEnableReverse(boolean) - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
-
逆方向スキャンを有効にするかどうかを設定する
- setEnforceChecksum(boolean) - Method in class com.nefrock.edgeocr.AdvancedBarcodeRecognizerSettings
-
チェックサム・チェックデジットの合わないバーコードを無視するかどうかを設定する。 falseにすると、
EdgeVisionAPI.scan(ScanSettings)から一致度の一番高い パターンが返却される。多少の誤りをマスターデータ等との比較によって訂正できる場合などに有用。 - setFlipHorizontal(boolean) - Method in class com.nefrock.edgeocr.ScanOptions
-
画像を水平方向に反転するかどうかを設定します。
- setFlipVertical(boolean) - Method in class com.nefrock.edgeocr.ScanOptions
-
画像を垂直方向に反転するかどうかを設定します。
- setHeightFactor(float) - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
-
DB検出モデルにおける縦方向の拡大率を設定する
- setHighConfidenceThreshold(float) - Method in class com.nefrock.edgeocr.ModelSettings
-
検出における高信頼度の閾値(トラッキングに影響する)を設定する
- setMaxCandidates(int) - Method in class com.nefrock.edgeocr.TextRecognizerSettings
-
文字列の文字ごとの最大候補数を設定する
- setNextBarcodeRecognizerSettings(NextBarcodeRecognizerSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
Nextバーコード認識の詳細設定を設定する
- setNextOnly(boolean) - Method in class com.nefrock.edgeocr.NextBarcodeRecognizerSettings
-
panda-rsのみを使用するかどうかを設定する。 falseの場合、zxingで先に認識を試み、失敗した場合にpanda-rsにフォールバックする。
- setNmsThreshold(float) - Method in class com.nefrock.edgeocr.BBoxTextDetectorSettings
-
BBox検出モデルにおけるNMSの閾値を設定する
- setNThreads(int) - Method in class com.nefrock.edgeocr.ExecutionSettings
-
モデルの実行に使用するスレッド数を設定する
- setParallelBarcodeRecognizers(int) - Method in class com.nefrock.edgeocr.ModelSettings
-
バーコード認識モデルの並列実行数を設定する
- setParallelTextRecognizers(int) - Method in class com.nefrock.edgeocr.ModelSettings
-
文字認識モデルの並列実行数を設定する
- setPostProcessing(DBPostProcessing) - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
-
内部使用(実験的):検出モデルの出力のポストプロセスを設定する
- setRotation(Rotation) - Method in class com.nefrock.edgeocr.ScanOptions
-
回転角度を設定します。
- setScanMode(ScanOptions.ScanMode) - Method in class com.nefrock.edgeocr.ScanOptions
-
スキャンモードを設定します。
- setText(String) - Method in class com.nefrock.edgeocr.Barcode
-
文字列を設定します。
- setText(String) - Method in class com.nefrock.edgeocr.Text
-
文字列を設定します。
- setTextCrops(List<RectF>) - Method in class com.nefrock.edgeocr.CropDetectionFilter
-
テキストの検出範囲を設定する
- setTextCropSpecs(List<CropDetectionFilter.CropSpec>) - Method in class com.nefrock.edgeocr.CropDetectionFilter
-
テキストの検出範囲とその属性を設定する
- setTextDetectorExecutionSettings(ExecutionSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
文字検出モデルの実行設定を設定する
- setTextMapper(TextMapper) - Method in class com.nefrock.edgeocr.ModelSettings
-
認識された文字列のテキストマッパーを設定する
- setTextMapper(TextMapperWithConfidence) - Method in class com.nefrock.edgeocr.ModelSettings
-
認識された文字列のテキストマッパーを設定する(信頼度付き)
- setTextNToConfirm(int) - Method in class com.nefrock.edgeocr.ModelSettings
-
文字検出結果の確定に必要な同じ結果の読み込み回数を設定する。 この設定は
ScanOptions.ScanMode.DEFAULTの場合のみ有効です。 - setTextRecognizerExecutionSettings(ExecutionSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
認識モデルの実行設定を設定する
- setTextRecognizerSettings(TextRecognizerSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
文字認識モデルの詳細設定を設定する
- setWidthFactor(float) - Method in class com.nefrock.edgeocr.DBTextDetectorSettings
-
DB検出モデルにおける横方向の拡大率を設定する
- setYotsukaDDetectorSettings(YotsukaDDetectorSettings) - Method in class com.nefrock.edgeocr.ModelSettings
-
YotsukaD検出モデルの詳細設定を設定する
- setZeroConfidenceThreshold(float) - Method in class com.nefrock.edgeocr.ModelSettings
-
検出の最小信頼度(これ以下の信頼度ならトラッキングに使用しない)を設定する confidenceThresholdよりも小さい値に設定してください。
- Shift_JIS - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
Shift-JIS エンコーディング
- showBoxes(boolean) - Method in class com.nefrock.edgeocr.ui.CameraOverlay
-
読み取り結果を表示するかどうかを設定する
- showEmptyBoxes(boolean) - Method in class com.nefrock.edgeocr.ui.CameraOverlay
-
読み取り結果がない場合に空の枠を表示するかどうかを設定する。規定値はfalse
- start - Variable in class com.nefrock.edgeocr.Barcode.EncodingRange
-
開始位置
- StringWithConfidence(String, float) - Constructor for class com.nefrock.edgeocr.TextMapperWithConfidence.StringWithConfidence
-
変更後の文字列と信頼度を保持するクラスを作成します。
- SUBSTRING - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
部分一致
- SUFFIX - Enum constant in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
後方一致
T
- Text - Class in com.nefrock.edgeocr
-
検出対象が文字列の場合の検出結果を表すクラスです。
- Text - Enum constant in enum class com.nefrock.edgeocr.DetectionType
-
文字列
- Text.LetterCandidate - Class in com.nefrock.edgeocr
-
各文字の信頼値を表すクラスです。
- TextMapper - Class in com.nefrock.edgeocr
-
テキスト検出結果を変更するためのクラスです。よくブレる文字の修正、または検出結果から不要な 文字を削除するために使用します。
このクラスを継承して、applyメソッドを実装してください。 - TextMapper() - Constructor for class com.nefrock.edgeocr.TextMapper
- TextMapperWithConfidence - Class in com.nefrock.edgeocr
-
テキスト検出結果を変更するためのクラスです。よくブレる文字の修正、または検出結果から不要な 文字を削除するために使用します。変更した検出結果とともに、文字列の新しい信頼度も返却できます。
このクラスを継承して、applyメソッドを実装してください。 - TextMapperWithConfidence() - Constructor for class com.nefrock.edgeocr.TextMapperWithConfidence
- TextMapperWithConfidence.StringWithConfidence - Class in com.nefrock.edgeocr
-
変更後の文字列と信頼度を保持するクラスです。
- TextRecognizerSettings - Class in com.nefrock.edgeocr
-
文字認識モデル設定を表す構造体
- TextRecognizerSettings(int, float, float, boolean) - Constructor for class com.nefrock.edgeocr.TextRecognizerSettings
-
文字認識モデルの設定を初期化する
- toStr() - Method in enum class com.nefrock.edgeocr.FuzzyRegex.FuzzyType
-
検索モードの文字列表現を返します。
- toStr() - Method in enum class com.nefrock.edgeocr.FuzzySearch.DistanceType
-
距離タイプの文字列表現を返します。
- toStr() - Method in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
検索モードの文字列表現を返します。
- toStr() - Method in enum class com.nefrock.edgeocr.FuzzySearch.WeightType
-
重みタイプの文字列表現を返します。
- transform(String, String, String) - Static method in class com.nefrock.edgeocr.Sed
-
文字列変換を実行します(リテラルパターン)。
- transform(String, String, String, boolean) - Static method in class com.nefrock.edgeocr.Sed
-
文字列変換を実行します。
- transformRegex(String, String, String) - Static method in class com.nefrock.edgeocr.Sed
-
文字列変換を実行します(正規表現パターン)。
U
- Unconfirmed - Enum constant in enum class com.nefrock.edgeocr.ScanConfirmationStatus
-
N回未満で同じ結果が読み込まれたので、まだ確定されていない
- Unknown - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
不明なエンコーディング、またはエンコーディングが使用されていない
- UPCA - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
UPC-A バーコード
- UPCE - Enum constant in enum class com.nefrock.edgeocr.BarcodeFormat
-
UPC-E バーコード
- useModel(Model) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
OCR・バーコードモデルを読み込みます。モデル読み込みには時間がかかるため、`useModel` メソッドは非同期で実行されます。規定の設定が使用されます。モデルの設定を変更したい場合は、
EdgeVisionAPI.useModel(Model, ModelSettings)を使用してください。 - useModel(Model, LoadingCallback, ErrorCallback) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
Deprecated.このメソッドは非推奨です。この関数の返り値のListenableFutureをgetすると、 errorCallbackを指定しても例外が発生する可能性があります。getで結果を待機したい場合は、
EdgeVisionAPI.useModel(Model)を使用し、必要に応じて例外をキャッチしてください。 - useModel(Model, ModelSettings) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
OCR・バーコードモデルを読み込みます。モデル読み込みには時間がかかるため、`useModel` メソッドは非同期で実行されます。settingsには、モデルの読み込み時に使用する設定を指定する ことができます。
- useModel(Model, ModelSettings, LoadingCallback, ErrorCallback) - Method in interface com.nefrock.edgeocr.EdgeVisionAPI
-
Deprecated.このメソッドは非推奨です。この関数の返り値のListenableFutureをgetすると、 errorCallbackを指定しても例外が発生する可能性があります。getで結果を待機したい場合は、
EdgeVisionAPI.useModel(Model, ModelSettings)を使用し、必要に応じて例外をキャッチしてください。 - UTF16BE - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
UTF-16 ビッグエンディアンエンコーディング
- UTF16LE - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
UTF-16 リトルエンディアンエンコーディング
- UTF32BE - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
UTF-32 ビッグエンディアンエンコーディング
- UTF32LE - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
UTF-32 リトルエンディアンエンコーディング
- UTF8 - Enum constant in enum class com.nefrock.edgeocr.Encoding
-
UTF-8 エンコーディング
V
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.BarcodeFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.DBPostProcessing
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.DetectionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.Ean13Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.Encoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.ExecutionDevice
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.FuzzyRegex.FuzzyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.FuzzySearch.DistanceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.FuzzySearch.WeightType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.Rotation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.ScanConfirmationStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nefrock.edgeocr.ScanOptions.ScanMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.nefrock.edgeocr.BarcodeFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.DBPostProcessing
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.DetectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.Ean13Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.Encoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.ExecutionDevice
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.FuzzyRegex.FuzzyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.FuzzySearch.DistanceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.FuzzySearch.SearchMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.FuzzySearch.WeightType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.Rotation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.ScanConfirmationStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nefrock.edgeocr.ScanOptions.ScanMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withGroupLicenseFile(String) - Method in class com.nefrock.edgeocr.NefrockLicenseAPI.Builder
-
複数のデバイスのアクティベーションに使えるグループライセンスファイルを設定します。 このメソッドを使用する場合、ライセンスキーを設定する必要はありません。 groupLicensePathで指定されたファイルは、アクセス権限があることを確認してください。
- withLicenseKey(String) - Method in class com.nefrock.edgeocr.NefrockLicenseAPI.Builder
-
ライセンスキーを設定します。
Y
- YotsukaDDetectorSettings - Class in com.nefrock.edgeocr
-
YotsukaD検出モデル設定を表す構造体
- YotsukaDDetectorSettings(float) - Constructor for class com.nefrock.edgeocr.YotsukaDDetectorSettings
-
YotsukaD検出モデルの設定を初期化する
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
NefrockLicenseAPI.activate()を使用し、必要に応じて例外をキャッチしてください。