Task Updates

About Page
You can find task updates here. Every team member posts what they have done in last two days.

11/08/2016
Mitesh,Ishan & Gautam: We designed a code for finding average intensity of each row. We also plotted the graph for the same. This graph can be useful for detecting text lines in ideal image. But for shadow images this method may not work properly. We tried code for different images and uploaded their results in logbook section. Gautam also worked with github and its procedure.

21/07/2016
Gautam: I learned python with help of Mitesh and from book (read 100 pages). After that I downloaded pytesseract which is available on python website. run example with help of it. After that I opend its code and understood how it actually works. I found that there is some function with help of that, they invoke tesseract in cmd and give command line arguments from python code itself. I'm building that kind of python wrapper for our requirment. I have started making that wrapper. But we can not directly use adaptive thresholding and that image to tesseract for reason, see logbook experiment of today's. We need to first pre-process image before doing adaptive thresholding. Ishan will work on finding that pre-processing and I will work on python wrapper.

Ishan & Mitesh: We studied about object oriented programming in python. We tried to understand it with some basic examples. we also studied how to run code or program using command line argument in python. and we gave 5 different images as input using command line argument for thresholding module.

19/07/2016
Gautam,Ishan & Mitesh: Gautam added opencv as a one project in tesseract and he also pushed that code to github. github link is provided in resources section. Mitesh and I worked with thresholding. we applied both methods otsu and adaptive gaussian for same image in opencv. and also compared tesseract thresholded image for same input image. we uploded all thresholded images in logbook section. we also found one function for time calculation. but we haven't applied that function.

14/07/2016
Gautam: I updated privacy of wiki. now only members of editor group can edit content on wiki. It is also available to public for reading without any login. I pushed code to github. it is just main code in master branch. I made command-line argument for thresholding like "tesseract image.png out thr" will also create thresholding image. If "thr" is not there in command then it will not create. I have pushed this code in brach name "tesseract thresholding".

Mitesh & Ishan: We found out module for adaptive gaussian thresholding in opencv-python. and we ran that code in opencv-python with different input images and we got much better output of thresholded image compare to otsu thrsholding.

12/07/2016
Gautam: I experimented on Gujarati image. Boxing on gujarati image is also good but sometimes tesseract is not detecting upper modifiers so that it doesn't incluse that in boxes. however it happens for few times only. I tried to push our code to Github but everytime i got error like "permission denied (publickey). I tried to find out solution for it but it didn't help. I requested to make our wiki readable to public without sign up or without being member of wiki.

Mitesh: I was not able to install opencv with python. Don't know some error is coming. I took help of Ishan and still working on it.I found that adaptive thresholding is better than normal thresholding. I got this info from Shital mam's papers. And then I put question on google groups to improve thresholding. I got the same answer.He provided link in which the code was there for doing all type of thresholding and their comparision was given with output image.I haven't run the program becoz of this installation problem.I have started studying about wrapper function.

Ishan: I helped mitesh to solve error in installing opencv-python. By all experiment which we performed till now, we can say that main problem arise due to the step of binarization(thresholding). In current version of tesseract which we are using, it consist otsu method for thresholding by default. but otsu thrsholding is not much effective when input image is not ideal or combination of text and graphics. i tried to find out adaptive gaussian thresholdig method for tesseract but i did not get much effective result. but i found out adaptive thresholding module for opencv which we can use if we want.

04/07/2016
Gautam & Ishan: We already had way to get co-ordinates of regions, lines and words in tesseract using tesseract functions. We integrated OpenCV with tesseract and used functions of opencv to draw rectangular boxes on image at co-ordinates obtained from tesseract. This experiment can be found at logbook. We have also added how to achieve it in How to section.

Mitesh: I copmpleted with python. I tried to install opencv with python but some error was coming. Also tried some images for thresholding.

29/06/2016
Gautam: I updated Logbook for experiments that we have done. I found that there is one configuration named hocr which outputs xml file which contains co-ordinates and all information of page layout analysis. With help of tool PAGEViewerWindows_1.1 we can draw boxes on input image. I have updated this experiment on "logbook". And also on "How to" section.

Mitesh: I continued with python. Since I was not well yesterday I couldn't cover much.I have completed 3 more chapters i.e. problem solvings,oop,input-output. I get stucked in problem solvings.

Ishan: I tried to draw boxes on text in images using c++ code for opencv. but when i ran that code i did not get output because it throwed an exception for one function. i found out that code in this page : http://stackoverflow.com/questions/23506105/extracting-text-opencv In this page there are two different methods for detecting text. i tried both methods for different different images but in both methods i got an exception handling problem.

27/06/2016
Gautam: I finished my Coursera work and created new repo for our Project. I searched for function to draw box on image using box file. I succeedto get box file but couldn't figure out how to draw box on image.

Ishan: i didn't get much time in last two days. i finished my coursera week4 and i tried to find out code or module which perform text detection from image means build blocks around text. and i ran that code but i got one error which i couldn't figure out till now so i need more time.

Mitesh: I did coursera and continued with python.I have completed 30 more pages from the book i.e completed upto data data structures.

25/06/2016
Gautam: I worked on this project wiki to give it proper shape and create every needed page. Learnt syntax for wiki. One thing I couldn't figure  out that how to create templates for wiki. As HTML eats extra spaces, I wanted to create template that can add extra spaces. I need help with that.

Ishan: I worked with opencv. i tried to understand basic functionality of opencv. i installed opencv 3.00 version and then cofigured it with visual studio 2013. useful link for configuration of opencv with visual studio :-http://opencv-srf.blogspot.in/2013/05/installing-configuring-opencv-with-vs.html?m=1

Then i tried to read & display image with opencv and i succeeded to read and display images with using c++ code in visual studio. I tried different different grayscale and color images both. i got successful output in all images.useful link for read and disply image :- http://opencv-srf.blogspot.in/2013/06/load-display-image.html?m=1

Mitesh:I started learning python.I refered the book A Byte of Python by Swaroopch. I installed python3.5 version and runned some basic examples explained in the book. I used notepad++ editor to write a code. I have completed about 60 pages of the book.