code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
///////////////////////////////////////////////////////////////////////
// File: bbgrid.cpp
// Description: Class to hold BLOBNBOXs in a grid for fast access
// to neighbours.
// Author: Ray Smith
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Lice... | 2301_81045437/tesseract | src/textord/bbgrid.cpp | C++ | apache-2.0 | 10,537 |
///////////////////////////////////////////////////////////////////////
// File: bbgrid.h
// Description: Class to hold BLOBNBOXs in a grid for fast access
// to neighbours.
// Author: Ray Smith
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Licens... | 2301_81045437/tesseract | src/textord/bbgrid.h | C++ | apache-2.0 | 37,554 |
/*****************************************************************************
*
* File: blkocc.cpp (Formerly blockocc.c)
* Description: Block Occupancy routines
* Author: Chris Newton
*
* (c) Copyright 1991, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/textord/blkocc.cpp | C++ | apache-2.0 | 5,464 |
/******************************************************************************
*
* File: blkocc.h (Formerly blockocc.h)
* Description: Block Occupancy routines
* Author: Chris Newton
*
* (c) Copyright 1991, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License"... | 2301_81045437/tesseract | src/textord/blkocc.h | C++ | apache-2.0 | 7,399 |
///////////////////////////////////////////////////////////////////////
// File: blobgrid.cpp
// Description: BBGrid of BLOBNBOX with useful BLOBNBOX-specific methods.
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
// Created: Sat Jun 11 10:30:01 PST 2011
//
// Lice... | 2301_81045437/tesseract | src/textord/blobgrid.cpp | C++ | apache-2.0 | 1,774 |
///////////////////////////////////////////////////////////////////////
// File: blobgrid.h
// Description: BBGrid of BLOBNBOX with useful BLOBNBOX-specific methods.
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
// Created: Sat Jun 11 10:26:01 PST 2011
//
// Licens... | 2301_81045437/tesseract | src/textord/blobgrid.h | C++ | apache-2.0 | 1,637 |
///////////////////////////////////////////////////////////////////////
// File: ccnontextdetect.cpp
// Description: Connected-Component-based photo (non-text) detection.
// Author: rays@google.com (Ray Smith)
//
// Copyright 2011 Google Inc. All Rights Reserved.
// Licensed under the Apache License, Versio... | 2301_81045437/tesseract | src/textord/ccnontextdetect.cpp | C++ | apache-2.0 | 13,904 |
///////////////////////////////////////////////////////////////////////
// File: ccnontextdetect.h
// Description: Connected-Component-based non-text detection.
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
// Created: Sat Jun 11 09:52:01 PST 2011
//
// Licensed un... | 2301_81045437/tesseract | src/textord/ccnontextdetect.h | C++ | apache-2.0 | 4,114 |
///////////////////////////////////////////////////////////////////////
// File: cjkpitch.cpp
// Description: Code to determine fixed pitchness and the pitch if fixed,
// for CJK text.
// Author: takenaka@google.com (Hiroshi Takenaka)
//
// Copyright 2011 Google Inc. All Rights Reserved.
// Lic... | 2301_81045437/tesseract | src/textord/cjkpitch.cpp | C++ | apache-2.0 | 33,173 |
///////////////////////////////////////////////////////////////////////
// File: cjkpitch.h
// Description: Code to determine fixed pitchness and the pitch if fixed,
// for CJK text.
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: takenaka@google.com (Hiroshi Takenaka)
// Created: ... | 2301_81045437/tesseract | src/textord/cjkpitch.h | C++ | apache-2.0 | 3,278 |
///////////////////////////////////////////////////////////////////////
// File: colfind.cpp
// Description: Class to hold BLOBNBOXs in a grid for fast access
// to neighbours.
// Author: Ray Smith
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Lic... | 2301_81045437/tesseract | src/textord/colfind.cpp | C++ | apache-2.0 | 66,918 |
///////////////////////////////////////////////////////////////////////
// File: colfind.h
// Description: Class to find columns in the grid of BLOBNBOXes.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 2301_81045437/tesseract | src/textord/colfind.h | C++ | apache-2.0 | 17,615 |
///////////////////////////////////////////////////////////////////////
// File: colpartition.cpp
// Description: Class to hold partitions of the page that correspond
// roughly to text lines.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Versi... | 2301_81045437/tesseract | src/textord/colpartition.cpp | C++ | apache-2.0 | 103,870 |
///////////////////////////////////////////////////////////////////////
// File: colpartition.h
// Description: Class to hold partitions of the page that correspond
// roughly to text lines.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version... | 2301_81045437/tesseract | src/textord/colpartition.h | C++ | apache-2.0 | 37,474 |
///////////////////////////////////////////////////////////////////////
// File: colpartitiongrid.cpp
// Description: Class collecting code that acts on a BBGrid of ColPartitions.
// Author: Ray Smith
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
//... | 2301_81045437/tesseract | src/textord/colpartitiongrid.cpp | C++ | apache-2.0 | 72,977 |
///////////////////////////////////////////////////////////////////////
// File: colpartitiongrid.h
// Description: Class collecting code that acts on a BBGrid of ColPartitions.
// Author: Ray Smith
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// y... | 2301_81045437/tesseract | src/textord/colpartitiongrid.h | C++ | apache-2.0 | 12,353 |
///////////////////////////////////////////////////////////////////////
// File: colpartitionset.cpp
// Description: Class to hold a list of ColPartitions of the page that
// correspond roughly to columns.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache L... | 2301_81045437/tesseract | src/textord/colpartitionset.cpp | C++ | apache-2.0 | 26,094 |
///////////////////////////////////////////////////////////////////////
// File: colpartitionset.h
// Description: Class to hold a list of ColPartitions of the page that
// correspond roughly to columns.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache Lic... | 2301_81045437/tesseract | src/textord/colpartitionset.h | C++ | apache-2.0 | 7,573 |
/**********************************************************************
* File: devanagari_processing.cpp
* Description: Methods to process images containing devanagari symbols,
* prior to classification.
* Author: Shobhit Saxena
*
* (C) Copyright 2008, Google Inc.
** Licensed under the ... | 2301_81045437/tesseract | src/textord/devanagari_processing.cpp | C++ | apache-2.0 | 19,156 |
// Copyright 2008 Google Inc. All Rights Reserved.
// Author: shobhitsaxena@google.com (Shobhit Saxena)
// 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/LICE... | 2301_81045437/tesseract | src/textord/devanagari_processing.h | C++ | apache-2.0 | 6,785 |
/**********************************************************************
* File: drawtord.cpp (Formerly drawto.c)
* Description: Draw things to do with textord.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you m... | 2301_81045437/tesseract | src/textord/drawtord.cpp | C++ | apache-2.0 | 14,811 |
/**********************************************************************
* File: drawtord.h (Formerly drawto.h)
* Description: Draw things to do with textord.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may... | 2301_81045437/tesseract | src/textord/drawtord.h | C++ | apache-2.0 | 3,904 |
/**********************************************************************
* File: edgblob.cpp (Formerly edgeloop.c)
* Description: Functions to clean up an outline before approximation.
* Author: Ray Smith
*
*(C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0(the ... | 2301_81045437/tesseract | src/textord/edgblob.cpp | C++ | apache-2.0 | 16,318 |
/**********************************************************************
* File: edgblob.h (Formerly edgeloop.h)
* Description: Functions to clean up an outline before approximation.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/textord/edgblob.h | C++ | apache-2.0 | 2,589 |
/**********************************************************************
* File: edgloop.cpp (Formerly edgeloop.c)
* Description: Functions to clean up an outline before approximation.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (t... | 2301_81045437/tesseract | src/textord/edgloop.cpp | C++ | apache-2.0 | 5,342 |
/**********************************************************************
* File: edgloop.h (Formerly edgeloop.h)
* Description: Functions to clean up an outline before approximation.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/textord/edgloop.h | C++ | apache-2.0 | 1,485 |
///////////////////////////////////////////////////////////////////////
// File: equationdetectbase.cpp
// Description: The base class equation detection class.
// Author: Zongyi (Joe) Liu (joeliu@google.com)
// Created: Fri Aug 31 11:13:01 PST 2011
//
// (C) Copyright 2011, Google Inc.
// Licensed unde... | 2301_81045437/tesseract | src/textord/equationdetectbase.cpp | C++ | apache-2.0 | 2,364 |
///////////////////////////////////////////////////////////////////////
// File: equationdetectbase.h
// Description: The base class equation detection class.
// Author: Zongyi (Joe) Liu (joeliu@google.com)
// Created: Fri Aug 31 11:13:01 PST 2011
//
// (C) Copyright 2011, Google Inc.
// Licensed under ... | 2301_81045437/tesseract | src/textord/equationdetectbase.h | C++ | apache-2.0 | 2,156 |
/**********************************************************************
* File: fpchop.cpp (Formerly fp_chop.c)
* Description: Code to chop fixed pitch text into character cells.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "L... | 2301_81045437/tesseract | src/textord/fpchop.cpp | C++ | apache-2.0 | 27,993 |
/**********************************************************************
* File: fpchop.h (Formerly fp_chop.h)
* Description: Code to chop fixed pitch text into character cells.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Lic... | 2301_81045437/tesseract | src/textord/fpchop.h | C++ | apache-2.0 | 2,507 |
// 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 ... | 2301_81045437/tesseract | src/textord/gap_map.cpp | C++ | apache-2.0 | 6,501 |
// 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 ... | 2301_81045437/tesseract | src/textord/gap_map.h | C++ | apache-2.0 | 1,356 |
///////////////////////////////////////////////////////////////////////
// File: imagefind.cpp
// Description: Function to find image and drawing regions in an image
// and create a corresponding list of empty blobs.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under t... | 2301_81045437/tesseract | src/textord/imagefind.cpp | C++ | apache-2.0 | 51,039 |
///////////////////////////////////////////////////////////////////////
// File: imagefind.h
// Description: Class to find image and drawing regions in an image
// and create a corresponding list of empty blobs.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Ap... | 2301_81045437/tesseract | src/textord/imagefind.h | C++ | apache-2.0 | 5,048 |
///////////////////////////////////////////////////////////////////////
// File: linefind.cpp
// Description: Class to find vertical lines in an image and create
// a corresponding list of empty blobs.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache Licen... | 2301_81045437/tesseract | src/textord/linefind.cpp | C++ | apache-2.0 | 31,767 |
///////////////////////////////////////////////////////////////////////
// File: linefind.h
// Description: Class to find vertical lines in an image and create
// a corresponding list of empty blobs.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License... | 2301_81045437/tesseract | src/textord/linefind.h | C++ | apache-2.0 | 2,331 |
/**********************************************************************
* File: makerow.cpp (Formerly makerows.c)
* Description: Code to arrange blobs into rows of text.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");... | 2301_81045437/tesseract | src/textord/makerow.cpp | C++ | apache-2.0 | 96,255 |
/**********************************************************************
* File: makerow.h (Formerly makerows.h)
* Description: Code to arrange blobs into rows of text.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
... | 2301_81045437/tesseract | src/textord/makerow.h | C++ | apache-2.0 | 10,803 |
/**********************************************************************
* File: oldbasel.cpp (Formerly oldbl.c)
* Description: A re-implementation of the old baseline algorithm.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Li... | 2301_81045437/tesseract | src/textord/oldbasel.cpp | C++ | apache-2.0 | 61,834 |
/**********************************************************************
* File: oldbasel.h (Formerly oldbl.h)
* Description: A re-implementation of the old baseline algorithm.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Lice... | 2301_81045437/tesseract | src/textord/oldbasel.h | C++ | apache-2.0 | 6,220 |
/**********************************************************************
* File: pithsync.cpp (Formerly pitsync2.c)
* Description: Code to find the optimum fixed pitch segmentation of some blobs.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Ver... | 2301_81045437/tesseract | src/textord/pithsync.cpp | C++ | apache-2.0 | 25,315 |
/**********************************************************************
* File: pithsync.h (Formerly pitsync2.h)
* Description: Code to find the optimum fixed pitch segmentation of some blobs.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version... | 2301_81045437/tesseract | src/textord/pithsync.h | C++ | apache-2.0 | 4,626 |
/**********************************************************************
* File: pitsync1.cpp (Formerly pitsync.c)
* Description: Code to find the optimum fixed pitch segmentation of some blobs.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Vers... | 2301_81045437/tesseract | src/textord/pitsync1.cpp | C++ | apache-2.0 | 15,023 |
/**********************************************************************
* File: pitsync1.h (Formerly pitsync.h)
* Description: Code to find the optimum fixed pitch segmentation of some blobs.
* Author: Ray Smith
* Created: Thu Nov 19 11:48:05 GMT 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** ... | 2301_81045437/tesseract | src/textord/pitsync1.h | C++ | apache-2.0 | 3,794 |
/**********************************************************************
* File: scanedg.cpp (Formerly scanedge.c)
* Description: Raster scanning crack based edge extractor.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/textord/scanedg.cpp | C++ | apache-2.0 | 13,110 |
/**********************************************************************
* File: scanedg.h (Formerly scanedge.h)
* Description: Raster scanning crack based edge extractor.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License")... | 2301_81045437/tesseract | src/textord/scanedg.h | C++ | apache-2.0 | 1,212 |
/**********************************************************************
* File: sortflts.cpp (Formerly sfloats.c)
* Description: Code to maintain a sorted list of floats.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License")... | 2301_81045437/tesseract | src/textord/sortflts.cpp | C++ | apache-2.0 | 2,121 |
/**********************************************************************
* File: sortflts.h (Formerly sfloats.h)
* Description: Code to maintain a sorted list of floats.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
... | 2301_81045437/tesseract | src/textord/sortflts.h | C++ | apache-2.0 | 1,881 |
///////////////////////////////////////////////////////////////////////
// File: strokewidth.cpp
// Description: Subclass of BBGrid to find uniformity of strokewidth.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not ... | 2301_81045437/tesseract | src/textord/strokewidth.cpp | C++ | apache-2.0 | 81,436 |
///////////////////////////////////////////////////////////////////////
// File: strokewidth.h
// Description: Subclass of BBGrid to find uniformity of strokewidth.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | 2301_81045437/tesseract | src/textord/strokewidth.h | C++ | apache-2.0 | 16,774 |
///////////////////////////////////////////////////////////////////////
// File: tabfind.cpp
// Description: Subclass of BBGrid to find vertically aligned blobs.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use t... | 2301_81045437/tesseract | src/textord/tabfind.cpp | C++ | apache-2.0 | 57,589 |
///////////////////////////////////////////////////////////////////////
// File: tabfind.h
// Description: Subclass of BBGrid to find tabstops.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... | 2301_81045437/tesseract | src/textord/tabfind.h | C++ | apache-2.0 | 15,903 |
///////////////////////////////////////////////////////////////////////
// File: tablefind.cpp
// Description: Helper classes to find tables from ColPartitions.
// Author: Faisal Shafait (faisal.shafait@dfki.de)
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Li... | 2301_81045437/tesseract | src/textord/tablefind.cpp | C++ | apache-2.0 | 84,202 |
///////////////////////////////////////////////////////////////////////
// File: tablefind.h
// Description: Helper classes to find tables from ColPartitions.
// Author: Faisal Shafait (faisal.shafait@dfki.de)
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Lice... | 2301_81045437/tesseract | src/textord/tablefind.h | C++ | apache-2.0 | 16,423 |
///////////////////////////////////////////////////////////////////////
// File: tablerecog.cpp
// Description: Helper class to help structure table areas. Given an bounding
// box from TableFinder, the TableRecognizer should give a
// StructuredTable (maybe a list in the future) of "go... | 2301_81045437/tesseract | src/textord/tablerecog.cpp | C++ | apache-2.0 | 39,724 |
///////////////////////////////////////////////////////////////////////
// File: tablerecog.h
// Description: Functions to detect structure of tables.
// Author: Nicholas Beato
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 2301_81045437/tesseract | src/textord/tablerecog.h | C++ | apache-2.0 | 15,789 |
///////////////////////////////////////////////////////////////////////
// File: tabvector.cpp
// Description: Class to hold a near-vertical vector representing a tab-stop.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you ma... | 2301_81045437/tesseract | src/textord/tabvector.cpp | C++ | apache-2.0 | 36,016 |
///////////////////////////////////////////////////////////////////////
// File: tabvector.h
// Description: Class to hold a near-vertical vector representing a tab-stop.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may ... | 2301_81045437/tesseract | src/textord/tabvector.h | C++ | apache-2.0 | 15,193 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 2301_81045437/tesseract | src/textord/textlineprojection.cpp | C++ | apache-2.0 | 32,213 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 2301_81045437/tesseract | src/textord/textlineprojection.h | C++ | apache-2.0 | 10,368 |
///////////////////////////////////////////////////////////////////////
// File: textord.cpp
// Description: The top-level text line and word finding functionality.
// Author: Ray Smith
// Created: Fri Mar 13 14:43:01 PDT 2009
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, V... | 2301_81045437/tesseract | src/textord/textord.cpp | C++ | apache-2.0 | 16,126 |
///////////////////////////////////////////////////////////////////////
// File: textord.h
// Description: The Textord class definition gathers text line and word
// finding functionality.
// Author: Ray Smith
// Created: Fri Mar 13 14:29:01 PDT 2009
//
// (C) Copyright 2009, Google Inc.
//... | 2301_81045437/tesseract | src/textord/textord.h | C++ | apache-2.0 | 13,869 |
/**********************************************************************
* File: topitch.cpp (Formerly to_pitch.c)
* Description: Code to determine fixed pitchness and the pitch if fixed.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0... | 2301_81045437/tesseract | src/textord/topitch.cpp | C++ | apache-2.0 | 65,539 |
/**********************************************************************
* File: topitch.h (Formerly to_pitch.h)
* Description: Code to determine fixed pitchness and the pitch if fixed.
* Author: Ray Smith
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (... | 2301_81045437/tesseract | src/textord/topitch.h | C++ | apache-2.0 | 7,559 |
/**********************************************************************
* File: tordmain.cpp (Formerly textordp.c)
* Description: C++ top level textord code.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may... | 2301_81045437/tesseract | src/textord/tordmain.cpp | C++ | apache-2.0 | 39,025 |
/**********************************************************************
* File: tordmain.h (Formerly textordp.h)
* Description: C++ top level textord code.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may n... | 2301_81045437/tesseract | src/textord/tordmain.h | C++ | apache-2.0 | 1,308 |
// 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 ... | 2301_81045437/tesseract | src/textord/tospace.cpp | C++ | apache-2.0 | 66,853 |
/**********************************************************************
* File: tovars.cpp (Formerly to_vars.c)
* Description: Variables used by textord.
* Author: Ray Smith
* Created: Tue Aug 24 16:55:02 BST 1993
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Ver... | 2301_81045437/tesseract | src/textord/tovars.cpp | C++ | apache-2.0 | 3,152 |
/**********************************************************************
* File: tovars.h (Formerly to_vars.h)
* Description: Variables used by textord.
* Author: Ray Smith
* Created: Tue Aug 24 16:55:02 BST 1993
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Versi... | 2301_81045437/tesseract | src/textord/tovars.h | C++ | apache-2.0 | 2,430 |
/**********************************************************************
* File: underlin.cpp (Formerly undrline.c)
* Description: Code to chop blobs apart from underlines.
* Author: Ray Smith
*
* (C) Copyright 1994, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License"... | 2301_81045437/tesseract | src/textord/underlin.cpp | C++ | apache-2.0 | 9,872 |
/**********************************************************************
* File: underlin.h (Formerly undrline.h)
* Description: Code to chop blobs apart from underlines.
* Author: Ray Smith
*
* (C) Copyright 1994, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");... | 2301_81045437/tesseract | src/textord/underlin.h | C++ | apache-2.0 | 2,094 |
/**********************************************************************
* File: wordseg.cpp (Formerly wspace.c)
* Description: Code to segment the blobs into words.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** ... | 2301_81045437/tesseract | src/textord/wordseg.cpp | C++ | apache-2.0 | 20,258 |
/**********************************************************************
* File: wordseg.h (Formerly wspace.h)
* Description: Code to segment the blobs into words.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** yo... | 2301_81045437/tesseract | src/textord/wordseg.h | C++ | apache-2.0 | 2,755 |
///////////////////////////////////////////////////////////////////////
// File: workingpartset.cpp
// Description: Class to hold a working set of partitions of the page
// during construction of text/image regions.
// Author: Ray Smith
// Created: Tue Ocr 28 17:21:01 PDT 2008
//
// (C) Cop... | 2301_81045437/tesseract | src/textord/workingpartset.cpp | C++ | apache-2.0 | 6,024 |
///////////////////////////////////////////////////////////////////////
// File: workingpartset.h
// Description: Class to hold a working set of partitions of the page
// during construction of text/image regions.
// Author: Ray Smith
// Created: Tue Ocr 28 17:21:01 PDT 2008
//
// (C) Copyr... | 2301_81045437/tesseract | src/textord/workingpartset.h | C++ | apache-2.0 | 3,653 |
#
# tesseract
#
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.12.0")
cmake_policy(SET CMP0074 NEW)
endif()
if(UNIX AND NOT ANDROID)
set(LIB_pthread pthread)
endif()
if(SW_BUILD)
set(ICU_FOUND 1)
else() # NOT SW_BUILD
find_package(PkgConfig)
endif()
# experimental
# If PkgConfig is not present training tools will n... | 2301_81045437/tesseract | src/training/CMakeLists.txt | CMake | apache-2.0 | 15,486 |
///////////////////////////////////////////////////////////////////////
// File: ambiguous_words.cpp
// Description: A program that takes a text file with a list of words as
// input (one per line) and outputs a file with the words
// that were found in the dictionary followed by the wo... | 2301_81045437/tesseract | src/training/ambiguous_words.cpp | C++ | apache-2.0 | 3,081 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
// 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
// Un... | 2301_81045437/tesseract | src/training/classifier_tester.cpp | C++ | apache-2.0 | 5,189 |
/******************************************************************************
** Filename: cntraining.cpp
** Purpose: Generates a normproto and pffmtable.
** Author: Dan Johnson
** Revisment: Christy Russon
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Vers... | 2301_81045437/tesseract | src/training/cntraining.cpp | C++ | apache-2.0 | 9,022 |
// Copyright 2017 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
// Purpose: Program to generate a traineddata file that can be used to train an
// LSTM-based neural network model from a unicharset and an optional
// set of wordlists. Eliminates the need to run
// set... | 2301_81045437/tesseract | src/training/combine_lang_model.cpp | C++ | apache-2.0 | 4,217 |
///////////////////////////////////////////////////////////////////////
// File: combine_tessdata.cpp
// Description: Creates a unified traineddata file from several
// data files produced by the training process.
// Author: Daria Antonova
//
// (C) Copyright 2009, Google Inc.
// Licensed under... | 2301_81045437/tesseract | src/training/combine_tessdata.cpp | C++ | apache-2.0 | 10,784 |
// 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 ... | 2301_81045437/tesseract | src/training/common/commandlineflags.cpp | C++ | apache-2.0 | 10,925 |
/**********************************************************************
* File: commandlineflags.h
* Description: Header file for commandline flag parsing.
* Author: Ranjith Unnikrishnan
*
* (C) Copyright 2013, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may ... | 2301_81045437/tesseract | src/training/common/commandlineflags.h | C++ | apache-2.0 | 3,093 |
// Copyright 2008 Google Inc. All Rights Reserved.
// Author: scharron@google.com (Samuel Charron)
//
// 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/LICENS... | 2301_81045437/tesseract | src/training/common/commontraining.cpp | C++ | apache-2.0 | 27,221 |
// Copyright 2008 Google Inc. All Rights Reserved.
// Author: scharron@google.com (Samuel Charron)
//
// 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/LICENS... | 2301_81045437/tesseract | src/training/common/commontraining.h | C++ | apache-2.0 | 6,790 |
///////////////////////////////////////////////////////////////////////
// File: ctc.cpp
// Description: Slightly improved standard CTC to compute the targets.
// Author: Ray Smith
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use thi... | 2301_81045437/tesseract | src/training/common/ctc.cpp | C++ | apache-2.0 | 16,029 |
///////////////////////////////////////////////////////////////////////
// File: ctc.h
// Description: Slightly improved standard CTC to compute the targets.
// Author: Ray Smith
// Created: Wed Jul 13 15:17:06 PDT 2016
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache License, Version ... | 2301_81045437/tesseract | src/training/common/ctc.h | C++ | apache-2.0 | 5,761 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 2301_81045437/tesseract | src/training/common/errorcounter.cpp | C++ | apache-2.0 | 21,115 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 2301_81045437/tesseract | src/training/common/errorcounter.h | C++ | apache-2.0 | 10,439 |
#pragma once
#ifdef CMAKE_BUILD
# include <common_training_export.h>
#endif
| 2301_81045437/tesseract | src/training/common/export.h | C | apache-2.0 | 78 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: intfeaturedist.cpp
// Description: Fast set-difference-based feature distance calculator.
//
// Licensed under the Apache License, Version 2.0... | 2301_81045437/tesseract | src/training/common/intfeaturedist.cpp | C++ | apache-2.0 | 5,310 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: intfeaturedist.h
// Description: Fast set-difference-based feature distance calculator.
//
// Licensed under the Apache License, Version 2.0 (... | 2301_81045437/tesseract | src/training/common/intfeaturedist.h | C++ | apache-2.0 | 3,165 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: intfeaturemap.cpp
// Description: Encapsulation of IntFeatureSpace with IndexMapBiDi
// to provide a subspace mapping and fast fe... | 2301_81045437/tesseract | src/training/common/intfeaturemap.cpp | C++ | apache-2.0 | 9,227 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: intfeaturemap.h
// Description: Encapsulation of IntFeatureSpace with IndexMapBiDi
// to provide a subspace mapping and fast feat... | 2301_81045437/tesseract | src/training/common/intfeaturemap.h | C++ | apache-2.0 | 7,177 |
///////////////////////////////////////////////////////////////////////
// File: mastertrainer.cpp
// Description: Trainer to build the MasterClassifier.
// Author: Ray Smith
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | 2301_81045437/tesseract | src/training/common/mastertrainer.cpp | C++ | apache-2.0 | 39,890 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: mastertrainer.h
// Description: Trainer to build the MasterClassifier.
// Author: Ray Smith
//
// (C) Copyright 2010, Google Inc.
// Lice... | 2301_81045437/tesseract | src/training/common/mastertrainer.h | C++ | apache-2.0 | 12,765 |
///////////////////////////////////////////////////////////////////////
// File: networkbuilder.cpp
// Description: Class to parse the network description language and
// build a corresponding network.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache Licen... | 2301_81045437/tesseract | src/training/common/networkbuilder.cpp | C++ | apache-2.0 | 16,713 |
///////////////////////////////////////////////////////////////////////
// File: networkbuilder.h
// Description: Class to parse the network description language and
// build a corresponding network.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License... | 2301_81045437/tesseract | src/training/common/networkbuilder.h | C++ | apache-2.0 | 8,035 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 2301_81045437/tesseract | src/training/common/sampleiterator.cpp | C++ | apache-2.0 | 9,317 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 2301_81045437/tesseract | src/training/common/sampleiterator.h | C++ | apache-2.0 | 7,546 |