OpenCV: What are good ways to use open CV/python to spot marks on a page?
-
I am trying to check if a second hand book i'm planning to purchase has any page with coffee cup spots or marks or underlines etc. what should be my approach? I am able to capture the video stream of a book through my webcam/python/openCV. what should I do next?
-
Answer:
Assuming the marks are in some colour other than black or white and the text is in black and white,you should 1)First convert it into HSV color model using cvtColor. 2) To select a particular color ,give the range of Hue values you want to select inside inrange function. Maybe for saturation and value the whole range can be given. 3) The marks are returned as white color(255) in inrange function. By the way, why use open CV when you can simply spot the marks manually :) And prefer to ask program related questions in stackoverflow to get quicker answers.
Agnel Vishal at Quora Visit the source
Related Q & A:
- What are good ways to save up for an iPod Touch?Best solution by wikihow.com
- What are good ways to promote my website?Best solution by Yahoo! Answers
- What are easy ways of writing a good essay?Best solution by Quora
- What are good ways to get the "Last Second Bid" on eBay successfully?Best solution by ebay.com
- What are good ways for personal fund raising?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.