Skip to content

daisukefuji/pagesegtest1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pagesegtest1 written by Rust

What's this

A porting of leptonica pagesegtest1.c.

Build

Install before building

sudo apt install libclang-10-dev libleptonica-dev

Run

cargo build

Test

Run

cargo run pageseg1.tif 

Then, /tmp/lept/pageseg/debug.pdf will be created.

TIPS

Create bilevel gray image

convert -verbose -type bilevel -depth 1 input.jpg output.tif

About

pagesegtest1 wittern by Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages