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: pdf_ttf.h
// Description: pdf.ttf (GlyphLessFont) replacement.
// Generated with: "bin2cpp pdf.ttf pdf_ttf cpp17"
// Author: Zdenko Podobny
//
// (C) Copyright 2020, Google Inc.
// Licensed under the Apache License... | 2301_81045437/tesseract | src/api/pdf_ttf.h | C++ | apache-2.0 | 4,580 |
///////////////////////////////////////////////////////////////////////
// File: pdfrenderer.cpp
// Description: PDF rendering interface to inject into TessBaseAPI
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 2301_81045437/tesseract | src/api/pdfrenderer.cpp | C++ | apache-2.0 | 33,183 |
///////////////////////////////////////////////////////////////////////
// File: renderer.cpp
// Description: Rendering interface to inject into TessBaseAPI
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | 2301_81045437/tesseract | src/api/renderer.cpp | C++ | apache-2.0 | 6,615 |
/**********************************************************************
* File: wordstrboxrenderer.cpp
* Description: Renderer for creating box file with WordStr strings.
* based on the tsv renderer.
*
* (C) Copyright 2019, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "Li... | 2301_81045437/tesseract | src/api/wordstrboxrenderer.cpp | C++ | apache-2.0 | 4,082 |
///////////////////////////////////////////////////////////////////////
// File: dotproduct.cpp
// Description: Native dot product function.
//
// (C) Copyright 2018, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.... | 2301_81045437/tesseract | src/arch/dotproduct.cpp | C++ | apache-2.0 | 1,203 |
///////////////////////////////////////////////////////////////////////
// File: dotproduct.h
// Description: Native dot product function.
//
// (C) Copyright 2018, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
/... | 2301_81045437/tesseract | src/arch/dotproduct.h | C++ | apache-2.0 | 1,689 |
///////////////////////////////////////////////////////////////////////
// File: dotproductavx.cpp
// Description: Architecture-specific dot-product function.
// Author: Ray Smith
//
// (C) Copyright 2015, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this... | 2301_81045437/tesseract | src/arch/dotproductavx.cpp | C++ | apache-2.0 | 2,682 |
///////////////////////////////////////////////////////////////////////
// File: dotproductavx512.cpp
// Description: Architecture-specific dot-product function.
// Author: Stefan Weil
//
// (C) Copyright 2022
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ex... | 2301_81045437/tesseract | src/arch/dotproductavx512.cpp | C++ | apache-2.0 | 2,202 |
///////////////////////////////////////////////////////////////////////
// File: dotproductfma.cpp
// Description: Architecture-specific dot-product function.
// Author: Stefan Weil
//
// (C) Copyright 2015, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use th... | 2301_81045437/tesseract | src/arch/dotproductfma.cpp | C++ | apache-2.0 | 2,808 |
///////////////////////////////////////////////////////////////////////
// File: dotproductneon.cpp
// Description: Dot product function for ARM NEON.
// Author: Stefan Weil
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... | 2301_81045437/tesseract | src/arch/dotproductneon.cpp | C++ | apache-2.0 | 2,092 |
///////////////////////////////////////////////////////////////////////
// File: dotproductsse.cpp
// Description: Architecture-specific dot-product function.
// Author: Ray Smith
//
// (C) Copyright 2015, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this... | 2301_81045437/tesseract | src/arch/dotproductsse.cpp | C++ | apache-2.0 | 4,762 |
///////////////////////////////////////////////////////////////////////
// File: intsimdmatrix.cpp
// Description: Base class for 8-bit int SIMD matrix multipliers.
// Author: Ray Smith
//
// (C) Copyright 2017, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | 2301_81045437/tesseract | src/arch/intsimdmatrix.cpp | C++ | apache-2.0 | 4,895 |
///////////////////////////////////////////////////////////////////////
// File: intsimdmatrix.h
// Description: Base class for 8-bit int SIMD matrix multipliers.
// Author: Ray Smith
//
// (C) Copyright 2017, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | 2301_81045437/tesseract | src/arch/intsimdmatrix.h | C++ | apache-2.0 | 5,912 |
///////////////////////////////////////////////////////////////////////
// File: intsimdmatrixavx2.cpp
// Description: matrix-vector product for 8-bit data on avx2.
// Author: Ray Smith
//
// (C) Copyright 2017, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | 2301_81045437/tesseract | src/arch/intsimdmatrixavx2.cpp | C++ | apache-2.0 | 28,226 |
///////////////////////////////////////////////////////////////////////
// File: intsimdmatrixneon.cpp
// Description: matrix-vector product for 8-bit data on neon.
// Author: Robin Watts (from the AVX2 original by Ray Smith)
//
// (C) Copyright 2017, Google Inc.
// (C) Copyright 2020, Artifex Software Inc.... | 2301_81045437/tesseract | src/arch/intsimdmatrixneon.cpp | C++ | apache-2.0 | 10,754 |
///////////////////////////////////////////////////////////////////////
// File: intsindmatrixsse.cpp
// Description: SSE implementation of 8-bit int SIMD matrix multiply.
// Author: Ray Smith
//
// (C) Copyright 2017, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may... | 2301_81045437/tesseract | src/arch/intsimdmatrixsse.cpp | C++ | apache-2.0 | 3,888 |
///////////////////////////////////////////////////////////////////////
// File: simddetect.cpp
// Description: Architecture detector.
// Author: Stefan Weil (based on code from Ray Smith)
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | 2301_81045437/tesseract | src/arch/simddetect.cpp | C++ | apache-2.0 | 11,714 |
///////////////////////////////////////////////////////////////////////
// File: simddetect.h
// Description: Architecture detector.
// Author: Stefan Weil (based on code from Ray Smith)
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not u... | 2301_81045437/tesseract | src/arch/simddetect.h | C++ | apache-2.0 | 3,400 |
/**********************************************************************
* File: adaptions.cpp (Formerly adaptions.c)
* Description: Functions used to adapt to blobs already confidently
* identified
* Author: Chris Newton
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the... | 2301_81045437/tesseract | src/ccmain/adaptions.cpp | C++ | apache-2.0 | 3,439 |
/**********************************************************************
* File: applybox.cpp (Formerly applybox.c)
* Description: Re segment rows according to box file data
* Author: Phil Cheatle
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Lice... | 2301_81045437/tesseract | src/ccmain/applybox.cpp | C++ | apache-2.0 | 32,874 |
/******************************************************************
* File: control.cpp (Formerly control.c)
* Description: Module-independent matcher controller.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** yo... | 2301_81045437/tesseract | src/ccmain/control.cpp | C++ | apache-2.0 | 78,658 |
/**********************************************************************
* File: control.h (Formerly control.h)
* Description: Module-independent matcher controller.
* Author: Ray Smith
* Created: Thu Apr 23 11:09:58 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apac... | 2301_81045437/tesseract | src/ccmain/control.h | C | apache-2.0 | 1,295 |
/******************************************************************
* File: docqual.cpp (Formerly docqual.c)
* Description: Document Quality Metrics
* Author: Phil Cheatle
*
* (C) Copyright 1994, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not u... | 2301_81045437/tesseract | src/ccmain/docqual.cpp | C++ | apache-2.0 | 32,627 |
/******************************************************************
* File: docqual.h (Formerly docqual.h)
* Description: Document Quality Metrics
* Author: Phil Cheatle
*
* (C) Copyright 1994, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use... | 2301_81045437/tesseract | src/ccmain/docqual.h | C++ | apache-2.0 | 1,200 |
///////////////////////////////////////////////////////////////////////
// File: equationdetect.cpp
// Description: Helper classes to detect equations.
// Author: Zongyi (Joe) Liu (joeliu@google.com)
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// ... | 2301_81045437/tesseract | src/ccmain/equationdetect.cpp | C++ | apache-2.0 | 52,054 |
///////////////////////////////////////////////////////////////////////
// File: equationdetect.h
// Description: The equation detection class that inherits equationdetectbase.
// Author: Zongyi (Joe) Liu (joeliu@google.com)
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version... | 2301_81045437/tesseract | src/ccmain/equationdetect.h | C++ | apache-2.0 | 10,959 |
/******************************************************************
* File: fixspace.cpp (Formerly fixspace.c)
* Description: Implements a pass over the page res, exploring the alternative
* spacing possibilities, trying to use context to improve the
* word spacing
* Author: ... | 2301_81045437/tesseract | src/ccmain/fixspace.cpp | C++ | apache-2.0 | 30,142 |
/******************************************************************
* File: fixspace.h (Formerly fixspace.h)
* Description: Implements a pass over the page res, exploring the alternative
* spacing possibilities, trying to use context to improve the
* word spacing
* Author: Ph... | 2301_81045437/tesseract | src/ccmain/fixspace.h | C++ | apache-2.0 | 1,348 |
/**********************************************************************
* File: fixxht.cpp (Formerly fixxht.c)
* Description: Improve x_ht and look out for case inconsistencies
* Author: Phil Cheatle
* Created: Thu Aug 5 14:11:08 BST 1993
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed... | 2301_81045437/tesseract | src/ccmain/fixxht.cpp | C++ | apache-2.0 | 10,202 |
///////////////////////////////////////////////////////////////////////
// File: linerec.cpp
// Description: Top-level line-based recognition module for Tesseract.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use... | 2301_81045437/tesseract | src/ccmain/linerec.cpp | C++ | apache-2.0 | 12,441 |
///////////////////////////////////////////////////////////////////////
// File: ltrresultiterator.cpp
// Description: Iterator for tesseract results in strict left-to-right
// order that avoids using tesseract internal data structures.
// Author: Ray Smith
//
// (C) Copyright 2010, Google Inc.... | 2301_81045437/tesseract | src/ccmain/ltrresultiterator.cpp | C++ | apache-2.0 | 17,724 |
///////////////////////////////////////////////////////////////////////
//
// 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... | 2301_81045437/tesseract | src/ccmain/mutableiterator.cpp | C++ | apache-2.0 | 958 |
///////////////////////////////////////////////////////////////////////
// File: mutableiterator.h
// Description: Iterator for tesseract results providing access to
// both high-level API and Tesseract internal data structures.
// Author: David Eger
//
// (C) Copyright 2011, Google Inc.
// Lic... | 2301_81045437/tesseract | src/ccmain/mutableiterator.h | C++ | apache-2.0 | 2,623 |
///////////////////////////////////////////////////////////////////////
// File: osdetect.cpp
// Description: Orientation and script detection.
// Author: Samuel Charron
// Ranjith Unnikrishnan
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/ccmain/osdetect.cpp | C++ | apache-2.0 | 20,045 |
/******************************************************************
* File: output.cpp (Formerly output.c)
* Description: Output pass
* Author: Phil Cheatle
*
* (C) Copyright 1994, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file ex... | 2301_81045437/tesseract | src/ccmain/output.cpp | C++ | apache-2.0 | 14,775 |
/******************************************************************
* File: output.h (Formerly output.h)
* Description: Output pass
* Author: Phil Cheatle
* Created: Thu Aug 4 10:56:08 BST 1994
*
* (C) Copyright 1994, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "... | 2301_81045437/tesseract | src/ccmain/output.h | C++ | apache-2.0 | 1,295 |
///////////////////////////////////////////////////////////////////////
// File: pageiterator.cpp
// Description: Iterator for tesseract page structure that avoids using
// tesseract internal data structures.
// Author: Ray Smith
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apach... | 2301_81045437/tesseract | src/ccmain/pageiterator.cpp | C++ | apache-2.0 | 25,170 |
/**********************************************************************
* File: pagesegmain.cpp
* Description: Top-level page segmenter for Tesseract.
* Author: Ray Smith
*
* (C) Copyright 2008, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this fil... | 2301_81045437/tesseract | src/ccmain/pagesegmain.cpp | C++ | apache-2.0 | 16,444 |
/**********************************************************************
* File: pagewalk.cpp (Formerly walkers.c)
* Description: Block list processors
* Author: Phil Cheatle
* Created: Thu Oct 10 16:25:24 BST 1991
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License,... | 2301_81045437/tesseract | src/ccmain/pagewalk.cpp | C++ | apache-2.0 | 1,642 |
///////////////////////////////////////////////////////////////////////
// File: par_control.cpp
// Description: Control code for parallel implementation.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fil... | 2301_81045437/tesseract | src/ccmain/par_control.cpp | C++ | apache-2.0 | 2,420 |
/**********************************************************************
* File: paragraphs.cpp
* Description: Paragraph detection for tesseract.
* Author: David Eger
*
* (C) Copyright 2011, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file exc... | 2301_81045437/tesseract | src/ccmain/paragraphs.cpp | C++ | apache-2.0 | 96,322 |
/**********************************************************************
* File: paragraphs.h
* Description: Paragraph Detection data structures.
* Author: David Eger
* Created: 25 February 2011
*
* (C) Copyright 2011, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
... | 2301_81045437/tesseract | src/ccmain/paragraphs.h | C++ | apache-2.0 | 4,412 |
/**********************************************************************
* File: paragraphs_internal.h
* Description: Paragraph Detection internal data structures.
* Author: David Eger
*
* (C) Copyright 2011, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not... | 2301_81045437/tesseract | src/ccmain/paragraphs_internal.h | C++ | apache-2.0 | 12,295 |
///////////////////////////////////////////////////////////////////////
// File: paramsd.cpp
// Description: Tesseract parameter Editor
// Author: Joern Wanke
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 2301_81045437/tesseract | src/ccmain/paramsd.cpp | C++ | apache-2.0 | 11,563 |
///////////////////////////////////////////////////////////////////////
// File: paramsd.h
// Description: Tesseract parameter editor
// Author: Joern Wanke
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complia... | 2301_81045437/tesseract | src/ccmain/paramsd.h | C++ | apache-2.0 | 4,556 |
/**********************************************************************
* File: pgedit.cpp (Formerly pgeditor.c)
* Description: Page structure file editor
* Author: Phil Cheatle
*
*(C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0(the "License");
** you may no... | 2301_81045437/tesseract | src/ccmain/pgedit.cpp | C++ | apache-2.0 | 30,805 |
///////////////////////////////////////////////////////////////////////
// File: pgedit.h
// Description: Page structure file editor
// Author: Joern Wanke
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complian... | 2301_81045437/tesseract | src/ccmain/pgedit.h | C++ | apache-2.0 | 1,902 |
///////////////////////////////////////////////////////////////////////
// File: recogtraining.cpp
// Description: Functions for ambiguity and parameter training.
// Author: Daria Antonova
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | 2301_81045437/tesseract | src/ccmain/recogtraining.cpp | C++ | apache-2.0 | 8,863 |
/**********************************************************************
* File: reject.cpp (Formerly reject.c)
* Description: Rejection functions used in tessedit
* Author: Phil Cheatle
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
**... | 2301_81045437/tesseract | src/ccmain/reject.cpp | C++ | apache-2.0 | 28,645 |
/**********************************************************************
* File: reject.h
* Description: Rejection functions used in tessedit
* Author: Phil Cheatle
* Created: Wed Sep 23 16:50:21 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.... | 2301_81045437/tesseract | src/ccmain/reject.h | C++ | apache-2.0 | 1,384 |
///////////////////////////////////////////////////////////////////////
// File: resultiterator.cpp
// Description: Iterator for tesseract results that is capable of
// iterating in proper reading order over Bi Directional
// (e.g. mixed Hebrew and English) text.
// Author: David E... | 2301_81045437/tesseract | src/ccmain/resultiterator.cpp | C++ | apache-2.0 | 25,626 |
/******************************************************************
* File: superscript.cpp
* Description: Correction pass to fix superscripts and subscripts.
* Author: David Eger
*
* (C) Copyright 2012, Google, Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not us... | 2301_81045437/tesseract | src/ccmain/superscript.cpp | C++ | apache-2.0 | 23,763 |
/**********************************************************************
* File: tessbox.cpp (Formerly tessbox.c)
* Description: Black boxed Tess for developing a resaljet.
* Author: Ray Smith
* Created: Thu Apr 23 11:03:36 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under t... | 2301_81045437/tesseract | src/ccmain/tessbox.cpp | C++ | apache-2.0 | 2,310 |
/**********************************************************************
* File: tessedit.cpp (Formerly tessedit.c)
* Description: (Previously) Main program for merge of tess and editor.
* Now just code to load the language model and various
* engine-specific data files.
* Author: ... | 2301_81045437/tesseract | src/ccmain/tessedit.cpp | C++ | apache-2.0 | 18,553 |
///////////////////////////////////////////////////////////////////////
// File: tesseractclass.cpp
// Description: The Tesseract class. It holds/owns everything needed
// to run Tesseract on a single language, and also a set of
// sub-Tesseracts to run sub-languages. For thread safety,... | 2301_81045437/tesseract | src/ccmain/tesseractclass.cpp | C++ | apache-2.0 | 36,541 |
///////////////////////////////////////////////////////////////////////
// File: tesseractclass.h
// Description: The Tesseract class. It holds/owns everything needed
// to run Tesseract on a single language, and also a set of
// sub-Tesseracts to run sub-languages. For thread safety, *... | 2301_81045437/tesseract | src/ccmain/tesseractclass.h | C++ | apache-2.0 | 48,760 |
/**********************************************************************
* File: tessvars.cpp (Formerly tessvars.c)
* Description: Variables and other globals for tessedit.
* Author: Ray Smith
* Created: Mon Apr 13 13:13:23 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under t... | 2301_81045437/tesseract | src/ccmain/tessvars.cpp | C++ | apache-2.0 | 1,024 |
/**********************************************************************
* File: tessvars.h (Formerly tessvars.h)
* Description: Variables and other globals for tessedit.
* Author: Ray Smith
* Created: Mon Apr 13 13:13:23 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the... | 2301_81045437/tesseract | src/ccmain/tessvars.h | C | apache-2.0 | 1,044 |
/**********************************************************************
* File: tfacepp.cpp (Formerly tface++.c)
* Description: C++ side of the C/C++ Tess/Editor interface.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/ccmain/tfacepp.cpp | C++ | apache-2.0 | 12,691 |
///////////////////////////////////////////////////////////////////////
// File: thresholder.cpp
// Description: Base API for thresholding images in tesseract.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use thi... | 2301_81045437/tesseract | src/ccmain/thresholder.cpp | C++ | apache-2.0 | 14,838 |
///////////////////////////////////////////////////////////////////////
// File: thresholder.h
// Description: Base API for thresholding images in tesseract.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | 2301_81045437/tesseract | src/ccmain/thresholder.h | C++ | apache-2.0 | 8,012 |
/**********************************************************************
* File: werdit.cpp (Formerly wordit.c)
* Description: An iterator for passing over all the words in a document.
* Author: Ray Smith
* Created: Mon Apr 27 08:51:22 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Lice... | 2301_81045437/tesseract | src/ccmain/werdit.cpp | C++ | apache-2.0 | 2,763 |
/**********************************************************************
* File: wordit.h
* Description: An iterator for passing over all the words in a document.
* Author: Ray Smith
* Created: Mon Apr 27 08:51:22 BST 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache L... | 2301_81045437/tesseract | src/ccmain/werdit.h | C++ | apache-2.0 | 1,157 |
///////////////////////////////////////////////////////////////////////
// File: blamer.cpp
// Description: Module allowing precise error causes to be allocated.
// Author: Rike Antonova
// Refactored: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "L... | 2301_81045437/tesseract | src/ccstruct/blamer.cpp | C++ | apache-2.0 | 24,613 |
///////////////////////////////////////////////////////////////////////
// File: blamer.h
// Description: Module allowing precise error causes to be allocated.
// Author: Rike Antonova
// Refactored: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Lic... | 2301_81045437/tesseract | src/ccstruct/blamer.h | C++ | apache-2.0 | 14,995 |
/**********************************************************************
* File: blobbox.cpp (Formerly blobnbox.c)
* Description: Code for the textord blob class.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you... | 2301_81045437/tesseract | src/ccstruct/blobbox.cpp | C++ | apache-2.0 | 37,440 |
/**********************************************************************
* File: blobbox.h (Formerly blobnbox.h)
* Description: Code for the textord blob class.
* 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/ccstruct/blobbox.h | C++ | apache-2.0 | 29,577 |
/******************************************************************************
*
* File: blobs.cpp (Formerly blobs.c)
* Description: Blob definition
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1989, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "Lice... | 2301_81045437/tesseract | src/ccstruct/blobs.cpp | C++ | apache-2.0 | 37,217 |
/******************************************************************************
*
* File: blobs.h
* Description: Blob definition
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1989, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not us... | 2301_81045437/tesseract | src/ccstruct/blobs.h | C++ | apache-2.0 | 16,444 |
/**********************************************************************
* File: blread.cpp (Formerly pdread.c)
* Description: Friend function of BLOCK to read the uscan pd file.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Li... | 2301_81045437/tesseract | src/ccstruct/blread.cpp | C++ | apache-2.0 | 2,618 |
/**********************************************************************
* File: blread.h (Formerly pdread.h)
* Description: Friend function of BLOCK to read the uscan pd file.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Lice... | 2301_81045437/tesseract | src/ccstruct/blread.h | C++ | apache-2.0 | 1,342 |
/**********************************************************************
* File: boxread.cpp
* Description: Read data from a box file.
* Author: Ray Smith
*
* (C) Copyright 2007, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compl... | 2301_81045437/tesseract | src/ccstruct/boxread.cpp | C++ | apache-2.0 | 10,691 |
/**********************************************************************
* File: boxread.h
* Description: Read data from a box file.
* Author: Ray Smith
*
* (C) Copyright 2007, Google Inc.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in complia... | 2301_81045437/tesseract | src/ccstruct/boxread.h | C++ | apache-2.0 | 4,009 |
///////////////////////////////////////////////////////////////////////
// File: boxword.cpp
// Description: Class to represent the bounding boxes of the output.
// Author: Ray Smith
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use t... | 2301_81045437/tesseract | src/ccstruct/boxword.cpp | C++ | apache-2.0 | 6,732 |
///////////////////////////////////////////////////////////////////////
// File: boxword.h
// Description: Class to represent the bounding boxes of the output.
// Author: Ray Smith
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use thi... | 2301_81045437/tesseract | src/ccstruct/boxword.h | C++ | apache-2.0 | 3,124 |
///////////////////////////////////////////////////////////////////////
// File: ccstruct.cpp
// Description: ccstruct class.
// Author: Samuel Charron
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | 2301_81045437/tesseract | src/ccstruct/ccstruct.cpp | C++ | apache-2.0 | 1,286 |
///////////////////////////////////////////////////////////////////////
// File: ccstruct.h
// Description: ccstruct class.
// Author: Samuel Charron
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... | 2301_81045437/tesseract | src/ccstruct/ccstruct.h | C++ | apache-2.0 | 1,521 |
/**********************************************************************
* File: coutln.cpp (Formerly coutline.c)
* Description: Code for the C_OUTLINE class.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may... | 2301_81045437/tesseract | src/ccstruct/coutln.cpp | C++ | apache-2.0 | 35,127 |
/**********************************************************************
* File: coutln.h
* Description: Code for the C_OUTLINE class.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except... | 2301_81045437/tesseract | src/ccstruct/coutln.h | C++ | apache-2.0 | 11,392 |
/**********************************************************************
* File: crakedge.h (Formerly: crkedge.h)
* Description: Structures for the Crack following edge detector.
* Author: Ray Smith
* Created: Fri Mar 22 16:06:38 GMT 1991
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licens... | 2301_81045437/tesseract | src/ccstruct/crakedge.h | C++ | apache-2.0 | 1,323 |
#ifndef TESSERACT_CCSTRUCT_DEBUGPIXA_H_
#define TESSERACT_CCSTRUCT_DEBUGPIXA_H_
#include "image.h"
#include <allheaders.h>
namespace tesseract {
// Class to hold a Pixa collection of debug images with captions and save them
// to a PDF file.
class DebugPixa {
public:
// TODO(rays) add another constructor with siz... | 2301_81045437/tesseract | src/ccstruct/debugpixa.h | C++ | apache-2.0 | 1,569 |
///////////////////////////////////////////////////////////////////////
// File: detlinefit.cpp
// Description: Deterministic least median squares line fitting.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use th... | 2301_81045437/tesseract | src/ccstruct/detlinefit.cpp | C++ | apache-2.0 | 11,298 |
///////////////////////////////////////////////////////////////////////
// File: detlinefit.h
// Description: Deterministic least upper-quartile squares line fitting.
// 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/ccstruct/detlinefit.h | C++ | apache-2.0 | 7,657 |
/**********************************************************************
* File: dppoint.cpp
* Description: Simple generic dynamic programming class.
* Author: Ray Smith
* Created: Wed Mar 25 19:08:01 PDT 2009
*
* (C) Copyright 2009, Google Inc.
** Licensed under the Apache License, Version 2.0 (t... | 2301_81045437/tesseract | src/ccstruct/dppoint.cpp | C++ | apache-2.0 | 3,674 |
/**********************************************************************
* File: dppoint.h
* Description: Simple generic dynamic programming class.
* Author: Ray Smith
* Created: Wed Mar 25 18:57:01 PDT 2009
*
* (C) Copyright 2009, Google Inc.
** Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/ccstruct/dppoint.h | C++ | apache-2.0 | 3,920 |
///////////////////////////////////////////////////////////////////////
// File: fontinfo.cpp
// Description: Font information classes abstracted from intproto.h/cpp.
// Author: rays@google.com (Ray Smith)
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License"... | 2301_81045437/tesseract | src/ccstruct/fontinfo.cpp | C++ | apache-2.0 | 7,153 |
///////////////////////////////////////////////////////////////////////
// File: fontinfo.h
// Description: Font information classes abstracted from intproto.h/cpp.
// Author: rays@google.com (Ray Smith)
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");... | 2301_81045437/tesseract | src/ccstruct/fontinfo.h | C++ | apache-2.0 | 7,454 |
///////////////////////////////////////////////////////////////////////
// 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 ap... | 2301_81045437/tesseract | src/ccstruct/image.cpp | C++ | apache-2.0 | 1,478 |
///////////////////////////////////////////////////////////////////////
// File: image.h
// Description: Image wrapper.
//
// 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://ww... | 2301_81045437/tesseract | src/ccstruct/image.h | C++ | apache-2.0 | 1,689 |
///////////////////////////////////////////////////////////////////////
// File: imagedata.cpp
// Description: Class to hold information about a single multi-page tiff
// training file and its corresponding boxes or text file.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licens... | 2301_81045437/tesseract | src/ccstruct/imagedata.cpp | C++ | apache-2.0 | 25,911 |
///////////////////////////////////////////////////////////////////////
// File: imagedata.h
// Description: Class to hold information about a single image and its
// corresponding boxes or text file.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache Licens... | 2301_81045437/tesseract | src/ccstruct/imagedata.h | C++ | apache-2.0 | 13,884 |
/**********************************************************************
* File: linlsq.cpp (Formerly llsq.c)
* Description: Linear Least squares fitting code.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you ma... | 2301_81045437/tesseract | src/ccstruct/linlsq.cpp | C++ | apache-2.0 | 9,472 |
/**********************************************************************
* File: linlsq.h (Formerly llsq.h)
* Description: Linear Least squares fitting code.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may ... | 2301_81045437/tesseract | src/ccstruct/linlsq.h | C++ | apache-2.0 | 4,875 |
/******************************************************************************
*
* File: matrix.cpp (Formerly matrix.c)
* Description: Ratings matrix code. (Used by associator)
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1990, Hewlett-Packard Company.
** Licensed under the Apache Lic... | 2301_81045437/tesseract | src/ccstruct/matrix.cpp | C++ | apache-2.0 | 5,730 |
/******************************************************************************
* File: matrix.h
* Description: Generic 2-d array/matrix and banded triangular matrix class.
* Author: Ray Smith
* TODO(rays) Separate from ratings matrix, which it also contains:
*
* Description: Ratings matrix class ... | 2301_81045437/tesseract | src/ccstruct/matrix.h | C++ | apache-2.0 | 23,841 |
/**********************************************************************
* File: mod128.cpp (Formerly dir128.c)
* Description: Code to convert a DIR128 to an ICOORD.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** ... | 2301_81045437/tesseract | src/ccstruct/mod128.cpp | C++ | apache-2.0 | 3,372 |
/**********************************************************************
* File: mod128.h (Formerly dir128.h)
* Description: Header for class which implements modulo arithmetic.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Lic... | 2301_81045437/tesseract | src/ccstruct/mod128.h | C++ | apache-2.0 | 2,488 |
/**********************************************************************
* File: normalis.cpp (Formerly denorm.c)
* Description: Code for the DENORM class.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may no... | 2301_81045437/tesseract | src/ccstruct/normalis.cpp | C++ | apache-2.0 | 21,251 |
/**********************************************************************
* File: normalis.h (Formerly denorm.h)
* Description: Code for the DENORM class.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not ... | 2301_81045437/tesseract | src/ccstruct/normalis.h | C++ | apache-2.0 | 14,246 |
/**********************************************************************
* File: ocrblock.cpp (Formerly block.c)
* Description: BLOCK member functions and iterator functions.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "Licens... | 2301_81045437/tesseract | src/ccstruct/ocrblock.cpp | C++ | apache-2.0 | 18,197 |