Abnormality determination device, on-vehicle unit, abnormality determination system and abnormality determination program
The abnormality determination device corrects and accurately detects interior vehicle camera issues, ensuring reliable safe driving support by addressing posture changes and blockages, enhancing operational accuracy and prompt response to abnormalities.
Patent Information
- Application Number
- JP2023055885
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
AI Technical Summary
Conventional devices are unable to detect abnormal conditions of a camera that photographs the interior of a vehicle, such as changes in posture or blockages that affect its functionality.
An abnormality determination device that includes an image acquisition unit, vehicle information acquisition unit, image recognition unit, and determination unit to assess the state of the interior camera, correcting recognition results based on vehicle status and detecting abnormalities in the camera's installation posture or image capture issues.
Enables early detection of camera abnormalities, preventing misjudgments when the vehicle is stopped, and ensuring accurate determination of camera status during operation, thereby maintaining the effectiveness of safe driving support functions.
Smart Images

Figure 2024143290000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an abnormality determination device, an in-vehicle device, an abnormality determination system, and an abnormality determination program. [Background technology]
[0002] From the viewpoint of driving support, recording evidence when a problem occurs, etc., current vehicles are generally equipped with cameras capable of capturing images inside and outside the vehicle. The posture of such cameras may change from when they were installed due to factors such as vehicle vibration, temperature changes, and contact with passengers. If the posture of the camera changes, it may become impossible to capture images appropriately, so it is desirable to detect such posture changes promptly.
[0003] Patent Document 1 discloses an attitude change detection device for an on-board camera that can detect an attitude change of a camera that captures an image of the front of a vehicle through a windshield. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-98715 A Summary of the Invention [Problem to be solved by the invention]
[0005] Conventional devices such as that described in Patent Document 1 are intended solely to detect changes in the attitude of a camera that captures images of the exterior of a vehicle, and are not intended to detect abnormal conditions in a camera that captures images of the interior of the vehicle.
[0006] The present invention provides an abnormality determination device, an on-board device, an abnormality determination system, and an abnormality determination program capable of detecting an abnormal state of a camera that captures images of the interior of a vehicle. [Means for solving the problem]
[0007] In order to achieve the above-mentioned object, the abnormality determination device according to the present invention has the following features. an image acquisition unit that acquires a captured image from a camera that captures an image of the interior of a vehicle; A vehicle information acquisition unit that acquires vehicle information including a speed of the vehicle; an image recognition unit that performs image recognition on the captured image, and outputs "OK" as the recognition result if an object is detected, and outputs "NG" as the recognition result if the object cannot be detected; a determination unit that determines that the state of the camera is normal when the recognition result is OK, and that determines that the state of the camera is abnormal when the recognition result is NG, the determination unit does not determine that the state of the camera is abnormal when the vehicle information indicates that the vehicle is stopped; Abnormality determination device.
[0008] In order to achieve the above-mentioned object, an in-vehicle device according to the present invention includes the above-mentioned abnormality determination device.
[0009] In order to achieve the above-mentioned object, the abnormality determination system according to the present invention has the following features. The above-mentioned on-board device, An abnormality determination system including a communication terminal capable of communicating with the vehicle-mounted device, The communication terminal includes: a camera installation NG event generated when it is determined that the state of the camera is abnormal is received from the vehicle-mounted device, and then a camera NG resolution instruction is sent to the vehicle-mounted device, the camera NG resolution instruction being a signal instructing the vehicle-mounted device to resolve the abnormal state of the camera; If a camera installation OK event, which is generated when it is determined that the state of the camera is normal, is not received within a certain period of time after receiving an approval signal for the instruction to resolve the camera NG from the vehicle-mounted device, a notification is generated indicating that the abnormal state of the camera cannot be resolved.
[0010] In order to achieve the above-mentioned object, the abnormality determination program according to the present invention has the following features. acquiring an image from a camera that photographs an interior of a vehicle; obtaining vehicle information including a speed of the vehicle; performing image recognition on the captured image, and outputting "OK" as the recognition result if an object is detected, and outputting "NG" as the recognition result if the object cannot be detected; determining that the state of the camera is normal when the recognition result is OK, and determining that the state of the camera is abnormal when the recognition result is NG; Run the following on your computer: In the step of determining the state of the camera, if the vehicle information indicates a stopped state of the vehicle, the state of the camera is not determined to be abnormal. Abnormality detection program. Effect of the Invention
[0011] According to the present invention, it is possible to detect an abnormal state of a camera that captures images of the interior of a vehicle.
[0012] The present invention has been briefly described above. The details of the present invention will become clearer by reading the detailed description of the invention described below with reference to the accompanying drawings. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a schematic configuration diagram of an abnormality determination system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a first flowchart showing a procedure for determining an abnormality in the camera by the vehicle-mounted device. [Diagram 3] FIG. 3 is a second flowchart showing the procedure for determining an abnormality in the camera by the vehicle-mounted device. [Figure 4] FIG. 4 is a third flowchart showing the procedure for determining an abnormality in the camera by the vehicle-mounted device. [Diagram 5] FIG. 5 is a flowchart showing a procedure for the abnormality determination system including the vehicle-mounted device and the communication terminal to respond when an abnormality occurs in the camera. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an abnormality determination device, an in-vehicle device, an abnormality determination system, and an abnormality determination program according to embodiments of the present invention will be described with reference to the drawings.
[0015] 1 includes an in-vehicle device 5 and a communication terminal 40. The abnormality determination system 100 further includes a server 50, although the server 50 is not essential.
[0016] The vehicle-mounted device 5 has a general drive recorder function and a digital tachograph function, and in this embodiment, has an abnormality judgment function for judging the presence or absence of an abnormal state of the camera 20 that captures the interior of the vehicle 1. The abnormality judgment function is realized by an abnormality judgment device 10, which will be described later. The vehicle-mounted device 5 is connected to the base station B, for example, by wireless communication, such as a mobile communication network (mobile line network) such as LTE (Long Term Evolution) / 5G (5th Generation) or a wireless LAN (Local Area Network).
[0017] The communication terminal 40 is configured with a general-purpose computer device installed, for example, in the office of a transportation company or the like that owns and manages the vehicle 1. The communication terminal 40 is connected to a network (packet communication network) N such as the Internet, and is capable of communicating with a base station B connected to the network N via the network N. Thus, the communication terminal 40 is capable of communicating with the vehicle-mounted device 5. The communication terminal 40 may be a portable mobile terminal such as a smartphone or tablet, and such a mobile terminal is connected to the base station B, for example, via wireless communication, similar to the vehicle-mounted device 5.
[0018] The server 50 is also connected to the network N and is operated and managed, for example, by a service company that provides services related to safe driving support for the vehicle 1. The server 50 can have the same configuration and functions as the abnormality determination device 10 of the vehicle-mounted device 5, as will be described later.
[0019] In this embodiment, the abnormality determination device 10 is mounted on the vehicle-mounted device 5, and determines whether or not there is an abnormality in the installation state of the camera 20 mounted on the vehicle 1. The camera 20 includes cameras that capture images of the exterior and interior of the vehicle 1, but in this specification, the camera 20 is assumed to capture images of the interior of the vehicle cabin.
[0020] The camera 20 that photographs the interior of the vehicle is intended to be used for various purposes, but it is desirable that its installation posture (installation angle) be maintained in the correct position that was adjusted at the time of initial installation.
[0021] For example, when the camera 20 monitors the driver and detects an inappropriate behavior such as operating a smartphone while driving, it notifies the manager of the operating company to prevent the inappropriate behavior. To fulfill such a function, the camera 20 needs to maintain a normal posture and constantly capture the driver's hands. However, if the posture of the camera 20 changes due to the driver intentionally tilting the camera or the driver's hand accidentally hitting it, such a function becomes ineffective. Also, if an abnormality occurs in the image captured by the camera 20, such as the sun visor blocking the angle of view of the camera 20 and the target object not being captured within the angle of view, such a function becomes ineffective.
[0022] Therefore, the abnormality determination device 10 according to the present embodiment determines whether or not there is an abnormality in the installation state of the camera 20 based on an image captured by the camera 20 capturing an image of the interior of the vehicle. This allows, if an abnormality is present, a prompt response to resolve the abnormality in the installation state of the camera 20, such as the driver moving an obstruction such as a sun visor out of the angle of view of the camera 20 or the operating company adjusting the attitude of the camera 20, to be taken.
[0023] The abnormality determination device 10 includes an image acquisition unit 11, a vehicle information acquisition unit 12, an image recognition unit 13, a control unit 14, a notification unit 15, a transmission / reception unit 16, and a memory unit 17.
[0024] The image acquisition unit 11 acquires images captured by the camera 20 at a predetermined timing from the camera 20 that captures the interior of the vehicle 1. The vehicle information acquisition unit 12 acquires vehicle information including at least the speed of the vehicle 1. In addition, the vehicle information acquisition unit 12 can acquire the speed of the vehicle 1 from a part (e.g., a speedometer) that detects speed among the vehicle parts 30.
[0025] The image recognition unit 13 performs image recognition on the captured image, and outputs "OK" as the recognition result if the target object is detected, and outputs "NG" as the recognition result if the target object cannot be detected. The method and device by which the image recognition unit 13 recognizes the target object are not particularly limited, but an AI (artificial intelligence) engine used for general image recognition can be used, for example. The target object is typically a part of the body of the driver of the vehicle 1, such as the hand or face (head).
[0026] Control unit 14 is a computer or arithmetic device that is responsible for the overall control of abnormality determination device 10, and issues various commands to and controls each unit of abnormality determination device 10. Particularly in this embodiment, control unit 14 has a function as a determination unit that determines that the state of camera 20 is normal when the recognition result by image recognition unit 13 is OK, and determines that the state of camera 20 is abnormal when the recognition result is NG.
[0027] When the control unit 14 functioning as a determination unit determines that the state of the camera 20 is abnormal, the notification unit 15 notifies the driver of the occurrence of an abnormality in the camera 20. The notification unit 15 may be a speaker that notifies the driver by sound, or may be a display or a lamp that displays a warning.
[0028] The transmitting / receiving unit 16 is a part that communicates with the communication terminal 40 and the server 50 via the base station B, and functions as a transmitting unit that transmits data and a receiving unit that receives data. In particular, when the transmitting / receiving unit 16 functions as a transmitting unit, if the control unit 14, functioning as a determining unit, determines that the state of the camera 20 is abnormal, the transmitting / receiving unit 16 transmits a signal indicating the occurrence of an abnormality in the camera 20 to the communication terminal 40.
[0029] Storage unit 17 is a storage device such as a memory, and stores various data, programs, etc. used by abnormality determination device 10. In particular, storage unit 17 stores an abnormality determination program that determines whether or not there is an abnormality in the installation state of camera 20, and control unit 14 can execute each procedure of abnormality determination by reading out the abnormality determination program.
[0030] 2 to 4, the vehicle-mounted device 5 executes a method for determining an abnormality in the camera 20 in accordance with the procedure of the abnormality determination program read by the control unit 14 from the storage unit 17. First, as shown in Fig. 2, the image acquisition unit 11 acquires an image captured by the camera 20, and the vehicle information acquisition unit 12 acquires vehicle information from the vehicle parts 30 (step S1). The image acquisition unit 11 and the vehicle information acquisition unit 12 can synchronously acquire the captured image and the vehicle information based on the time acquired by counting a timer or the like.
[0031] Furthermore, the vehicle information acquisition unit 12 acquires information on the speed and vehicle state of the vehicle 1 from the acquired vehicle information (step S2). The vehicle information includes at least the speed of the vehicle 1, and in this embodiment, includes any one of the vehicle states, "occupied", "empty", and "resting".
[0032] Meanwhile, the image recognition unit 13 performs image recognition on the captured image acquired by the image acquisition unit 11, and outputs the recognition result (step S3). The recognition result is either OK (recognition result OK) when the target object is detected, or NG (recognition result NG) when the target object cannot be detected. The image recognition unit 13 attempts to detect the crew member's hand, which is one type of target object, using, for example, an AI engine, and outputs the recognition result OK when the hand is detected, or outputs the recognition result NG when the hand cannot be detected. The target object is not limited to the crew member's hand, and may be a part of the crew member's body, such as at least a part of the crew member's head, or may be an article worn by the crew member, such as a glove, a name tag, or a wristwatch.
[0033] Next, the control unit 14 combines the speed and vehicle state of the vehicle 1 included in the vehicle information acquired by the vehicle information acquisition unit 12, and further the image recognition result by the image recognition unit 13 (step S4). The combination by the control unit 14 can be performed for each image based on the acquisition time.
[0034] Furthermore, the control unit 14 determines whether the vehicle state of the vehicle 1 is occupied or empty (step S5). If the vehicle state is occupied or empty (Yes in step S5), the control unit 14 determines whether the vehicle state of the vehicle 1 is moving or not based on the speed of the vehicle 1 (step S6). If the vehicle 1 is moving (Yes in step S6), the control unit 14 stores the recognition result output by the image recognition unit 13 in step S3 (either the recognition result OK or the recognition result NG) as it is in the storage unit 17 (step S7).
[0035] On the other hand, if it is determined in step S5 that the vehicle state of the vehicle 1 is neither occupied nor empty (No in step S5), that is, when the vehicle 1 is taking a break, the control unit 14 checks whether the recognition result output by the image recognition unit 13 in step S3 is NG (unable to detect object) (step S8). If the recognition result is NG (Yes in step S8), the control unit 14 corrects the original recognition result of NG to OK (step S9) and stores the recognition result OK. If the recognition result is not NG (No in step S8), that is, when the recognition result is Yes, the control unit 14 stores the original recognition result as it is.
[0036] 3, the control unit 14 looks back at the results stored in step S7 for a preset retroactive time (e.g., 10 to 20 minutes, but not limited thereto) at a predetermined timing (step S10). The control unit 14 counts the time during which an image has a recognition result of NG (NG time) or the number of frames of an image with a recognition result of NG (NG frame count) from the retroactive time to the present time (step S11).
[0037] As a result of the counting, the control unit 14 judges whether the NG time or the number of NG frames is equal to or greater than a set value (step S12). For example, the camera 20 captures about 60 to 600 images per minute, and the control unit 14 calculates the time of NG images or the number of NG frames of images out of the images for the 10-minute retroactive time, i.e., about 600 to 6000 images. Then, when the set value is 80%, the control unit 14 judges whether the proportion of the NG time or the proportion of the number of NG frames to the total 10-minute image time or number of frames is 80% or greater.
[0038] It can be estimated that the greater the NG time or the number of NG frames, the greater the possibility that the camera 20 is in an abnormal state. In other words, if the NG time or the number of NG frames is equal to or greater than a set value, it can be estimated that the installation state of the camera 20 is abnormal, and if the NG time or the number of NG frames is smaller than the set value, it can be estimated that the installation state of the camera 20 is normal.
[0039] Therefore, if the NG time or the NG frame count is not equal to or greater than the set value (No in step S12), the control unit 14 further checks whether the previous judgment stored in the storage unit 17 is an NG recognition result (step S13). If the previous judgment is not an NG recognition result, that is, if the recognition result is OK (No in step S13), the previous judgment can be applied to the current judgment as is, so the control unit 14 stores an OK recognition result in the storage unit 17, as in the previous judgment (step S19).
[0040] The case where the NG time or the NG frame count is equal to or greater than the set value in step S12 (Yes in step S12) will be described later (steps S20 to S26 in FIG. 4).
[0041] On the other hand, if the NG time or NG frame count is not equal to or greater than the set value, that is, even though it can be estimated that the installation state of the camera 20 is normal (No in step S12), if the previous judgment is a recognition result of NG (Yes in step S13), the previous judgment cannot be applied as is to the current judgment. Therefore, the control unit 14 generates a camera installation OK event again (step S14). The camera installation OK event is an event that is generated when it is determined that the state of the camera 20 is normal.
[0042] Control unit 14 determines whether or not there is a setting for audio output by notification unit 15 (step S15). If there is a setting for audio output by notification unit 15 (Yes in step S15), notification unit 15 outputs a sound indicating that camera installation is OK, indicating that the state of camera 20 is normal, based on an instruction from control unit 14 (step S16). If notification by notification unit 15 is by image, signal, or the like, control unit 14 can determine whether or not there is a setting for display output by notification unit 15.
[0043] Furthermore, the control unit 14 determines whether or not there is an event output setting for outputting a camera installation OK event to an external device such as the communication terminal 40 (step S17). If there is an event output setting (Yes in step S17), the transceiver unit 16 transmits a camera installation OK event to the communication terminal 40 based on an instruction from the control unit 14 (step S18). If there is no event output setting (No in step S17) or after transmitting the camera installation OK event (step S18), the control unit 14 stores the recognition result OK in the storage unit 17 (step S19).
[0044] Next, the flowchart of Fig. 4 will be described. If the NG time or the NG frame count is equal to or greater than the set value in step S12 (Yes in step S12) and the previous determination was not that the recognition result was OK, that is, that the recognition result was NG (No in step S13), the previous determination can be applied to the current determination as is, so the control unit 14 stores the recognition result NG in the storage unit 17 in the same way as the previous determination (step S26).
[0045] On the other hand, if the NG time or NG frame count is equal to or greater than the set value in step S12 (Yes in step S12), and although it can be estimated that the installation state of the camera 20 is abnormal, the previous judgment is a recognition result of OK (Yes in step S20), the previous judgment cannot be applied as is to the current judgment. Therefore, the control unit 14 generates a camera installation NG event again (step S21). The camera installation NG event is an event that indicates that it is generated when it is determined that the state of the camera 20 is not normal, that is, abnormal.
[0046] The control unit 14 determines whether or not the notification unit 15 is set to output audio (step S22). If the notification unit 15 is set to output audio (Yes in step S22), the notification unit 15 outputs audio indicating that the camera installation is NG, indicating that the state of the camera 20 is normal, based on an instruction from the control unit 14 (step S23). If the notification by the notification unit 15 is an image, a signal, or the like, the control unit 14 can determine whether or not the notification unit 15 is set to output a display.
[0047] Furthermore, the control unit 14 determines whether or not there is an event output setting for outputting a camera installation OK event to an external device such as the communication terminal 40 (step S24). If there is an event output setting (Yes in step S24), the transceiver unit 16 transmits a camera installation NG event to the communication terminal 40 based on an instruction from the control unit 14 (step S25). If there is no event output setting (No in step S24) or after transmitting the camera installation NG event (step S25), the control unit 14 stores the recognition result NG in the storage unit 17 (step S26).
[0048] As described above, the control unit 14 can basically determine that the condition of the camera 20 is normal when the recognition result by the image recognition unit 13 is OK, and can determine that the condition of the camera 20 is abnormal when the recognition result is NG.
[0049] As a result, it is determined whether the state of camera 20 capturing the interior of the vehicle is normal or abnormal according to the recognition result by image recognition unit 13, so that it is possible to grasp an abnormality in camera 20 without checking the video. Therefore, if an abnormality occurs, such as a deviation in the installation attitude (installation angle) of camera 20 capturing the interior of the vehicle or a problem with the captured video, the occurrence of the abnormality can be detected at an early stage.
[0050] However, when the vehicle information indicates that the vehicle 1 is stopped, the control unit 14 does not determine that the state of the camera 20 is abnormal. That is, when the vehicle information indicates that the vehicle 1 is stopped, such as during a break (No in step S5) or while stopped (No in step S6), the control unit 14 does not determine that the state of the camera 20 is abnormal. This is natural if the output of the image recognition unit 13 indicates that the recognition result is OK, but even if the recognition result is NG, the driver may be absent during a break or while stopped, so the NG is corrected to OK to maintain the state (step S9).
[0051] That is, when the vehicle 1 is stopped, the state of the camera 20 capturing the image of the interior of the vehicle is not determined to be abnormal, and unnecessary determinations can be avoided. For example, when the object is a part of the driver's body, such as the hand or face, and the driver has disembarked, the object will not be detected from the image captured by the camera 20 even if the state of the camera 20 is normal. In such a case, by not determining that the state of the camera 20 is abnormal, it becomes possible to detect an abnormality in the camera 20 that matches the actual situation.
[0052] Therefore, while the vehicle is traveling and a safe driving support function is required, an abnormality in the state of the camera 20 can be detected early according to the actual situation. Therefore, the safe driving support function based on the image captured by the camera 20 can be appropriately executed.
[0053] Furthermore, even if the recognition result by the image recognition unit 13 is NG as in steps S8 and S9, the control unit 14 can correct the recognition result to OK when the vehicle 1 is stopped.
[0054] As a result, even if the object cannot be detected, if the vehicle is stopped, the recognition result is corrected to OK, thereby preventing the camera 20 from being mistakenly determined to be in an abnormal state.
[0055] Furthermore, as a precondition for step S11, the control unit 14 provisionally determines whether the state of the camera 20 is normal or abnormal for each of the multiple captured images obtained in the retroactive time. Then, when the ratio of the captured images that were abnormal to the provisionally determined results for a predetermined number of captured images exceeds a certain value, it can be determined that the state of the camera 20 is abnormal (Yes in step S12).
[0056] This allows the state of camera 20 to be provisionally determined for each of a plurality of captured images, and then the state of camera 20 is determined based on whether or not the proportion of captured images that were abnormal exceeds a certain value, thereby improving the accuracy of determining the state of camera 20.
[0057] In this embodiment, the vehicle information includes vehicle status such as occupied, empty, and resting, and the control unit 14 can determine whether the status of the camera 20 is normal or abnormal by taking the vehicle information into account.
[0058] This allows the state of the camera 20 to be determined taking into account typical vehicle states that the vehicle 1 can be in, including an occupied vehicle, an empty vehicle, and a resting vehicle, thereby improving the accuracy of determining the state of the camera 20.
[0059] Furthermore, when the recognition result by the image recognition unit 13 is NG, if the vehicle state is neither occupied nor empty, that is, during a break, the recognition result can be corrected to OK (step S9). This corrects the recognition result to OK if the vehicle is during a break, making it possible to prevent the camera 20 from being erroneously determined to be in an abnormal state.
[0060] The object to be detected may be a part of the body of a driver of the vehicle 1. This allows the state of the camera 20, which captures the interior of the vehicle 1, to be judged based on the presence or absence of detection of a driver, who is a typical subject captured by the camera 20, which captures the interior of the vehicle 1, and therefore the accuracy of judging the state of the camera 20 can be improved.
[0061] The abnormality determination device 10 of the embodiment includes a notification unit 15 that notifies the occurrence of an abnormality in the camera 20 when the control unit 14 determines that the state of the camera 20 is abnormal (step S23). This makes it easier for a crew member to notice the occurrence of an abnormality in the camera 20, enabling a prompt response.
[0062] Furthermore, the abnormality determination device 10 of the embodiment includes a transceiver 16 that transmits a signal indicating the occurrence of an abnormality in the camera 20 to the communication terminal 40 when the control unit 14 determines that the state of the camera 20 is abnormal (step S25). This makes it easier for a person holding the communication terminal 40 to notice the occurrence of an abnormality in the camera 20, enabling a prompt response.
[0063] In this embodiment, an on-vehicle device 5 that is generally mounted on a vehicle includes an abnormality determination device 10. Since the on-vehicle device 5 performs the function of the abnormality determination device 10, the value of the on-vehicle device 5 is improved.
[0064] As shown in FIG. 5, the abnormality determination system 100 including the vehicle-mounted device 5 and the communication terminal 40 can take appropriate measures when an abnormality occurs in the camera 20. First, when an abnormality occurs in the camera 20, the vehicle-mounted device 5 transmits the camera installation NG event generated in step S21 to the communication terminal 40 (step S50). When the communication terminal 40 receives the camera installation NG event (step S30), the manager of the communication terminal 40 judges whether to transmit a camera NG resolution instruction, which is an instruction to resolve the abnormal state of the camera 20 (step S31). The manager judges whether to issue an instruction to resolve the abnormal state of the camera 20 to the driver depending on various factors such as the vehicle 1 and the driver's situation. When the camera NG resolution instruction is not transmitted (No in step S31), the process ends, and the abnormal state of the camera 20 is corrected again later.
[0065] On the other hand, when an instruction to resolve the camera NG is to be sent (Yes in step S31), the communication terminal 40 transmits the instruction to resolve the camera NG to the vehicle-mounted device 5 by operation of the administrator (step S32). The communication terminal 40 receives the instruction to resolve the camera NG (step S51). The driver of the vehicle 1 can be informed of the receipt of the instruction by, for example, the notification unit 15. The driver decides whether or not to accept the instruction to resolve the camera NG (step S52). The driver decides whether or not he or she can resolve the abnormal state of the camera 20 by himself or herself after checking the content of the abnormality.
[0066] If the driver does not accept the instruction to resolve the camera NG problem (No in step S52), the driver uses the vehicle-mounted device 5 to transmit that fact (rejection of the instruction to resolve the camera NG problem), and the communication terminal 40 receives the rejection of the instruction to resolve the camera NG problem (step S33), so the processing ends and the abnormal state of the camera 20 is corrected again later.
[0067] On the other hand, if the driver agrees to the camera NG resolution instruction (Yes in step S52), the driver uses the vehicle-mounted device 5 to transmit that information (agreement to the camera NG resolution instruction), and the communication terminal 40 receives the agreement to the camera NG resolution instruction (step S34). The communication terminal 40 waits for a camera installation OK event transmitted from the vehicle-mounted device 5 when the camera 20 becomes normal as a result of the driver's work (step S35), and continues to determine whether or not the camera installation OK event has been received (step S36). When the camera installation OK event is received (Yes in step S36), the communication terminal 40 notifies the administrator by displaying on a display or the like that the resolution of the camera installation abnormality has been completed (step S37), and ends the process.
[0068] If the camera installation OK event is not received (No in step S36), the communication terminal 40 judges whether a certain time has passed since the camera installation OK event was awaited in step S35 (step S38), and if the certain time has not passed (No in step S38), it continues to wait (step S35). If the certain time has passed (Yes in step S38), it can be assumed that the crew has been working for a certain time but has not been able to restore the state of the camera 20 to normal. Therefore, the communication terminal 40 notifies the manager on a display or the like that the camera installation abnormality cannot be resolved (step S39), and ends the process.
[0069] As described above, in the abnormality determination system 100, after the communication terminal 40 receives from the vehicle-mounted device 5 a camera installation NG event generated when it is determined that the state of the camera 20 is abnormal (step S30), it can transmit to the vehicle-mounted device 5 a camera NG resolution instruction to instruct the vehicle-mounted device 5 to resolve the abnormal state of the camera 20 (step S32). Furthermore, after receiving an acknowledgement signal for the camera NG resolution instruction from the vehicle-mounted device 5 (step S34), if the communication terminal 40 does not receive within a certain time a camera installation OK event generated when it is determined that the state of the camera 20 is normal (Yes in step S38), it generates a notification indicating that the abnormal state of the camera 20 cannot be resolved, and displays on a display or the like that the abnormal state cannot be resolved (step S39).
[0070] This allows the vehicle-mounted device 5 and the communication terminal 40 to exchange events related to the state of the camera 20, making it possible to quickly respond to any abnormality occurring in the camera 20.
[0071] In the abnormality determination system 100, the server 50 can have the same configuration and functions as the abnormality determination device 10. In this case, the server 50 receives captured images and vehicle information via a network, and performs the processing by the abnormality determination device 10 shown in Fig. 2 to Fig. 4. Furthermore, the server 50 exchanges information with the communication terminal 40 in place of the vehicle-mounted device 5 in Fig. 5.
[0072] The communication terminal 40 may have a function of generating a daily report on the operation of the vehicle 1, and the daily report may display a bar indicating the time period during which the camera 20 was in an NG state, together with a speed chart showing the operation record for the day. This daily report allows the manager to comprehensively consider the actual operating conditions of the vehicle 1 and the time period during which the camera 20 was in an NG state, and use it to instruct the driver.
[0073] The present invention is not limited to the above-described embodiments, and various modifications can be adopted within the scope of the present invention. For example, the present invention is not limited to the above-described embodiments, and appropriate modifications, improvements, etc. are possible. In addition, the material, shape, size, number, arrangement location, etc. of each component in the above-described embodiments are arbitrary as long as the present invention can be achieved, and are not limited.
[0074] In the above embodiment, the abnormality determination device 10 determines whether the recognition result is NG in step S8 after determining the vehicle state in steps S5 and S6 in Fig. 2, and corrects the recognition result from NG to OK in step S9 if the recognition result is NG, but the order of the abnormality determination process is not limited to this. For example, before determining whether the vehicle state is running, occupied, or unoccupied, it may be determined whether the recognition result of the captured image is OK or NG, and the vehicle state may be determined if the recognition result is NG.
[0075] Here, the features of the abnormality determination device, the vehicle-mounted device, the abnormality determination system, and the abnormality determination program according to the above-described embodiments of the present invention will be briefly summarized and listed in the following [1] to
[11] .
[0076] [1] An image acquisition unit (11) that acquires a captured image from a camera (20) that captures an image of the interior of a vehicle (1); A vehicle information acquisition unit (12) that acquires vehicle information including the speed of the vehicle; an image recognition unit (13) that performs image recognition on the captured image, and outputs "OK" as the recognition result if an object is detected, and outputs "NG" as the recognition result if the object cannot be detected; a determination unit (control unit 14) that determines that the state of the camera is normal when the recognition result is OK, and that determines that the state of the camera is abnormal when the recognition result is NG, the determination unit does not determine that the state of the camera is abnormal when the vehicle information indicates that the vehicle is stopped; Abnormality determination device (10).
[0077] According to the abnormality determination device having the configuration of [1] above, it is possible to detect an abnormality in the camera by determining whether the state of the camera capturing the interior of the vehicle is normal or abnormal according to the recognition result by the image recognition unit. Therefore, if an abnormality occurs such as a deviation in the installation posture (installation angle) of the camera capturing the interior of the vehicle or a problem with the captured image, it is possible to grasp the occurrence of the abnormality at an early stage without checking the image.
[0078] In addition, when the vehicle is stopped, the camera capturing the interior of the vehicle is not judged to be abnormal, so unnecessary judgments can be avoided. For example, if the object is a part of the driver's body, such as the driver's hand or face, when the driver gets off the vehicle, the object will not be detected from the camera's image even if the camera is in a normal state. In such cases, by not judging the camera to be abnormal, it is possible to detect camera abnormalities in a way that suits the actual situation.
[0079] Therefore, when the vehicle is traveling and a safe driving support function is required, an abnormality in the camera state can be detected early according to the actual situation, and the safe driving support function based on the image captured by the camera can be appropriately executed.
[0080] [2] Even if the recognition result is NG, the determination unit corrects the recognition result to OK when the vehicle is stopped. The abnormality determination device according to [1].
[0081] According to the abnormality determination device having the configuration [2] above, even if the target object cannot be detected, if the vehicle is stopped, the recognition result is corrected to OK, thereby preventing the camera state from being mistakenly determined to be abnormal.
[0082] [3] The judgment unit provisionally judges whether the state of the camera is normal or abnormal for each of the multiple captured images, and judges that the state of the camera is abnormal when the proportion of the captured images that are abnormal among the provisional judgment results for a predetermined number of captured images exceeds a certain value. The abnormality determination device according to [1].
[0083] According to the abnormality judgment device having the configuration [3] above, the camera state is provisionally judged for each of a plurality of captured images, and then the camera state is judged based on whether or not the proportion of captured images that were abnormal exceeds a certain value, thereby improving the accuracy of judging the camera state.
[0084] [4] The vehicle information includes vehicle status such as occupied, vacant, and resting, The determination unit determines whether the state of the camera is normal or abnormal by taking into account the vehicle information. The abnormality determination device according to [1].
[0085] According to the abnormality determination device having the configuration [4] above, the camera state is determined by taking into account typical vehicle states that the vehicle can be in, including an occupied vehicle, an empty vehicle, and a resting vehicle, thereby improving the accuracy of determining the camera state.
[0086] [5] When the recognition result is NG, and the vehicle status is neither an occupied vehicle nor an empty vehicle, the recognition result is corrected to OK. The abnormality determination device according to [4].
[0087] According to the abnormality determination device having the configuration of [5] above, if the user is taking a break, the recognition result is corrected to OK, thereby making it possible to prevent the camera condition from being mistakenly determined to be abnormal.
[0088] [6] The object is a part of the body of a driver of the vehicle or a part of an article worn by the driver. The abnormality determination device according to [1].
[0089] According to the abnormality determination device having the configuration of [6] above, the state of the camera is determined based on the presence or absence of detection of a part of the driver's body or a part of an article worn by the driver, which is a typical subject captured by a camera capturing an image of the interior of a vehicle. This makes it possible to prevent erroneous determination that the state of the camera is abnormal when no driver is in the vehicle, and improves the accuracy of determination of the state of the camera.
[0090] [7] A notification unit (15) that notifies the occurrence of an abnormality in the camera when the determination unit determines that the state of the camera is abnormal. The abnormality determination device according to [1].
[0091] According to the abnormality determination device having the configuration described above in [7], crew members can easily notice abnormalities in the camera, enabling them to take prompt action.
[0092] [8] A transmitter (transmitter / receiver 16) that transmits a signal indicating an abnormality in the camera to a communication terminal when the determination unit determines that the state of the camera is abnormal. The abnormality determination device according to [1].
[0093] According to the abnormality determination device having the configuration described above in [8], the person holding the communication terminal can easily notice an abnormality occurring in the camera, enabling the person to take prompt action.
[0094] [9] An in-vehicle device (5) comprising an abnormality determination device according to any one of [1] to [8].
[0095] According to the in-vehicle device having the configuration described above in [9], the in-vehicle device functions as an abnormality determination device, thereby improving the value of the in-vehicle device.
[0096]
[10] [9] An in-vehicle device according to the present invention; An abnormality determination system (100) including a communication terminal (40) capable of communicating with the vehicle-mounted device, The communication terminal includes: receiving, from the vehicle-mounted device, a camera installation NG event generated when it is determined that the state of the camera is abnormal, transmitting, to the vehicle-mounted device, a camera NG resolution instruction for instructing the vehicle-mounted device to resolve the abnormal state of the camera; If a camera installation OK event, which is generated when it is determined that the state of the camera is normal, is not received within a certain time period after receiving an acknowledgement signal for the camera NG resolution instruction from the vehicle-mounted device, a notification of anomaly resolution not possible, which indicates that the abnormality state of the camera cannot be resolved, is generated. Anomaly detection system.
[0097] According to the abnormality determination system configured as described above in
[10] , the in-vehicle unit and the communication terminal exchange events related to the status of the camera, making it possible to quickly respond to any abnormalities occurring in the camera.
[0098]
[11] A step (S1) of acquiring an image from a camera that photographs the interior of a vehicle; acquiring vehicle information including a speed of the vehicle (S1, S2); A step (S3) of performing image recognition on the captured image, and outputting "OK" as the recognition result if an object is detected, and outputting "NG" as the recognition result if the object cannot be detected; A step (S8) of determining that the state of the camera is normal when the recognition result is OK, and determining that the state of the camera is abnormal when the recognition result is NG; Run the following on your computer: In the step of determining the state of the camera, if the vehicle information indicates that the vehicle is stopped (No in S6), the state of the camera is not determined to be abnormal (S9); Abnormality detection program.
[0099] According to the abnormality determination program configured as described above in
[11] , the camera status is judged to be normal or abnormal according to the recognition result by the image recognition unit, so that the abnormality of the camera can be grasped without checking the image. Therefore, if an abnormality occurs such as a deviation in the installation angle of the camera capturing the interior of the vehicle or a problem with the captured image, the occurrence of the abnormality can be detected at an early stage. [Explanation of symbols]
[0100] 1 vehicle 5 Onboard equipment 10 Abnormality determination device 11 Image acquisition section 12 Vehicle information acquisition unit 13 Image Recognition Unit 14 Control section (judgment section) 15. Notification Department 16 Transmitter / receiver (transmitter) 17 Memory section 20 Camera 30 Vehicle Parts 40 Communication terminal 50 Servers 100 Abnormality Judgment System
Claims
1. an image acquisition unit that acquires a captured image from a camera that captures an image of the interior of a vehicle; A vehicle information acquisition unit that acquires vehicle information including a speed of the vehicle; an image recognition unit that performs image recognition on the captured image, and outputs "OK" as a recognition result when an object is detected, and outputs "NG" as the recognition result when the object cannot be detected; a determination unit that determines that the state of the camera is normal when the recognition result is OK, and that determines that the state of the camera is abnormal when the recognition result is NG, the determination unit does not determine that the state of the camera is abnormal when the vehicle information indicates that the vehicle is stopped; Abnormality determination device.
2. The determination unit corrects the recognition result to "OK" even if the recognition result is "NG" when the vehicle is stopped. The abnormality determination device according to claim 1 .
3. the determination unit provisionally determines whether the state of the camera is normal or abnormal for each of a plurality of captured images, and determines that the state of the camera is abnormal when a ratio of the captured images that are abnormal to the provisional determination results for a predetermined number of captured images exceeds a certain value; The abnormality determination device according to claim 1 .
4. The vehicle information includes vehicle status information indicating whether the vehicle is in operation, whether it is empty, and whether it is resting. The determination unit determines whether the state of the camera is normal or abnormal by taking into account the vehicle information. The abnormality determination device according to claim 1 .
5. When the recognition result is NG, if the vehicle state is neither an occupied vehicle nor an empty vehicle, the recognition result is corrected to OK. The abnormality determination device according to claim 4.
6. The object is a part of the body of a driver of the vehicle or a part of an article worn by the driver. The abnormality determination device according to claim 1 .
7. a notification unit that notifies the occurrence of an abnormality in the camera when the determination unit determines that the state of the camera is abnormal; The abnormality determination device according to claim 1 .
8. a transmitter that transmits a signal indicating an abnormality in the camera to a communication terminal when the determination unit determines that the state of the camera is abnormal; The abnormality determination device according to claim 1 .
9. An in-vehicle device comprising the abnormality determination device according to any one of claims 1 to 8.
10. The vehicle-mounted device according to claim 9 , An abnormality determination system including a communication terminal capable of communicating with the vehicle-mounted device, The communication terminal includes: receiving, from the vehicle-mounted device, a camera installation NG event generated when it is determined that the state of the camera is abnormal, transmitting, to the vehicle-mounted device, a camera NG resolution instruction which is a signal instructing the vehicle-mounted device to resolve the abnormal state of the camera; If a camera installation OK event that is generated when it is determined that the state of the camera is normal is not received within a certain time after receiving an acknowledgement signal of the instruction to resolve the camera NG from the vehicle-mounted device, a notification is generated indicating that the abnormal state of the camera cannot be resolved. Anomaly detection system.
11. acquiring an image from a camera that photographs an interior of a vehicle; obtaining vehicle information including a speed of the vehicle; performing image recognition on the captured image, and outputting "OK" as the recognition result if an object is detected, and outputting "NG" as the recognition result if the object cannot be detected; determining that the state of the camera is normal when the recognition result is OK, and determining that the state of the camera is abnormal when the recognition result is NG; Run the following on your computer: In the step of determining the state of the camera, if the vehicle information indicates a stopped state of the vehicle, the state of the camera is not determined to be abnormal. Abnormality detection program.
Citation Information
Patent Citations
On-vehicle camera posture change detection device and method
JP2018098715A
