APPLYING AUTO IMAGE CROPPING TO DESIGN STUDENT CARD

  • Nguyễn Văn Lễ
  • Phạm Nguyễn Huy Phương
  • Vũ Văn Vinh

Abstract

The people image on cards such as student cards, staff cards is one of the important components to identify people. Currently, the common way to create these images is manual image cropping on the graphics processing software (Adobe Photoshop, Corel, MS Paint, etc.), this task takes a long time to process the large numbers of image files and there is baseless to determine the location of the object inside the image. In this paper, the face detection and edge detection algorithm were combined to automatically crop the image at the aspect ratio of 3:4. In which the position of the object inside the image was calculated to equal the distance of both vertical edges side and far away to the upper edge on a suitable distance. The proposed method was tested on a set of images with uniform backgrounds achieved a high accuracy rate.

Keywords: Face detection, Canny edge, image cropping, auto cropping, edge detection.

điểm /   đánh giá
Published
2019-10-11
Section
Bài viết