Search found 7 matches

by mera461
18 Apr 2017, 16:15
Forum: Lighting
Topic: Flat fields to correct for uneven illumination -- has anyone tried this?
Replies: 3
Views: 11883

Re: Flat fields to correct for uneven illumination -- has anyone tried this?

You could try CLAHE (Contrast Limited Adaptive Histogram Equalization). With OpenCV it is 6 lines of python: https://opencv-python-tutroals.readthed ... ation.html
by mera461
09 Nov 2016, 09:16
Forum: HELP
Topic: how to remove punch holes automatically?
Replies: 26
Views: 29293

Re: how to remove punch holes automatically?

Another options would be to train then OpenCV object detection algorithm ( http://docs.opencv.org/3.1.0/dc/d88/tutorial_traincascade.html ) to match the punch holes. You would probably need a lot of training material, but it sounds as if your already have the raw material ready, and as there is not ...
by mera461
28 Jul 2015, 15:31
Forum: R&D and New Technologies
Topic: Binarization
Replies: 14
Views: 29723

Re: Binarization

An online algorithm "Efficient Multiscale Sauvola's Binarization": https://olena.lrde.epita.fr/demos/sauvola_ms.php . All the source: https://www.lrde.epita.fr/wiki/Olena/Download , and specifically the source code for various binarization algorithms: http://git.lrde.epita.fr/?p=olena.git;...
by mera461
24 Jul 2015, 04:34
Forum: R&D and New Technologies
Topic: Binarization
Replies: 14
Views: 29723

Re: Binarization

A basic description of different binarization algorithms: https://docs.google.com/presentation/d/ ... ide=id.i39. Nothing new, but gives a good overview.
by mera461
14 Apr 2015, 11:51
Forum: Programs, Software releases, and more.
Topic: Batch find pdf with no OCR ..
Replies: 8
Views: 11909

Re: Batch find pdf with no OCR ..

I had the same problem a year ago, and here is a small script I made. I know this is a multi-programming-language forum, so here is a groovy script :-) You need java and groovy (http://www.groovy-lang.org/) to run it. To avoid checking the full PDF document (and to speed up the test), it will as def...
by mera461
25 Mar 2014, 15:09
Forum: Scanners and Build Threads
Topic: A DIY Book Scanner In Every Hackerspace /DIY Kit
Replies: 406
Views: 569705

Re: A DIY Book Scanner In Every Hackerspace /DIY Kit

Have you considered using Swig ? That will generate you a "raw" library that covers all functions in libgphoto2 and you can then create a small OO layer on top of that (Swig will generate python classes, but perhaps not the prettiest :-)) ala piggyphoto but without all the mapping code. Th...
by mera461
27 Dec 2013, 21:45
Forum: Programs, Software releases, and more.
Topic: Introducing spreads: command-line workflow tool
Replies: 80
Views: 94053

Re: Introducing spreads: command-line workflow tool

I don't know if you are interesting in supporting windows? Being a developer I know that it is really difficult/annoying to support a platform you are not using yourself. But I anyhow managed to install the different dependencies to at least get started, but got the same error with the exiftool, and...