baseline.cpp

来自「一OCR的相关资料。.希望对研究OCR的朋友有所帮助.」· C++ 代码 · 共 59 行

CPP
59
字号
/* -*-C-*- ******************************************************************************** * * File:        baseline.c  (Formerly baseline.c) * Description: * Author:       Mark Seaman, OCR Technology * Created:      Fri Oct 16 14:37:00 1987 * Modified:     Tue Jul 30 16:16:13 1991 (Mark Seaman) marks@hpgrlt * Language:     C * Package:      N/A * Status:       Reusable Software Component * * (c) Copyright 1987, Hewlett-Packard Company. ** 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. * **************************************************************************//*----------------------------------------------------------------------              I n c l u d e s---------------------------------------------------------------------*/#include "baseline.h"//#include "blobs.h"#include "debug.h"#include "hideedge.h"/*----------------------------------------------------------------------              T y p e s----------------------------------------------------------------------*/typedef TPOINT SCALE;/*----------------------------------------------------------------------              V a r i a b l e s----------------------------------------------------------------------*/INT8 baseline_normalized = TRUE;make_int_var (baseline_enable, 1, make_baseline_enable,4, 3, set_baseline_enable, "Baseline Enable");/*----------------------------------------------------------------------              F u n c t i o n s----------------------------------------------------------------------*//********************************************************************** * init_baseline * * Initialize the needed baseline variables. **********************************************************************/void init_baseline() {   make_baseline_enable();   baseline_normalized = baseline_enable;}

⌨️ 快捷键说明

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