Smart image processing method and device using same
A smart image processing method and a device using same are provided. The method comprises: an image acquisition unit of acquiring an image for a specific area; an image conversion step of, when a person is detected in the acquired image, converting a body image of the person in the image into an image in which the person is wearing outer clothing; and a storage step of storing the converted image.
1 . A smart image processing device comprising:
an image acquisition unit configured to acquire an image for a predetermined area through a camera;
an image conversion unit configured to perform conversion from a body image of a person in the image into an image of the person wearing outer clothing when the person is detected in the acquired image; and
a storage unit configured to store the converted image,
wherein the image conversion unit is configured to:
obtain skeleton data based on joints or movement points of the person by applying a skeleton modeling technique to the person detected in the acquired image, and
perform conversion from the body image of the person into an image of the person wearing clothes based on the skeleton data,
wherein the image conversion unit is configured to:
detect an image of one or more persons located in the predetermined area in the image based on a first deep learning algorithm, and
perform the conversion only on a person determined not to be wearing outer clothing in the person image,
wherein the image conversion unit is configured to determine that at least one of a naked person and a person wearing only underwear is not wearing outer clothing, and
wherein the image conversion unit is configured to perform conversion from the body image of the person into the image of the person wearing outer clothing based on a second deep learning algorithm different from the first deep learning algorithm by using the skeleton modeling technique for the naked person and the person wearing only underwear.
2 . The smart image processing device of claim 1 , wherein the outer clothing includes clothes capable of covering at least one of all parts of the body image except a face, disliked parts that cause discomfort to others when exposed of an upper body of the body image except the face, and disliked parts of a lower body of the body image except the face.
3 . A smart image processing method to be performed by a device, comprising:
acquiring, by an image acquisition unit of the device, an image for a predetermined area;
performing, by an image conversion unit of the device, conversion from a body image of a person in the image into an image of the person wearing outer clothing when the person is detected in the acquired image; and
storing, by a storage unit of the device, the converted image,
wherein the performing of the conversion includes
obtaining skeleton data based on joints or movement points of the person by applying a skeleton modeling technique to the person detected in the acquired image, and
performing conversion from the body image of the person into an image of the person wearing clothes based on the skeleton data,
wherein the performing of the conversion includes
detecting an image of one or more persons located in the predetermined area in the image based on a first deep learning algorithm, and
performing the conversion only on a person determined not to be wearing outer clothing in the person image,
wherein the performing of the conversion includes determining that at least one of a naked person and a person wearing only underwear is not wearing outer clothing,
wherein the performing of the conversion includes performing conversion from the body image of the person into the image of the person wearing outer clothing based on a second deep learning algorithm different from the first deep learning algorithm by using the skeleton modeling technique for the naked person and the person wearing only underwear.
4 . The smart image processing method of claim 3 , wherein the outer clothing includes clothes capable of covering at least one of all parts of the body image except a face, disliked parts that cause discomfort to others when exposed of an upper body of the body image except the face, and disliked parts of a lower body of the body image except the face.