1. An apparatus capable of recognizing a hand shape in a portable terminal, the apparatus comprising: a memory unit; and a controller configured to: generate uniform training image data to collectively generate a plurality of images of a desired region obtained from an original image in an identical or similar posture and an identical or similar size; perform a training process including setting masks in the training image data to generate a classifier lookup table for a weak classifier, determine a position where an error between the images is reduced, and then, generate a position lookup table about the position only when the position is within at least one of the masks, so as to perform the training process to prevent a feature point from being generated in a portion where detection is unnecessary in the generated training image data; and detect a rotated object from input data after the training process.