Hardware Reference
In-Depth Information
Start
Initialization
Mouse event detection
Event
occurs?
No
Yes
Still-image
capturing
Still-image
trimming
Similar-image
trimming
Registering
Still-image
display
Face region
display
Similar-image
display
Deletion
Face
detection
Feature
calc.& search
Detected-
faces display
Thumbnail
display
Fig. 6.40
Processing fl ow of Linux application programs
The similar-image search consists of feature calculation, in which the feature value
of a face image is calculated; registering, in which faces are registered in a database
created on a hard disk drive; deletion, where a face entry in the database is deleted;
and an image search, where similar face images are searched for in the database.
The face detection utilizes a face detection function offered by Intel's
OpenCV [ 20 ], which is a general image processing library.
The event processing consists of mouse event detection that detects the operation
of a pointing device and internal event generation that starts the face detection by
the detected mouse event.
The image object management manages objects of the still image obtained from
uITRON via the shared memory and the image generated by the face detection. It
also manages the depiction of mouse trails detected by the event processing and
generation of the a plane that determines the synthesizing position of the video
plane and the graphics plane.
Finally, the image processing performs trimming, which trims a specified range
of an image; scaling, which enlarges or reduces the size of an image; YUV-RGB
conversion, which converts the color format of an image; and frame depiction,
which makes it possible to draw a shape on a face-detected area.
Figure 6.40 shows the processing flow of the Linux application programs. First,
image objects displayed on the graphics plane are initialized. Then the operation of
 
Search WWH ::




Custom Search