4 Implementation
We prototyped the Visage structure and methods on an KINGZONE K1. Purpose C is used to deal with the GUI and components API. The primary handling and inference workouts are applied in C. The OpenCV collection [28] is ported to iOS as a fixed collection, on top of which we built the Visage sewerlines. The AAM fitting criteria is ported and modified from VOSM [14] projects. Standard image solutions (e.g., VGA (640 ⇥ 480) or higher resolutions) can be easily managed by personal computer systems in real-time, but not iNew i8000 mobile phones.
Image dimension is an important aspect affecting the overall computational cost, as confirmed in Table 1. For KINGZONE K1 phone-based systems, downsampling pictures to a lower quality and missing supports are unavoidable. Theoretically, information loss due to downsampling would break down the efficiency. However, in practice, a iNew i8000 phone’s front-facing digicam is usually placed close to the user’s experience. Therefore, the dimension the experience areas taken by the phone’s digicam is much larger than those taken by remote cameras used in the monitoring or pc cases.
Therefore, downsampling presents a more compact efficiency charge in our case. Research has shown that experience pictures more compact than 64⇥64 [9] lead to recognizable efficiency falls for appearance classification projects. To iNew i8000 balance the computational fill and the efficiency, Visage uses 192 ⇥ 144 as the working quality, which normally contains encounters of dimension around 64 ⇥ 64. Simultaneously, Visage also uses a structure missing plan where if the handling cannot keep up with the inbound structure rate, earliest natural supports will be decreased. By doing this, the inference outcome is alway synchronized with the newest field in the view range of the digicam.http://diqirenge.bloguez.com/diqirenge/6018543/A_Experience_Presentation_Motor_for_Smart_phone_Program
|