views:

51

answers:

3

I want to make a program for checking the printed paper for errors.

PDF File: please refer to the second page, top right picture

As you see, that system could identify the errors made by printer. I want to know how was it achieved. What are existing documents about this? Or any ideas you have? Thank you

A: 

you may look for vmi that returns information for all windows system..... a sample usage on the link below http://aleemkhan.wordpress.com/2005/09/20/getting-printer-information-through-wmi/

dankyy1
I don't think he wants to check to status of the printer itself, it's the quality of what it's printing that he's interested in.
Matt Warren
+1  A: 

This can be very easy or very difficult. if your images are black white and your scan is quite precise you can try with a simple subtraction between the images (scanned and pattern) if your scan will read the image with a possible deformation or translation the you will need first an image registration algorithm. if your scan present background noise you will have some trouble with the subtraction and then it turns very difficult. may be some image samples can help to suggest you a more specific algorithm.

jartieda
The original image is black and white, but scan image is grayscale. One more thing is that image can be deformed by printer if the paper goes inside with some mistake. One more problem, the paper on which the image is printed can already contain something printed on it. How to deal with that?
erjik
+1  A: 

I think you need to some how compare two images in a way that is robust to deformation. As mentioned before, substracting the two images can be a first step. Another more sophisticated way can be to use distance transform (or chamfering based methods for template matching) to compare how similar the two images are in the presence of some deformation. More sophisticated solutions can use methods like shape contexts.

carlosdc