On Tuesday, April 25, 2023 at 8:30:53 AM UTC-4 Scaly Green Orc wrote:

Yes, it's a regular PDF. But most (not always all) of the text is borked. 
Try to copy/paste text from it and you'll see. I looked around for 
solutions to salvage it, and it seemed like OCR was what was most 
consistently recommended in such cases. I need to treat a stack of these 
programmatically.


Although cut & paste in the browser (and Acrobat Reader) doesn't work, 
here's the beginning of what gets extracted by pdftotext -layout


                       APPROCHE A VUE                                       
         Transport public à la demande                                 
 ANNONAY
                                                                            
         Common carriage on request
                       Visual approach                                     
                                                          Centre 
hospitalier/Hospital
                                                                            
                     16 JUN 22
                                                                            
                                                                      AD 3 
APP 01
                                                                            
                                                     ALT : 1364 (49 hPa)
                                                                            
                                                     LAT : 45 14 30 N       
        VAR : 2° E (20)
                                                                            
                                                     LONG : 004 39 57 E

                       FIS : LYON Info 135.525                             
                                                                   EN 
TERRASSE / TERRACED

                       COM : TROPHUS 3/TRAVIATA 3 : 85.575
                                                                            
               vers/to St Etienne

 which seems like it could be enough to work with. The full text file is 
attached.

Tom


-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/5fb7dd51-bd89-4ebd-acb9-3821d4970363n%40googlegroups.com.
                       APPROCHE A VUE                                           
     Transport public à la demande                                  ANNONAY
                                                                                
     Common carriage on request
                       Visual approach                                          
                                                     Centre hospitalier/Hospital
                                                                                
                 16 JUN 22
                                                                                
                                                                  AD 3 APP 01
                                                                                
                                                 ALT : 1364 (49 hPa)
                                                                                
                                                 LAT : 45 14 30 N               
VAR : 2° E (20)
                                                                                
                                                 LONG : 004 39 57 E

                       FIS : LYON Info 135.525                                  
                                                              EN TERRASSE / 
TERRACED

                       COM : TROPHUS 3/TRAVIATA 3 : 85.575
                                                                                
           vers/to St Etienne
                                                                                
                                                                                
     1361




                                                                                
                                   ° 21 2
                                                                                
                                       NM
                                                                                
                                204 E 108.
                                                      Cen 34° 15
                                                      ST tre hos NM



                              2034




                                                                                
                                                                                
                  vers/to N 82
                                                                                
                 6
                                                         CHA pita
                                                         3




                                                                                
             D 20




                                                                                
                                  VN
                                                              MO lier




                                                                               
Usine
                                                                 ND




                                                Beauregard                      
                                                                                
        la
                                                                                
                                                                                
    Lombardière
                             45°
                             15'
                                                                                
       Bel-Air              Lycée
                                                      1617
                                                                                
                                             e
                                                                                
SECTEUR INTERDIT                         um
                                            SIV LYON                           
PROHIBITED SECTOR                       De
                                                                                
                        0°
                                                                             
340°




                                                                                
                     04



                                                                                
   Font
                                                                                
 Chevalier                                                Montalivet    1316
                                                                                
                                                                              
ST RAMBERT
                                                                                
                                                                                
081° 7 NM
                                                                                
                     ANNONAY                                                    
          1283
                                               086°                     266°
                                   D 12
                                       1                                        
                 102°                                                           
        les
                                                                                
                                 282°
vers/to St Bonnet le Froid




                                           Y                                    
                                                                                
      Grailles
                                    LE PU NM
                                          0                                     
                                                                                
      D 370
                                   254° 4                                       
                                1063

                                     72                                 ce
                                PY 3 9 NM                           Ca
                                                                       n
                                    3
                               068°
                                                               la




                                                                                
                                                                    Lachaud
                                                  ALT / HGT : ft
                                                  ALT                           
                                                                   de Vissenty
                                     1512
                                                                                
          les
                             45°            0                       500 m       
         Aygas
                             14'
                                                                                
                           Cen151° 2




                                                                                
                                                             Vissenty
                                                                                
                             VAL osp M
                                                                                
                              tre 2 N




                                                  le
                                                                                
                                 EN italie

                                                                                
                                                  D 27
                                                                                
                                  h
                                                                                
                                    331




                                               Chaumel
                                                                                
                                    CE r
                                                                                
                                     VE 27 NM




                                                                                
                                                      0
                                                                                
                                        °
                                                                                
                                         320




                                                                                
    004° 40'                                                       004° 41'
                                                                                
                                    vers/to Lamastie
                         CONSIGNES PARTICULIERES / SPECIAL INSTRUCTIONS :

                         Utilisation de nuit /Night use : oui/yes
                         Utilisation en IFR /IFR use : non/no




                                                                                
AMDT 07/22 CHG : Suppression NDB BO.                                            
            © SIA
ANNONAY                                                                        
              ATTERRISSAGE A VUE
Centre hospitalier/Hospital                                                     
                     Visual landing
AD 3 ATT 01                                                 12 AUG 21

                                          TROUEE INTERDITE




                                                                          0°
                                          PROHIBITED FUNNEL




                                                                       04
                                  340
                                                         RU                     
                   PLACE
                                                            E
                                                                      ST

                                      °
                                                                           PR   
                 DU CHAMP
                                                   1368                       
IX                  DE MARS
  1403                                             (10) 1273                    
   BA
                                                                                
      RO
                                                                                
         U
                                                1345

     086°                  266°     282°
                                  1260                 102°
                                                                                
                              PLACE
                                                                                
                            ST MICHEL
                                         1345                  1230             
                                            Ecole
                                                                                
                     282°                 St Michel




                                                                                
             E
                                                                                
           GU
                                                                                
        VO
                                                                                
   DE

                                                                                
                             Musée
                                                                                
                                                Eglise
                                                                                
                                                Notre-
                                                                             R



                                                                                
                                                Dame
                                                                           IO
                                                                     LCH
                                                                  ME




                                                                                
                                             PLACE
                                                              E




                                                                                
                                           DES FORGES
                                                           RU




     N


                                            PLACE                               
                  Hotel                     PLACE
          ALT / HGT : ft                    ALSACE                              
                 de Ville               DE LA POTERNE
                                           LORRAINE




                                                                                
                                                      N
 Feux verts omnidirectionnels
                                                                                
     1273
 Green omnidirectional lights



                                                                      Escalier 
de secours
                                                                       
Emergency stairs

                                                                                
                              FATO / TLOF : 20 x 20 m.
                                                                                
                                   ALT / HGT : ft
                                            1345
1 - Exploitant / Operator :                                                  6 
- Hangars disponibles / Hangars available : NIL
    Centre hospitalier d’ANNONAY     /FAX : 04 75 67 35 00                   7 
- Réparations / Repairs facility : NIL
2 - CAA : DSAC Centre-Est (voir/see GEN)                                     8 
- Type de surface / Surface : béton /concrete
3 - AVT : NIL                                                                9 
- Force portante / Strength : 4 t.
4 - RFFS : 5 extincteurs poudre/powder fire extinguishers 50 kg.
5 - Police - Douanes / Police - Customs : NIL

                                                     AMDT 09/21 CHG : obstacle. 
                                                   © SIA


Reply via email to