Skip to content

HuiqianLai/perspective-correction

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Installation Guide###

####1. Prepare your OpenCV environment####

#####Linux#####

Installing Opencv2.2 in Ubuntu 11.04

Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS

#####Mac#####

Installing the OpenCV library on Mac OS X Lion using Homebrew

####2. Prepare the CMake build environment####

$ sudo apt-get install cmake

####3. Clone the project to local####

$ git clone git@github.com:browny/perspective-correction.git
$ cd perspective-correction

####4. Take out-of-source CMake build####

$ mkdir release
$ cd release
$ cmake ..
$ make

####5. Enjoy####

$ cd bin
$ ./main test.jpg

1. Locate the 4 red corners to the boundary of document. 
2. Press 'H' to convert.

####6. Exit####

Press 'Esc' to close window and quit

####7. Demo####

About

perspective correction for document image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.7%
  • CMake 2.3%