In this paper, the authors discuss an approach involving 2D digital image processing and geometric logic for recognition of two dimensional shapes as well as the color of the object. The goal of basic 2D object detection system is to identify the basic geometric shape and color of objects present in image. Then it recognizes the boundaries of the object. Calculate the area of each object which is going on the conveyer belt. Then locate the X-Y co-ordinate of that image. The methods used are color pixel classification, area based filtering and used of bounding box and its properties for calculating object matrices.