Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Samir55/Image2Lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir55 committed Mar 8, 2018
2 parents 2b71b9a + 1b24abe commit a3a0927
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Image 2 Lines

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b06e28bb75234b76838218c1cad86568)](https://www.codacy.com/app/Samir55/Image2Lines?utm_source=github.com&utm_medium=referral&utm_content=Samir55/Image2Lines&utm_campaign=badger)

This is a module of our project for image processing course at Cairo university.

**This is a working in progress project**.
Expand All @@ -21,8 +24,30 @@ These are examples of the output produced from the current code.
* Apply line drawing algorithm and make decissions about regions that hit the lines using Bivariate Gaussian Distribution.
These is example of the output produced from the current code.
![](https://i.imgur.com/GMqsSxc.jpg)
## Tools used:
We'll use C++ and OpenCV.

# Dependencies
* OpenCV: 3.0 or newer.

# Build
```Console
mkdir build
cd build
cmake ..
make
```
# Usage
```Console
./Image2Lines the_path_to_the_img
```
the output will be:
* N final lines, each line is named 'line_i.jpg' where i is the line number.
* 'Initial_lines.jpg' : representing the initial lines drawn on the original image.
* 'Final_lines.jpg' : representing the final lines drawn on the original image.
* 'Contours.jpg' : represnting the detected contours.

# TODO
* Improve detecting peaks and valleys function.
* Use a better binarization technique than the currrently used. (I will use my other repository named Binarization".

## Database used
IAM database.
Expand Down

0 comments on commit a3a0927

Please sign in to comment.