Convert paper-based notes to HTML content with Google Vision API
Convert paper-based notes to HTML content with Google Vision API
Photo by Morning Brew on UnsplashIntroductionWe are always aware of several news articles we read since years ago about how much time we spent in front of our computers and how bad it is not to have a good culture about it. According to a Nielsen Company audience report made in February 2018, the average person in the United States spent approximately 10 hours and 39 minutes each day in front of screens, including the daily use of smartphones, computers, video games, tablets, and TVs.At the same time, the technology is enough updated to help us fix this, at least by baby steps. I was thinking about how to combine this problem with this blessing, and I came up with this experiment: writing a blog article on a paper (What can be easily done outside), take a picture of it and run a script to convert it to HTML. The idea is to use symbols and letter combinations (Such as ‘#T#’) to detect what should be a title, subtitle, image, or paragraph.What are we going to buildWe will build a program that, given an image, generates an HTML file. That image will be a photo we take, with some marks to parse text with some HTML tags. Specifically, we will use this format (Do feel free to write your own paper to test your handwritten calligraphy, but you…