Image processing apparatus, image processing method, and non-transitory computer-readable medium for social distancing display
An image processing apparatus ( 10 ) includes an image processing unit ( 110 ) and a risk information generation unit ( 120 ). The image processing unit ( 110 ) acquires and processes an image generated by an image capture apparatus ( 20 ), that is, an image including a plurality of persons. As an example, the image processing unit ( 110 ) sets a person being at least part of the plurality of persons as a reference person and computes a distance (first distance) between the reference person and the closest person to the reference person. By using the first distance, the risk information generation unit ( 120 ) generates infection risk information in a target region being an image capture target of the image capture apparatus ( 20 ).
1 . A display apparatus comprising:
at least one memory storing instructions; and
at least one processor coupled to the at least one memory and configured to execute the instructions to:
acquire distance between a person and another person from an image captured by a camera;
superimpose, on the image, a display mode that visualizes a social distancing range in the vicinity of the person;
change the display mode based on the distance;
generate, based on the distance, infection risk information being information about a risk of contracting an infectious disease or a safety factor of not contracting an infectious disease in a target region being a region included in the image;
determine at least one of an orientation of a face of the person and an orientation of a face of the another person closest to the person; and
generate the infection risk information by further using a determination result of the orientation of the face.
2 . The display apparatus according to claim 1 , wherein the at least one processor is further configured to execute the instructions to:
superimpose the display mode near the person based on a position of the person who moves.
3 . The display apparatus according to claim 1 , wherein the at least one processor is further configured to execute the instructions to change at least one of color, shape and size of the display mode for the social distancing range.
4 . The display apparatus according to claim 1 , wherein the at least one processor is further configured to execute the instructions to:
determine at least one of a wearing article on the face of the person and a wearing article on the face of the another person closest to the person; and
generate the infection risk information by further using a determination result of the wearing article.
5 . The display apparatus according to claim 1 , wherein the at least one processor is further configured to execute the instructions to:
determine movement of a mouth of one of the person and the another person closest to the person; and
generate the infection risk information by further using a determination result of the movement of the mouth.
6 . The display apparatus according to claim 1 , wherein the at least one processor is further configured to execute the instructions to
calculate the distance by using a height and a position of the person.
7 . A display method executed by a computer, the display method comprising:
acquiring distance between a person and another person from an image captured by a camera;
superimposing, on the image, a display mode that visualizes a social distancing range in the vicinity of the person;
changing the display mode based on the distance;
generating, based on the distance, infection risk information being information about a risk of contracting an infectious disease or a safety factor of not contracting an infectious disease in a target region being a region included in the image;
determining at least one of an orientation of a face of the person and an orientation of a face of the another person closest to the person; and
generating the infection risk information by further using a determination result of the orientation of the face.
8 . The display method according to claim 7 , further comprising
superimposing the display mode near the person based on a position of the person who moves.
9 . The display method according to claim 7 , further comprising
changing at least one of color, shape and size of the display mode for the social distancing range.
10 . The display method according to claim 7 , further comprising:
determining at least one of a wearing article on the face of the person and a wearing article on the face of the another person closest to the person; and
generating the infection risk information by further using a determination result of the wearing article.
11 . A non-transitory computer-readable medium storing a program for causing a computer, when executed by a processor of the computer, to perform operations, the operations comprising:
acquiring distance between a person and another person from an image captured by a camera;
superimposing, on the image, a display mode that visualizes a social distancing range in the vicinity of the person;
changing the display mode based on the distance;
generating, based on the distance, infection risk information being information about a risk of contracting an infectious disease or a safety factor of not contracting an infectious disease in a target region being a region included in the image;
determining at least one of an orientation of a face of the person and an orientation of a face of the another person closest to the person; and
generating the infection risk information by further using a determination result of the orientation of the face.
12 . The non-transitory computer-readable medium according to claim 11 , wherein the operations further comprise
superimposing the display mode near the person based on a position of the person who moves.
13 . The non-transitory computer-readable medium according to claim 11 , wherein the operations further comprise
changing at least one of color, shape and size of the display mode for the social distancing range.
14 . The non-transitory computer-readable medium according to claim 11 , wherein the operations further comprise:
determining at least one of a wearing article on the face of the person and a wearing article on the face of the another person closest to the person; and
generating the infection risk information by further using a determination result of the wearing article.