T
T
Toasts2017-02-09 21:39:46
JavaScript
Toasts, 2017-02-09 21:39:46

How can I improve the quality of a photographed document?

I am looking for an algorithm that can be ported to js, ​​well or not)
nJCQD.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2017-02-09
@Yadro

31b4aa37564840488d416bf2110515af.jpg
here is the result of processing the upper half according to the algorithm:
1) black&white
2) threshold
3) gauss by 1-pixel
If any of these steps is difficult for you - write ...

T
ThunderCat, 2017-02-09
@ThunderCat

white balance and trashhold?
ps: is it possible to see somewhere the real difference between a photo and an iPhonescan?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question