摘要 |
The present invention relates to a method for determining the position of an object in a camera screen of a mobile device. The object position determining method of the present invention includes the following steps of: extracting an object image in the shape of a rectangle such as a name card and a receipt from a camera and reducing the size of the object image; detecting an outline along the edge of the extracted object image; and determining a position by using color information on the outline of the object within four areas after extracting the four areas from the object image. The four areas of the object image include each edge area of the object image and are searched in the order of an upper left end area, a lower right end area, a lower left end area, and an upper right end area. According to the present invention, it is possible to quickly determine, in a mobile device such as a smartphone, if an object image, which is a photographed object, is appropriately positioned. [Reference numerals] (AA) Start; (BB) End; (S102) Photograph an object image; (S104) Obtain the object image; (S106) Reduce the size of the object image; (S108) Detect an outline; (S112) Calculate the starting point of a search area; (S114) Read color information on each area; (S116) Determine color information per pixel; (S118) Compare a count value with a maximum value; (S120) Determine whether the object image is appropriately positioned or not; (S122) Determine whether a photographing is possible or not |