TextPage.h

00001 # ifndef TextPage_h
00002 # define TextPage_h TextPage_h
00003 
00004 // ####################################################################
00005 // # Conjecture: An Extensible Optical Character Recognition Framework  #
00006 // #                                                                  #
00007 // # Copyright: GNU Public License                                    #
00008 // #                                                                  #
00009 // # Overview:                                                        #
00010 // #  - Conjecture is a collection of C++ classes, and an OCR engine    #
00011 // #  - Conjecture is designed to allow customization at all levels     #
00012 // #    and to encourage individuals to contribute incremental        #
00013 // #    improvements in algorithms.                                   #
00014 // #  - Overall design discussions can be found in                    #
00015 // #      $SNROOT/docs/doxygen/html/index.html                        #
00016 // #  - Conjecture is designed to interact with and build on other      #
00017 // #    open-source OCR programs.                                     #
00018 // ####################################################################
00019 
00020 # include <string>
00021 # include <vector>
00022 # include "Root.h"  // parent
00023 
00024 namespace Conjecture {
00025 
00026   // ##################################################################
00043   // ##################################################################
00044   class TextPage : public Root {
00045   public:
00046     // Types
00047     //   - should we move these typedefs out into the Conjecture namespace?
00048     //   - currently must qualify with TextPage::TextWord - cumbersome,
00049     //     but avoids namespace clutter.
00050     typedef std::string TextWord;
00051     typedef std::vector<TextWord> TextLine;
00052     typedef std::vector<TextLine> TextRegion;
00053 
00054     // Constructors/Destructors
00055     TextPage();
00056     TextPage(const std::string& file);
00057 
00058     // **************
00059     // Accessors
00060     
00061     // **************
00062     // Input/Output
00063     
00064     // **************
00065     // Miscellaneous
00066 
00067   protected:
00068     // **************
00069     // Accessors
00070     
00071     // **************
00072     // Methods 
00073     
00074   private: 
00075     // **************
00076     // Accessors
00077     
00078     // **************
00079     // Methods 
00080 
00081     // **************
00082     // State
00083   };
00084 }
00085 
00086 # endif // TextPage_h
00087 

Generated on Mon Jun 12 20:27:15 2006 for Conjecture by  doxygen 1.4.6