⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matmatch.h

📁 一OCR的相关资料。.希望对研究OCR的朋友有所帮助.
💻 H
字号:
/********************************************************************** * File:        matmatch.h  (Formerly matrix_match.h) * Description: matrix matching routines for Tessedit * Author:      Chris Newton * Created:     Wed Nov 24 15:57:41 GMT 1993 * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** http://www.apache.org/licenses/LICENSE-2.0 ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License. * **********************************************************************/#ifndef           MATMATCH_H#define           MATMATCH_H#include          "img.h"#include          "hosthplb.h"#include          "notdll.h"#define BINIM_BLACK 0#define BINIM_WHITE 1#define BAD_MATCH 9999.0extern BOOL_VAR_H (tessedit_display_mm, FALSE, "Display matrix matches");extern BOOL_VAR_H (tessedit_mm_debug, FALSE,"Print debug information for matrix matcher");extern INT_VAR_H (tessedit_mm_prototype_min_size, 3,"Smallest number of samples in a cluster for a prototype to be used");float matrix_match(  // returns match score                   IMAGE *image1,                   IMAGE *image2);float match1(  /* returns match score */             IMAGE *image_w,             IMAGE *image_n);void display_images(IMAGE *image_w, IMAGE *image_n, IMAGE *match_image); WINDOW display_image(IMAGE *image,                     const char *title,                     INT32 x,                     INT32 y,                     BOOL8 wait);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -