set_deep_ocr_paramT_set_deep_ocr_paramSetDeepOcrParamSetDeepOcrParamset_deep_ocr_param (Operator)

Name

set_deep_ocr_paramT_set_deep_ocr_paramSetDeepOcrParamSetDeepOcrParamset_deep_ocr_param — Setzen der Parameter des Deep OCR-Modells.

Signatur

set_deep_ocr_param( : : DeepOcrHandle, GenParamName, GenParamValue : )

Herror T_set_deep_ocr_param(const Htuple DeepOcrHandle, const Htuple GenParamName, const Htuple GenParamValue)

void SetDeepOcrParam(const HTuple& DeepOcrHandle, const HTuple& GenParamName, const HTuple& GenParamValue)

void HDlModelOcr::SetDeepOcrParam(const HString& GenParamName, const HTuple& GenParamValue) const

void HDlModelOcr::SetDeepOcrParam(const HString& GenParamName, double GenParamValue) const

void HDlModelOcr::SetDeepOcrParam(const char* GenParamName, double GenParamValue) const

void HDlModelOcr::SetDeepOcrParam(const wchar_t* GenParamName, double GenParamValue) const   (Nur Windows)

static void HOperatorSet.SetDeepOcrParam(HTuple deepOcrHandle, HTuple genParamName, HTuple genParamValue)

void HDlModelOcr.SetDeepOcrParam(string genParamName, HTuple genParamValue)

void HDlModelOcr.SetDeepOcrParam(string genParamName, double genParamValue)

def set_deep_ocr_param(deep_ocr_handle: HHandle, gen_param_name: str, gen_param_value: HTupleType) -> None

Beschreibung

set_deep_ocr_paramset_deep_ocr_paramSetDeepOcrParamSetDeepOcrParamSetDeepOcrParamset_deep_ocr_param setzt die Parameter GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name des Deep OCR-Modells DeepOcrHandleDeepOcrHandleDeepOcrHandleDeepOcrHandledeepOcrHandledeep_ocr_handle auf die Werte in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value.

Die möglichen Parameter sind in get_deep_ocr_paramget_deep_ocr_paramGetDeepOcrParamGetDeepOcrParamGetDeepOcrParamget_deep_ocr_param gelistet und erklärt.

Achtung

Systemvoraussetzungen: Um 'gpu'"gpu""gpu""gpu""gpu""gpu" Parameter zu setzen, d.h. um den Parameter GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name 'device'"device""device""device""device""device" auf eine GPU zu setzen, sind cuDNN und cuBLAS notwendig. Für weitere Details siehe „Installation Guide“, Abschnitt „Requirements for Deep Learning and Deep-Learning-Based Methods“.

Ausführungsinformationen

Parameter

DeepOcrHandleDeepOcrHandleDeepOcrHandleDeepOcrHandledeepOcrHandledeep_ocr_handle (input_control)  deep_ocr HDlModelOcr, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Deep OCR-Modells.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name des generischen Parameters.

Defaultwert: 'detection_image_width' "detection_image_width" "detection_image_width" "detection_image_width" "detection_image_width" "detection_image_width"

Werteliste: 'detection_device'"detection_device""detection_device""detection_device""detection_device""detection_device", 'detection_image_height'"detection_image_height""detection_image_height""detection_image_height""detection_image_height""detection_image_height", 'detection_image_size'"detection_image_size""detection_image_size""detection_image_size""detection_image_size""detection_image_size", 'detection_image_width'"detection_image_width""detection_image_width""detection_image_width""detection_image_width""detection_image_width", 'detection_min_character_score'"detection_min_character_score""detection_min_character_score""detection_min_character_score""detection_min_character_score""detection_min_character_score", 'detection_min_link_score'"detection_min_link_score""detection_min_link_score""detection_min_link_score""detection_min_link_score""detection_min_link_score", 'detection_min_word_area'"detection_min_word_area""detection_min_word_area""detection_min_word_area""detection_min_word_area""detection_min_word_area", 'detection_min_word_score'"detection_min_word_score""detection_min_word_score""detection_min_word_score""detection_min_word_score""detection_min_word_score", 'detection_orientation'"detection_orientation""detection_orientation""detection_orientation""detection_orientation""detection_orientation", 'detection_sort_by_line'"detection_sort_by_line""detection_sort_by_line""detection_sort_by_line""detection_sort_by_line""detection_sort_by_line", 'detection_tiling'"detection_tiling""detection_tiling""detection_tiling""detection_tiling""detection_tiling", 'device'"device""device""device""device""device", 'recognition_batch_size'"recognition_batch_size""recognition_batch_size""recognition_batch_size""recognition_batch_size""recognition_batch_size", 'recognition_device'"recognition_device""recognition_device""recognition_device""recognition_device""recognition_device", 'recognition_image_width'"recognition_image_width""recognition_image_width""recognition_image_width""recognition_image_width""recognition_image_width", 'recognition_num_char_candidates'"recognition_num_char_candidates""recognition_num_char_candidates""recognition_num_char_candidates""recognition_num_char_candidates""recognition_num_char_candidates"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (input_control)  attribute.value(-array) HTupleHTupleTypeHTupleHtuple (real / string / integer / handle) (double / string / int / long / HHandle) (double / HString / Hlong / HHandle) (double / char* / Hlong / handle)

Wert des generischen Parameters.

Defaultwert: 1024

Wertevorschläge: 0, 10, 50, 100, 200, 512, 768, 1024, 1280, 0.3, 0.4, 0.5, 0.6, 0.7, 'true'"true""true""true""true""true", 'false'"false""false""false""false""false", 'auto'"auto""auto""auto""auto""auto"

Ergebnis

Sind die Parameterwerte korrekt, dann liefert set_deep_ocr_paramset_deep_ocr_paramSetDeepOcrParamSetDeepOcrParamSetDeepOcrParamset_deep_ocr_param den Wert TRUE. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

create_deep_ocrcreate_deep_ocrCreateDeepOcrCreateDeepOcrCreateDeepOcrcreate_deep_ocr, get_deep_ocr_paramget_deep_ocr_paramGetDeepOcrParamGetDeepOcrParamGetDeepOcrParamget_deep_ocr_param

Nachfolger

get_deep_ocr_paramget_deep_ocr_paramGetDeepOcrParamGetDeepOcrParamGetDeepOcrParamget_deep_ocr_param, apply_deep_ocrapply_deep_ocrApplyDeepOcrApplyDeepOcrApplyDeepOcrapply_deep_ocr

Siehe auch

get_deep_ocr_paramget_deep_ocr_paramGetDeepOcrParamGetDeepOcrParamGetDeepOcrParamget_deep_ocr_param

Modul

OCR/OCV