| Author | 
                
                  Topic   | 
                  | 
              
              
                | 
                 cpstevenc 
                    
                 
                
                USA 
                125 Posts  | 
                
                  
                    
                      
                       Posted - Jul 09 2013 :  19:58:30
                        
                        
                      
  | 
                     
                    
                       I downloaded the OCR with Layout Demo and when I run the OCRwithLayout.exe and with the Engine of Cube or Accurate I get
  Access Violation at address 10396642 in module ievision.dll read of address 00000000
  running this on win7 64bit
  Running 'Fast' engine it works.
  | 
                     
                   
                 | 
              
              
                | 
                 cpstevenc 
                    
                 
                
                USA 
                125 Posts  | 
                
                  
                    
                      
                       Posted - Jul 09 2013 :  20:36:04
                        
                        
                      
  | 
                     
                    
                       Actually both OCR demos seem to AV error constanty. More complex image it flips out. It seems to work when its a pure black and white image. But any water marks or anything in the image, and no go city.
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 fab 
                     
                 
                
                1310 Posts  | 
                
                  
                    
                      
                       Posted - Jul 15 2013 :  03:36:59
                        
                        
                      
  | 
                     
                    
                      |  Please post a sample image that causes the AV. | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 nachbar 
                  
                 
                
                USA 
                17 Posts  | 
                
                  
                    
                      
                       Posted - Jan 19 2014 :  16:55:35
                        
                        
                      
  | 
                     
                    
                       I get an access violation using the C++ OCR demo when I use other than one of your demo OCR images.  I get the access violation, for example, when I load the test.png file from your Barcode demos.
  I have attached a screenshot of the access violation error message.
  I am using XE5 Update 2 on Windows 7 64 bit (but creating a 32 bit program).  I am using versions of ImageEn and IEVision that I just downloaded.  I did have to make two modifications of your sample code in order to get it to compile and link.  There were some old references to version 16 of some of the libraries in the .cbproj file, so I simply deleted those, and I had to change    IEVisionLib->createOCR("eng", ievOCRFAST, false, OCR); to    IEVisionLib()->createOCR("eng", ievOCRFAST, false, OCR);
  Otherwise, the demo app is not modified at all.
  Again, no access violation when loading the sample images you provide with the OCR demo, only when loading other images.
    
  Thanks!
  James Nachbar | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 xequte 
                      
                 
                
                39222 Posts  | 
                
                  
                 | 
              
              
                | 
                 nachbar 
                  
                 
                
                USA 
                17 Posts  | 
                
                  
                    
                      
                       Posted - Jan 31 2014 :  22:54:29
                        
                        
                      
  | 
                     
                    
                       That post does not say where the TESSDATA registry entries are, but I don't see any in HKCU/Software/Xequte .  Is there anywhere else I should be looking?
  James Nachbar | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 xequte 
                      
                 
                
                39222 Posts  | 
                
                  
                 | 
              
              
                | 
                 nachbar 
                  
                 
                
                USA 
                17 Posts  | 
                
                  
                    
                      
                       Posted - Feb 21 2014 :  21:18:47
                        
                        
                      
  | 
                     
                    
                       Because the post you referred me to says that the solution was deleting a key from the registry, but did not say exactly where that key was found.  That key was my best guess as to where I should be looking.
  In any case, the "Find" function of RegEdit did not find "TESSDATA" anywhere in the registry on this computer, so I don't think that is the problem.
  James Nachbar | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                |   | 
                
                  Topic   | 
                  |