OcradModule.h

00001 # ifndef OcradModule_h
00002 # define OcradModule_h OcradModule_h
00003 
00004 // ####################################################################
00005 // # Conjecture: An Extensible Optical Character Recognition Framework  #
00006 // #                                                                  #
00007 // # Copyright: Lesser GNU Public License (LGPL)                      #
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 "OCRModule.h" // parent
00021 
00022 namespace Conjecture {
00023 
00024     /******************************************************************
00025      * \class OcradModule
00026      *
00027      * \brief A wrapper for the third-party open-source Ocrad OCR
00028      *
00029      * The current implementation of Ocrad is temporary - it invokes
00030      * 'ocrad' in a subprocess, thus delegating all responsiblity to
00031      * an external program and providing no access to the internals.
00032      *
00033      * An implementation that links the Ocrad library into Conjecture,
00034      * similar to what was done for Gocr, will be provided when
00035      * someone finds time to do so.
00036      *
00037      */// *************************************************************
00038     class OcradModule : public OCRModule {
00039       public:
00040         // Constructors/Destructors
00041         OcradModule();
00042         
00043         // **************
00044         // Interface
00045         virtual ProcessComponent*     createProcessComponent() const;
00046         virtual SegmentComponent*     createSegmentComponent() const;
00047         virtual IdentifyComponent*    createIdentifyComponent() const;
00048         virtual FormatComponent*      createFormatComponent() const;
00049     };
00050 }
00051 
00052 # endif // OcradModule_h
00053 

Generated on Wed Jun 14 15:08:02 2006 for Conjecture by  doxygen 1.4.6