Skip to content

ImageProcessing-ElectronicPublications/leptbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeptBox

Introduction

Select boxes (characters) in the image using leptonica.

Dependencies

  • liblept3

How to use

  • Download this repository

    git https://github.com/ImageProcessing-ElectronicPublications/leptbox.git
  • Compile

    cd leptbox
    make
  • Run

    Type:

      ./leptbox test.tif > test.tif.box
      Box count = 4780
    
      cat test.tif.box
      00000000,1256,40,30,37
      00000001,1327,40,31,40
      00000002,1287,41,35,36
      00000003,1365,41,32,39
      ...
      00004775,288,3337,3,17
      00004776,363,3337,18,20
      00004777,2224,3342,15,36
      00004778,2243,3343,15,36
      00004779,2262,3343,15,36

    Or:

      ./leptbox test.tif 50 100
      ...
      Box count = 129

References


2020

About

Select boxes in the image using leptonica.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published