IMAGE PROCESSING APPARATUS AND IMAGE PROCESSING METHOD
20200273202 ยท 2020-08-27
Assignee
Inventors
- Kazuya NISHIMURA (Okazaki-shi, JP)
- Naoki UENOYAMA (Nisshin-shi, JP)
- Yoshihiro OE (Kawasaki-shi, JP)
- Hirofumi KAMIMARU (Fukuoka-shi, JP)
Cpc classification
G06V20/56
PHYSICS
International classification
Abstract
An image processing apparatus includes: a calculation unit that calculates a size of a target object on an occasion when the target object exists along a peripheral edge part of a captured image captured by an external image capturing apparatus, based on a plurality of images containing the target object that needs to undergo image processing for protecting privacy; a determination unit that determines a region, on an image, that is captured in a state where a part of the target object protrudes from a peripheral edge part of the captured image, based on the size of the target object calculated by the calculation unit; and an image processing unit that performs the image processing on the region on the image determined by the determination unit.
Claims
1. An image processing apparatus comprising: a calculation unit that calculates a size of a target object on an occasion when the target object exists along a peripheral edge part of a captured image captured by an external image capturing apparatus, based on a plurality of images containing the target object that needs to undergo image processing for protecting privacy; a determination unit that determines a region, on an image, that is captured in a state where a part of the target object protrudes from a peripheral edge part of the captured image, based on the size of the target object calculated by the calculation unit; and an image processing unit that performs the image processing on the region on the image determined by the determination unit.
2. The image processing apparatus according to claim 1, further comprising a learning model unit that generates a learning model through learning using tutor data containing an image of the target object and outputs a determination result of whether or not an object contained in an input image is the target object, wherein the image processing unit further performs the image processing on the object when the determination result output by the learning model unit indicates that the object contained in the input image is the target object.
3. The image processing apparatus according to claim 1, further comprising a recording unit that records an image having undergone the image processing by the image processing unit.
4. The image processing apparatus according to claim 1, wherein the image processing is any of pixelation processing, blurring processing, and processing of fitting a fixed image.
5. The image processing apparatus according to claim 1, wherein the target object is a license plate of a vehicle or a person.
6. The image processing apparatus according to claim 1, wherein the image capturing apparatus is a drive recorder.
7. An image processing method that is performed by a processor, the image processing method comprising: a calculation step of calculating a size of a target object on an occasion when the target object exists along a peripheral edge part of a captured image captured by an external image capturing apparatus, based on a plurality of images containing the target object that needs to undergo image processing for protecting privacy; a determination step of determining a region, on an image, that is captured in a state where a part of the target object protrudes from a peripheral edge part of the captured image, based on the size of the target object calculated in the calculation step; and an image processing step of performing the image processing on the region on the image determined in the determination step.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Features, advantages, and technical and industrial significance of exemplary embodiments of the disclosure will be described below with reference to the accompanying drawings, in which like numerals denote like elements, and wherein:
[0015]
[0016]
[0017]
[0018]
[0019] and
[0020]
DETAILED DESCRIPTION OF EMBODIMENTS
[0021] Preferred embodiments of the present disclosure are described with reference to the appended drawings. Notably, elements with the same signs in the figures have the same or similar configurations.
[0022] Referring to
[0023] The communication device 15 and the management server 2 are configured to be communicable with each other via a network N, for example, including a wireless network.
[0024] With the image processing apparatus system 100 in the present embodiment, first, a picture captured by the drive recorder 10 is transmitted to the management server 2 via the communication device 15. Subsequently, the management server 2 performs image processing for protecting privacy on a target object privacy of which needs to be protected based on the received picture, and performs image processing for protecting privacy also on a region, on an image, which is captured in a state where a part of a target object protrudes from a peripheral edge part of the image. Subsequently, the management server 2 records an image after the image processing in a storage apparatus. Details of the image processing apparatus system 100 as above are hereafter described.
[0025] The vehicle 1 in the present embodiment exemplarily includes a control apparatus including a central processing unit (CPU) and a memory, and the like as well as the drive recorder 10 and the communication device 15.
[0026] The drive recorder 10 shown in
[0027] The communication device 15 exemplarily has, as a functional configuration, a control unit 16. The communication device 15 exemplarily includes, as a physical configuration, a control apparatus including a CPU and a memory, a storage apparatus, an operation unit, a display, a loudspeaker, a communication device and the like. The CPU executes a predetermined program stored in the memory and the storage apparatus, and thereby, functions of the control unit 16 are realized.
[0028] The management server 2 exemplarily has, as a functional configuration, a control unit 20. The management server 2 exemplarily includes, as a physical configuration, a control apparatus including a CPU and a memory, a storage apparatus, a communication device and the like. The CPU executes a predetermined program stored in the memory and the storage apparatus, and thereby, functions of the control unit 20 are realized.
[0029] Functions of the control unit 20 of the management server 2 are hereafter described in detail. The control unit 20 exemplarily includes a calculation unit 21, a determination unit 22, a learning model unit 23, an image processing unit 24 and a recording unit 25.
[0030] The calculation unit 21 calculates a size, on an image, of a target object which needs to undergo image processing for protecting privacy, based on a plurality of images captured by the drive recorder 10. The image processing for protecting privacy exemplarily corresponds to pixelation processing, blurring processing, processing of fitting a fixed image, or the like. Examples of the target object include a license plate of a vehicle, a person, and the like. In the present embodiment, a case where the target object is a license plate of a vehicle is exemplarily described.
[0031] A size, on an image, of the license plate may be a size of the license plate on an occasion when the license plate exists along a peripheral edge part of a captured image, and can be exemplarily calculated as follows. The calculation unit 21 calculates the size of the license plate displayed at each predetermined position on the image for each of such predetermined positions, based on the plurality of images captured by the drive recorder 10.
[0032] Referring to
[0033] As shown in
[0034] Here, the size of each of the license plates and the persons tends to depend on the position in the height (Y-axis) direction on the image and not to depend on the position in the width (X-axis) direction on the image. Accordingly, the position, on the image, identified when the calculation unit 21 calculates the size may be identified by designating a Y-coordinate on the image.
[0035] The determination unit 22 shown in
[0036] Referring to
[0037] A region Ra1 shown in
[0038] For example, the license plate Pa, Pb, Pc an image of which is captured in the state where a part thereof protrudes from the image I is to be displayed within the region Ra1 in a state where the license plate partially lacks. Meanwhile, as to the license plate Pd, Pe an image of which is captured in a state where it does not protrude from the image I, the license plate Pd is to be displayed in a state where the entire part thereof is contained within a region Ra2 except the region Ra1, or the license plate Pe is to be displayed in a state where the entire part thereof is contained within the region Ra1 and the region Ra2.
[0039] Referring to
[0040] The region Ra1 shown in
[0041] For example, the license plate Pa, Pb an image of which is captured in the state where a part thereof protrudes from the image I or the upper edge of the hood portion B is to be displayed within the region Ra1 in the state where the license plate partially lacks. Meanwhile, as to the license plate Pc, Pd an image of which is captured in the state where it does not protrude from the image I or the upper edge of the hood portion B, the license plate Pc is to be displayed in the state where the entire part thereof is contained within the region Ra2 except the region Ral, or the license plate Pd is to be displayed in the state where the entire part thereof is contained within the region Ra1 and the region Ra2.
[0042] The learning model unit 23 shown in
[0043] The image processing unit 24 performs the image processing on the region Ral, on the image, determined by the determination unit 22. When the determination result output from the learning model unit 23 indicates that the object contained in the input image is a license plate of a vehicle, the image processing unit 24 performs the image processing on the object contained in the input image.
[0044] The recording unit 25 causes the storage apparatus to record the image having undergone the image processing by the image processing unit 24.
[0045] Referring to
[0046] Subsequently, the calculation unit 21 of the management server 2 calculates the size, on an image, of the license plate which is a target of privacy protection based on a plurality of images captured by the drive recorder 10 (step S102).
[0047] Subsequently, the determination unit 22 of the management server 2 determines the region, on the image, which is captured in the state where a part of the license plate protrudes from the peripheral edge part of the image, based on the size, on the image, of the license plate, the size being calculated in step S102 above (step S103).
[0048] Subsequently, the image processing unit 24 of the management server 2 performs the image processing on the region, on the image, determined in step S103 above (step S104).
[0049] Subsequently, the learning model unit 23 of the management server 2 outputs the determination result of whether or not the object contained in the image captured by the drive recorder 10 is a license plate of a vehicle (step S105).
[0050] Subsequently, when the determination result output in step S105 above indicates that the object contained in the image captured by the drive recorder 10 is a license plate of a vehicle, the image processing unit 24 of the management server 2 performs the image processing on the object contained in the image captured by the drive recorder 10 (step S106).
[0051] Subsequently, the recording unit 25 of the management server 2 causes the storage apparatus to record the image after the image processing is performed in step S104 above and in step S106 above (step S107). Then, the operation is ended.
[0052] As mentioned above, according to the management server 2 in the embodiment, the size of a license plate on an occasion when the license plate exists along a peripheral edge part of an image captured by the drive recorder 10 can be calculated based on a plurality of images containing the license plate which is a target of privacy protection, and based on the calculated size, a region, on the image, which is captured in a state where a part of the license plate protrudes from the peripheral edge part of the captured image can be determined to perform image processing on the determined region on the image.
[0053] Thereby, since the image processing can be performed evenly on the region, on the image, in which an image of a part of the license plate is possibly captured, processing of determining whether or not such an image of a part of the license plate is captured can be omitted. In addition, processing of learning of images each of which a license plate is partially in can also be omitted.
[0054] Therefore, according to the management server 2 in the embodiment, processing efficiency of image processing for protecting privacy can be enhanced.
MODIFICATIONS
[0055] Notably, the present disclosure is not limited to the embodiment mentioned above but can be implemented in various forms without departing from the scope and spirit of the present disclosure. Accordingly, the embodiment above is merely exemplary in all means and should not be construed as limiting. For example, the processing steps mentioned above can be performed in any order or in parallel as long as this does not cause any contradiction in the processing.
[0056] While for the embodiment mentioned above, a case where image processing is performed on an image captured by the drive recorder 10 has been described, modes in which the present disclosure is applicable are not limited to this case. For example, the present disclosure can also be applied to a case where image processing is performed on an image captured by a monitoring camera (image capturing apparatus).
[0057] Moreover, components of the drive recorder 10, the communication device 15 and the management server 2 are not limited to the components in the embodiment mentioned above but any addition or the like of components can be properly made as needed. Moreover, functions which the management server 2 has do not have to be realized exclusively by one server apparatus but may be distributed to and realized by a plurality of server apparatuses. For example, the calculation unit 21, the determination unit 22 and the image processing unit 24, and the learning model unit 23 and the recording unit 25 out of the functions of the management server 2 shown in