Hi ,
I am studying C programming.I am suppossed to do a task whic is - if we place an object of any shape or size on a scanner ,the program should foud the pixel of the object placed . Then it should calculate the exact area of the object placed on the scanner.I dont know what GUI to be used. Also how should I start solving the problem.
If you have any idea please help me out. :(

When it scans, the object will be one color and the background will be another, right? Count the number of pixels that are the object's color. And multiply that by the area of a pixel.