Determination device and method of driver getting off-in

The method improves driver in/out status detection in fisheye images by using bounding region analysis in video frames, enhancing accuracy and simplifying the process without relying on key point information.

JP2024144285APending Publication Date: 2024-10-11FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024048139
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-25
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing skeleton detection models for fisheye images in video surveillance have low accuracy, and conventional methods for determining a driver's in/out status based on skeletal relationships are complex and difficult to implement.

Method used

A method and device for determining a driver's in/out status using bounding region of interest within video frames, without requiring key point information, by analyzing the positional relationships between the steering wheel and handle bounding boxes or other relevant areas in consecutive video frames.

Benefits of technology

Accurately determines the driver's in/out status using only target boundary frame information, improving detection accuracy and simplifying the implementation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024144285000001_ABST
    Figure 2024144285000001_ABST
Patent Text Reader

Abstract

To provide a determination device and a method of driver getting off-in status.SOLUTION: A determination method includes: determining a boundary region of interest in a current video frame; determining the state of a driver in the current video frame based on the boundary region of interest and a driver boundary frame in the current video frame; and determining the getting off-in status of the driver based on the status of the driver in consecutive video frames. With this, the getting off-in status of the driver can be determined.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of image processing. [Background technology]

[0002] With the development of information technology, image-based target detection technology is more and more widely adopted. For example, in the field of video surveillance, target detection technology can be used to detect targets in video frames to obtain the bounding box information of the target, or obtain the keypoint information of the target. The keypoints here include, for example, 18 keypoints of the skeleton of a target person (subject), namely, neck, nose, left shoulder, right shoulder, left waist, right waist, left eye, right eye, left elbow, right elbow, left knee, right knee, left ear, right ear, left wrist, right wrist, left ankle and right ankle.

[0003] It should be noted that the introduction of the above background art is intended to clearly and completely explain the technical solutions of the present invention, and to facilitate understanding thereof by those skilled in the art, and these technical solutions are described in the background art of the present invention, and therefore should not be construed as being known to those skilled in the art. Summary of the Invention [Problem to be solved by the invention]

[0004] The inventor has found that, although the skeleton detection model can function normally for general images, the accuracy of skeleton detection is low for fisheye images. In addition, the conventional method for determining whether the driver is in or out of the vehicle is based on the rules for the positional relationship between each part of the driver's skeleton, and the method is complicated and difficult to implement. Therefore, further research into a more general method is needed.

[0005] In view of at least one of the above problems or other similar problems, an object of the present invention is to provide a method and device for determining whether a driver is in or out of the vehicle, which can improve detection accuracy. [Means for solving the problem]

[0006] According to one aspect of the embodiment of the present invention, there is provided a driver alighting / getting-out state determination device, the device comprising: a first determining unit for determining a boundary region of interest within a current video frame; a second determination unit for determining a state of a driver in the current video frame according to the boundary region of interest and a driver boundary frame in the current video frame; and A third determining unit is included for determining an up-down or up-down state of the driver based on the state of the driver in successive video frames.

[0007] According to another aspect of an embodiment of the present invention, there is provided a computing device, comprising a memory and a processor, the memory storing a computer program, the processor being configured to execute the computer program to realize a method, namely: Determine a boundary region of interest within the current video frame; determining a state of a driver in the current video frame based on the boundary region of interest and a driver boundary frame in the current video frame; and The method includes determining an up or down state of the driver based on a state of the driver in successive video frames. Effect of the Invention

[0008] According to an embodiment of the present invention, the driver's getting-out / getting-out state can be determined by using only the target bounding box information obtained based on the in-vehicle video, without needing key point information. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a diagram illustrating an application scenario of an embodiment of the present invention. [Diagram 2] FIG. 2 is another diagram illustrating an application scenario of an embodiment of the present invention. [Diagram 3] FIG. 4 is a diagram showing a method for determining whether a driver is in or out of the vehicle in an embodiment of the present invention. [Figure 4] FIG. 2 illustrates a diagram of determining a boundary region of interest by a method according to an embodiment of the present invention. [Diagram 5] FIG. 11 is another diagram illustrating determining a boundary region of interest by a method according to an embodiment of the present invention. [Figure 6] FIG. 11 is another diagram illustrating determining a boundary region of interest by a method according to an embodiment of the present invention. [Figure 7] FIG. 11 is another diagram illustrating determining a boundary region of interest by a method according to an embodiment of the present invention. [Figure 8] FIG. 11 is another diagram illustrating determining a boundary region of interest by a method according to an embodiment of the present invention. [Figure 9] FIG. 2 shows a boundary region of interest obtained by a method according to an embodiment of the present invention. [Figure 10] FIG. 4 is another diagram showing a boundary region of interest obtained by the method according to an embodiment of the present invention. [Figure 11] FIG. 2 illustrates the driver's state in successive video frames. [Figure 12] FIG. 11 is another diagram showing the method for determining whether the driver is in or out of the vehicle in the embodiment of the present invention. [Figure 13] FIG. 13 is a diagram showing an example illustrating the effect of the method according to the embodiment of the present invention. [Figure 14] FIG. 11 is another diagram showing an example illustrating the effect of the method according to the embodiment of the present invention. [Figure 15] FIG. 2 is a diagram showing a driver alighting / getting-off state determination device according to an embodiment of the present invention. [Figure 16] FIG. 4 is another diagram showing the driver alighting / getting out of the vehicle state determination device according to the embodiment of the present invention. [Figure 17] FIG. 2 illustrates a computer device according to an embodiment of the present invention. [Figure 18] FIG. 2 is another diagram illustrating a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] The above and other features of the present invention will become apparent from the following detailed description and the accompanying drawings, in which: While the specification and drawings disclose certain embodiments of the present invention, these are illustrative of only some of the embodiments which may employ the principles of the present invention, and it is to be understood that the present invention is not limited to the described embodiments, but rather includes all modifications, variations and alternatives which fall within the scope of the appended claims.

[0011] In the embodiment of the present invention, the application scenario is taken as an example of a forklift, and a 360° camera head image (i.e., fisheye image) taken by a drive recorder on the roof of the forklift is taken as an example. However, the present invention is not limited to this, and the application scenario of the embodiment of the present invention may be other vehicles, and the video image according to the embodiment of the present invention may be acquired by other camera heads, which may be installed inside the vehicle or outside the vehicle, for example, on a utility pole on the side of the road.

[0012] 1 and 2 are diagrams showing two application scenarios of an embodiment of the present invention. FIG. 1 shows a counter forklift, the left rectangular frame is a handle bounding box, and the right rectangular frame is a steering wheel bounding box. FIG. 2 shows a reach forklift, the left rectangular frame is a handle bounding box, and the right rectangular frame is a steering wheel bounding box. In addition, the present invention does not limit the method of obtaining the bounding box, and the bounding box can be obtained by performing target detection on the video frame, for example, by detecting the target detector. In addition, all conventional target detection method models, networks, etc. can be applied to the present invention, or can be preset, for example, when the target detector cannot detect the target bounding box, or when the reliability of the detected target bounding box is too low.

[0013] Various embodiments of the present invention will now be described in detail with reference to the drawings.

[0014] <Example of the first aspect> In an embodiment of the present invention, a method for determining whether a driver is in or out of the vehicle is provided. Figure 3 is a diagram showing a method for determining whether a driver is in or out of the vehicle in an embodiment of the present invention. As shown in Figure 3, the method includes the following steps:

[0015] 301: determining a boarding region of interest (ROI) in a current video frame; 302: determining a state of a driver in the current video frame based on the boundary region of interest and a driver boundary frame in the current video frame; and 303: Determine the driver's up / down status based on the driver's status in consecutive video frames.

[0016] Note that, although the above-mentioned FIG. 3 is for illustrative purposes of the embodiment of the present invention, the present invention is not limited thereto. For example, the execution order between each operation (step) can be appropriately adjusted, or some operations can be added or removed. Those skilled in the art are not limited to the description of the above-mentioned FIG. 3, and can make appropriate modifications based on the above-mentioned contents.

[0017] According to the above embodiment, the driver's getting-out / getting-out state can be determined by using only the target bounding box information obtained based on the in-vehicle video, without needing the key point information.

[0018] In the embodiment of the present invention, in step 301, the boundary region of interest is a region related to the driver's up and down movement, and may be generated based on the current video frame, and may be generated based on the position of the steering wheel and / or the position of the handle in the current video frame. However, the present invention is not limited thereto, and in different scenarios, the part (region) related to the driver's up and down movement may be different, for example, in some scenarios, the foot pedal may also be related to the driver's up and down movement, in which case the boundary region of interest may be generated based on other parts (regions) related to the driver's up and down movement.

[0019] In some embodiments, the bounding region of interest is determined based on a steering wheel bounding box and a handle bounding box in the current video frame.

[0020] For example, the boundary region of interest is a region surrounding the steering wheel boundary frame, and the boundary region of interest is located at a predetermined position of the handle boundary frame, for example, the upper left corner of the handle boundary frame, depending on the driver's operating scenario and / or the location of the image capture device (for example, a dashcam, a camera head, etc.), and for example, the boundary region of interest may be between the steering wheel boundary frame and the handle boundary frame.

[0021] Taking a countertop forklift as an example, as shown in Figure 4, when the driver moves to the countertop forklift along the direction indicated by the dotted arrow, the boundary region of interest 40 is the region surrounding the steering wheel boundary frame 41, and the boundary region of interest 40 may be located in the lower right corner of the handle boundary frame 42. As shown in Figure 5, when the driver moves to the countertop forklift along the direction indicated by the dotted arrow, the boundary region of interest 50 is the region surrounding the steering wheel boundary frame 51, and the boundary region of interest 50 may be located in the upper left corner of the handle boundary frame 52.

[0022] Taking a reach forklift as an example, as shown in Figure 6, when the driver moves to the reach forklift along the direction indicated by the dotted arrow, the boundary region of interest 60 may be located between a steering wheel boundary frame 61 and a handle boundary frame 62. As shown in Figure 7, when the driver moves to the reach forklift along the direction indicated by the dotted arrow, the boundary region of interest 70 may be located between a steering wheel boundary frame 71 and a handle boundary frame 72.

[0023] In the above-described embodiment, it is described that the boundary regions of interest 40, 50 surround the steering wheel bounding frame 41, 51, where "surrounding" may refer to completely surrounding or partially surrounding, and for example, the boundary regions of interest 40, 50 are considered to surround the steering wheel bounding frame 41, 51 when the overlap area between the boundary regions of interest 40, 50 and the steering wheel bounding frame 41, 51 accounts for a predetermined value (threshold), for example, 90% or more of the area of ​​the steering wheel bounding frame 41, 51.

[0024] In the above embodiment, the positional relationship between the boundary region of interest 40, 50, 60, 70 and the handle boundary frame 42, 52, 62, 72 is described, but the positional relationship here is relative, and there may be overlap between the two, or there may be no overlap, and when there is no overlap, the distance between the two may be very small, for example, 0, that is, the two are adjacent to each other, or may be greater than 0, that is, there is a predetermined distance between the two (for example, a distance equal to or less than a predetermined value (threshold)). Note that the present invention does not limit the overlapping area between the two when they overlap and the distance between the two when they do not overlap.

[0025] In another embodiment, the bounding region of interest is determined based on a steering wheel bounding box within the current video frame.

[0026] For example, the boundary region of interest may surround the steering wheel bounding frame and the center point of the current video frame, and the height of the boundary region of interest may be smaller than a preset first threshold and the width of the boundary region of interest may be smaller than a preset second threshold, i.e., the boundary region of interest may be a region having a predetermined height and width that surrounds the steering wheel bounding frame and the center point of the current video frame.

[0027] Taking a countertop forklift or a reach forklift as an example, as shown in FIG. 8, a boundary region of interest 80 surrounds a steering wheel bounding frame 81 and a center point O of the current video frame, and in the example of FIG. 8, the center point O of the current video frame does not coincide with the center of the steering wheel bounding frame 81, but the present invention is not limited thereto.

[0028] In the above embodiment, a height threshold (i.e., the first threshold) and a width threshold (i.e., the second threshold) are preset, and the region whose height is smaller than the first threshold, whose width is smaller than the second threshold, and which surrounds the steering wheel bounding frame 81 and the center point O of the current video frame is defined as the bounding region of interest 80.

[0029] In the above embodiment, the values ​​of the first threshold and the second threshold are not limited, and may be set based on the area of ​​the steering wheel bounding frame, may be set based on the area of ​​the current video frame, or may be set taking into account other factors, for example, may be set based on the relationship between the steering wheel bounding frame and the center point of the current video frame.

[0030] In some other embodiments, the boundary region of interest is determined based on the current video frame.

[0031] For example, the boundary region of interest surrounds the center point of the current video frame, and the height of the boundary region of interest is less than a preset third threshold, and the width of the boundary region of interest is less than a preset fourth threshold, i.e., the boundary region of interest may be a region having a predetermined height and width that surrounds the center point of the current video frame.

[0032] In the above embodiment, a height threshold (i.e., the third threshold) and a width threshold (i.e., the fourth threshold) are preset, and the region whose height is smaller than the third threshold, whose width is smaller than the fourth threshold, and which surrounds the center point of the current video frame is defined as the boundary region of interest.

[0033] In the above embodiment, the values ​​of the third threshold and the fourth threshold are not limited, and may be set based on the area of ​​the current video frame, or may be set taking into account other factors, for example, based on the relationship between the steering wheel bounding box, the handle bounding box, and the center point of the current video frame.

[0034] In the above-mentioned embodiments, the acquisition method of the steering wheel boundary frame and the handle boundary frame is not limited, and the steering wheel boundary frame and the handle boundary frame can be obtained by any target detection method, or the steering wheel boundary frame and the handle boundary frame can be obtained by a predefined method. For details, refer to the related art, and the detailed description is omitted here.

[0035] Fig. 9 is a diagram showing the boundary region of interest obtained by the method in the embodiment of the present invention. In the example of Fig. 9, a countertop forklift is taken as an example, in which the boundary frame 90 is the boundary region of interest determined by the method in the embodiment of the present invention, and the boundary frame 91 is the driver boundary frame. Fig. 10 is another diagram showing the boundary region of interest obtained by the method in the embodiment of the present invention. In the example of Fig. 10, a reach forklift is taken as an example, in which the boundary frame 100 is the boundary region of interest determined by the method in the embodiment of the present invention, and the boundary frame 101 is the driver boundary frame.

[0036] In an embodiment of the present invention, in step 302, a driver state related to the driver's lifting and lowering operation can be defined, for example, a state in which the driver has left the forklift (outside the forklift) is defined as state 0, which is called the first state, and a state in which the driver is inside the forklift is defined as state 1, which is called the second state. Thus, it can be determined whether the driver's state in the current video frame is the first state or the second state based on the relationship between the boundary region of interest determined in step 301 and the driver boundary frame.

[0037] For example, if the driver boundary frame does not overlap with the boundary region of interest, the state of the driver in the current video frame is regarded as a first state, i.e., the driver is away from (gets off) the forklift in the current video frame, and for example, if the driver boundary frame overlaps with the boundary region of interest, the state of the driver in the current video frame is regarded as a second state, i.e., the driver is inside the forklift in the current video frame.

[0038] It should be noted that the above two states are merely examples, and more states related to the driver's getting off and getting off operation may be defined for determining the subsequent driver getting off and getting off state according to needs.

[0039] In the above embodiment, the driver boundary frame is not limited to the acquisition method, and the driver boundary frame may be obtained by any target detection method, or may be obtained by a predefined method, just like the steering wheel boundary frame and the handle boundary frame. For details, refer to the related art, and the detailed description is omitted here.

[0040] In the embodiment of the present invention, since the driver's getting off and getting on actions are continuous, in step 303, the driver's getting off and getting on status can be determined based on the driver's status in the continuous video frames.

[0041] For example, first, a state changing timing is determined based on the state of the driver in successive video frames, i.e., it is determined whether a change in the driver state has occurred, for example, from an away state to an in state, or from an in state to an away state; then, based on the state changing timing and the state of the driver in the successive video frames, the driver's off-board state is determined, i.e., whether the driver has got on or off.

[0042] In the above-mentioned embodiment, the state transition timing is determined, for example, as follows: when the number of consecutive video frames in which the driver's state is in a first state (referred to as first consecutive video frames) among the consecutive video frames is greater than a fifth threshold, the number of consecutive video frames in which the driver's state is in a second state (referred to as second consecutive video frames) is greater than a sixth threshold, and the first consecutive video frames and the second consecutive video frames are consecutive, the state transition timing is deemed to exist.

[0043] FIG. 11 shows the driver's state in successive video frames.

[0044] As shown in the upper consecutive video frames of Figure 11, the number of first consecutive video frames (consecutive video frames whose state is state 0) is greater than or equal to n1 (fifth threshold), the number of second consecutive video frames (consecutive video frames whose state is state 1) is greater than or equal to n2 (sixth threshold), and the first consecutive video frames and the second consecutive video frames are consecutive, so it is determined that a state transition timing exists.

[0045] As shown in the consecutive video frames at the bottom of Figure 11, the number of first consecutive video frames (consecutive video frames whose state is state 0) is greater than or equal to n4 (the fifth threshold), the number of second consecutive video frames (consecutive video frames whose state is state 1) is greater than or equal to n3, and the first consecutive video frames and the second consecutive video frames are consecutive, so it is determined that a state transition timing exists.

[0046] In the above embodiment, after the state transition timing is determined, the driver's getting off or on state can be determined based on the state transition timing and the driver's state in the consecutive video frames, that is, whether the driver has gotten on or off can be determined.

[0047] For example, as shown in the top of Figure 11, if the driver's state in consecutive video frames immediately before the state change timing is a first state, and the driver's state in consecutive video frames immediately after the state change timing is a second state, it is determined that the driver is in an up-vehicle state.

[0048] Also, for example, as shown in the bottom of Figure 11, if the driver's state in consecutive video frames immediately before the state change timing is the second state and the driver's state in consecutive video frames immediately after the state change timing is the first state, it is determined that the driver is in a dismounted state.

[0049] In the above embodiment, in the start stage of the video and the middle stage of the video, the process of the driver getting on and off the vehicle is reflected in the video frames, so the number of consecutive video frames of the same state is different, for example, in the start stage of the video, the number of video frames in which the driver's state is state 0 is relatively small, and in the middle stage of the video, the number of video frames in which the driver's state is state 0 is relatively large. Therefore, the present invention can set the above-mentioned fifth threshold value and the above-mentioned sixth threshold value for the video stage.

[0050] For example, the fifth and sixth thresholds corresponding to consecutive video frames at the beginning of the video are different from the fifth and sixth thresholds corresponding to consecutive video frames at the middle of the video. This can further improve the detection accuracy, and therefore the accuracy of the judgment can be further improved. However, the present invention is not limited thereto, and the above-mentioned fifth and sixth thresholds may be set to uniform values ​​without being set for each stage of the video. For example, whether it is the beginning of the video or the middle of the video, one fixed fifth threshold and one fixed sixth threshold are set to simplify the operation (processing).

[0051] In the above embodiment, the values ​​of the fifth and sixth thresholds may be the same or different, and may be the same at different stages of the video or different at different stages of the video.

[0052] 12 is another diagram showing a method for determining whether the driver has left or right the vehicle in an embodiment of the present invention, illustrating a process from acquiring a video frame to determining whether the driver has left or right the vehicle. As shown in FIG. 12, the process includes the following steps:

[0053] 1201: An input video frame / picture enters the network model; 1202: Generate keypoints of person's skeleton; 1203: Recognize (identify) the driver; 1204: defines the driver's state; 1205: Find state transition timing; and 1206: Check the boarding and unboarding events.

[0054] Note that, although the above-mentioned FIG. 12 is for illustrative purposes, the present invention is not limited thereto. For example, the execution order between each operation (step) can be appropriately adjusted, or some operations can be added or removed. Those skilled in the art are not limited to the description of the above-mentioned FIG. 12, and can make appropriate modifications based on the above-mentioned contents.

[0055] For example, step 1202 is optional and, for example, the driver's state in step 1204 may be preset and may, for example, augment the step of determining the boundary region of interest.

[0056] 13 is a diagram showing an example of the effect of the method according to the embodiment of the present invention. In the example of FIG. 13, a countertop forklift is taken as an example, and the fifth threshold is 14, the sixth threshold is 15, the driver boundary frame is 130, and the boundary area of ​​interest is 131, as shown in FIG.

[0057] In frame 1142 (the 1142nd frame) (left side of Figure 13), the driver's state is detected to be "state 1", i.e., the driver is inside the forklift, and the driver's state detected in the immediately following 14 frames (frames 1143 to 1156) is "state 1" throughout, i.e., the driver is inside the forklift for a total of 15 frames; in frame 1157 (middle of Figure 13), the driver's state is detected to be "state 0", i.e., the driver is outside the forklift, and the driver's state detected in the immediately following 13 frames (frames 1158 to 1170) is "state 0" throughout, i.e., the driver is outside the forklift for a total of 14 frames; and in frame 1171 (right side of Figure 13), the driver is not detected. In this case, the method according to the embodiment of the present invention can determine that a state transition timing exists, that is, determine that there is a state transition timing in the 1157th frame, and determine that the driver is in an off-vehicle state.

[0058] 14 is another diagram showing an example of the effect of the method according to the embodiment of the present invention. In the example of FIG. 14, a reach forklift is taken as an example, and the fifth threshold is 15, the sixth threshold is 15, the driver boundary frame is 140, and the boundary area of ​​interest is 141, as shown in FIG.

[0059] In the 943rd frame (left side of FIG. 14), the driver's state is detected as "state 0", i.e., the driver is outside the forklift, and the driver's state detected in the immediately following 15 frames (frames 944 to 957) is "state 0" throughout, i.e., the driver is outside the forklift for a total of 16 frames; in the 958th frame (middle of FIG. 14), the driver's state is detected as "state 1", i.e., the driver is inside the forklift, and the driver's state detected in the immediately following 14 frames (frames 959 to 971) is "state 1" throughout, i.e., the driver is inside the forklift for a total of 15 frames; and in the 972th frame (right side of FIG. 14), the driver is not detected. In this case, the method according to the embodiment of the present invention can determine that there is a state change timing, i.e., it can be determined that there is a state change timing in the 958th frame, and it can be determined that the driver is in the up-mounted state.

[0060] Although the above-mentioned embodiments are provided to exemplify the embodiments of the present invention, the present invention is not limited to these, and furthermore, appropriate modifications can be made based on the above-mentioned embodiments. For example, the above-mentioned embodiments may be used alone, or a combination of two or more of the above-mentioned embodiments may be used.

[0061] According to an embodiment of the present invention, the driver's getting-out / getting-out state can be determined by using only the target bounding box information obtained based on the in-vehicle video, without needing key point information.

[0062] <Example of the second aspect> In the embodiment of the present invention, a driver getting off and getting on vehicle state determination device is provided, and the principle by which the device solves the problem is the same as that of the embodiment of the first aspect, so the description of the same content as that of the embodiment of the first aspect will be omitted here.

[0063] 15 is a diagram showing a driver getting off / on board state determination device in an embodiment of the present invention. As shown in FIG. 15, the driver getting off / on board state determination device 1500 includes:

[0064] A first determining unit 1501: determining a boundary region of interest in a current video frame; A second determining unit 1502: determining a state of the driver in the current video frame according to the boundary region of interest and a driver boundary frame in the current video frame; and A third determining unit 1503: determining the driver's up / down status according to the driver's status in consecutive video frames.

[0065] In some embodiments, the first determination unit 1501 determines a boundary region of interest based on a steering wheel bounding frame and a handle bounding frame in a current video frame, or based on a steering wheel bounding frame in a current video frame, or based on a current video frame.

[0066] In some embodiments, the boundary region of interest surrounds the steering wheel bounding box and the boundary region of interest is at a predetermined position of the handle bounding box.

[0067] In some embodiments, the bounding region of interest is between the steering wheel bounding box and the handle bounding box.

[0068] In some embodiments, the bounding region of interest surrounds the steering wheel bounding box and a center point of the current video frame, and the height of the bounding region of interest is less than a pre-defined first threshold and the width of the bounding region of interest is less than a pre-defined second threshold.

[0069] In some embodiments, the bounding region of interest surrounds a center point of the current video frame, and the height of the bounding region of interest is less than a preset third threshold and the width of the bounding region of interest is less than a preset fourth threshold.

[0070] In some embodiments, when the driver boundary frame does not overlap with the boundary region of interest, the second determination unit 1502 determines that the state of the driver in the current video frame is a first state, and when the driver boundary frame overlaps with the boundary region of interest, the second determination unit 1502 determines that the state of the driver in the current video frame is a second state.

[0071] In some embodiments, the third determination unit 1503 determines a state transition timing based on the state of the driver in consecutive video frames, and determines the driver's uphill / downhill state based on the state transition timing and the state of the driver in consecutive video frames.

[0072] For example, when the number of consecutive video frames in which the driver's state is in a first state is greater than a fifth threshold, the number of consecutive video frames in which the driver's state is in a second state is greater than a sixth threshold, and the consecutive video frames in which the driver's state is in the first state and the consecutive video frames in which the driver's state is in the second state are consecutive, the third determination unit 1503 determines that a state transition timing exists.

[0073] For example, if the driver's state in consecutive video frames immediately before the state change timing is a first state and the driver's state in consecutive video frames immediately after the state change timing is a second state, the third determination unit 1503 determines that the driver is in an up-vehicle state; if the driver's state in consecutive video frames immediately before the state change timing is a second state and the driver's state in consecutive video frames immediately after the state change timing is a first state, the third determination unit 1503 determines that the driver is in a down-vehicle state.

[0074] In an embodiment of the present invention, the fifth and sixth threshold values ​​corresponding to consecutive video frames in a starting stage of the video are the same as or different from the fifth and sixth threshold values ​​corresponding to consecutive video frames in an intermediate stage of the video.

[0075] In an embodiment of the present invention, the above-mentioned fifth threshold value and the above-mentioned sixth threshold value are the same or different.

[0076] 16 is another diagram showing a driver getting off / on board state determination device according to an embodiment of the present invention. As shown in FIG. 16, the driver getting off / on board state determination device includes:

[0077] Detection module 1601: performs target detection on an input video frame, and obtains a target bounding box, a target person key point, etc. in the video frame; and Identification module 1602: Determine a boundary region of interest in a current video frame, determine the state of the driver in the current video frame based on the boundary region of interest and a driver boundary frame in the current video frame, and determine the driver's up / down state based on the state of the driver in consecutive video frames.

[0078] In the above embodiment, the identification module 1602 may be realized by the driver getting off / on board state judgment device of FIG. 15, and may realize the driver getting off / on board state judgment method in the embodiment of the first aspect, the contents of the embodiment of the first aspect are incorporated herein, and detailed description thereof will be omitted here.

[0079] Although only the components or modules related to the present invention have been described above, the present invention is not limited thereto. The driver get-off / get-out state determination devices 1500, 1600 may further include other components or modules, and the specific contents of these components or modules can be found in the related art.

[0080] 15 and 16 show only the connection relationship or signal direction between each component or module, but as can be understood by those skilled in the art, various related technologies such as bus connection may be adopted. In addition, each of the above-mentioned components or modules may be realized by hardware such as a processor, a memory, etc., and the embodiment of the present invention is not limited thereto.

[0081] The above-mentioned embodiments are provided to exemplify the embodiments of the present invention, but the present invention is not limited thereto, and furthermore, appropriate modifications can be made based on the above-mentioned embodiments. For example, the above-mentioned embodiments may be used alone, or a combination of the above-mentioned embodiments may be used.

[0082] According to an embodiment of the present invention, the driver's getting-out / getting-out state can be determined by using only the target bounding box information obtained based on the in-vehicle video, without needing key point information.

[0083] <Example of the third aspect> In an embodiment of the present invention, a computer device is provided, which includes the driver / vehicle status determination device 1500, 1600 described in the embodiment of the second aspect, the contents of which are incorporated herein. The computer device may be, for example, a computer, a server, a workstation, a notebook computer, a smartphone, etc., but the embodiment of the present invention is not limited thereto.

[0084] FIG. 17 is a diagram showing a computer device in an embodiment of the present invention. As shown in FIG. 17, the computer device 1700 may include a processor (e.g., a central processing unit CPU) 1701 and a memory 1702, and the memory 1702 is connected to the central processing unit 1701. The memory 1702 can store various data and can also store programs for information processing, and can execute the programs under the control of the processor 1701. The computer device 1700 further includes a communication interface 1710, which is used to exchange data with the outside, for example, to obtain video data from an image capture device (e.g., a drive recorder, a camera head, etc.) through the communication interface 1710, and to transmit a judgment result to an external device through the communication interface 1710.

[0085] In some embodiments, the functions of the driver up and down status determination devices 1500, 1600 are integrated and implemented in a processor 1701. The processor 1701 is configured to execute the driver up and down status determination method described in the embodiments of the first aspect.

[0086] In some embodiments, the driver up / down status determination devices 1500, 1600 are arranged separately from the processor 1701, for example, the driver up / down status determination devices 1500, 1600 are configured as chips connected to the processor 1701, and the functions of the driver up / down status determination devices 1500, 1600 may be realized under the control of the processor 1701.

[0087] FIG. 18 is another diagram showing a computer device in an embodiment of the present invention. As shown in FIG. 18, the computer device 1700 may further include an input / output interface 1703, an input device 1704, an output device 1705, a storage device 1706, a communication device 1707, a drive 1708, a removable medium 1709, etc., among which the functions of these components are the same as those of the conventional ones, and detailed descriptions thereof are omitted here. It should be noted that the computer device 1700 does not need to include all the components shown in FIG. 18. In addition, the computer device 1700 may further include components not shown in FIG. 18, and the related art can be referred to for this.

[0088] An embodiment of the present invention further provides a computer readable program, which, when executed in an electronic device, causes a computer to perform a method according to an embodiment of the first aspect in the computing device.

[0089] An embodiment of the present invention further provides a storage medium having a computer readable program stored thereon, wherein the computer readable program causes a computer to execute the method according to the embodiment of the first aspect in a computing device.

[0090] The above-mentioned devices and methods may be realized by software or hardware, or may be realized by a combination of hardware and software. The present invention further relates to a computer readable program, which, when executed by a logic component, causes the logic component to realize the above-mentioned devices or components, or causes the logic component to realize the various methods or steps described above. The logic component may be, for example, a Field Programmable Gate Array (FPGA), a microprocessor, a processor for use in a computer, etc. The present invention also relates to a storage medium, such as a hard disk, a magnetic disk, an optical hard disk, a DVD, a flash memory, etc., storing the above-mentioned program.

[0091] Additionally, one or more combinations of the functional blocks depicted in the figures and / or one or more combinations of the functional blocks may be implemented as a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic component, a discrete gate or transistor logic component, a discrete hardware assembly, or any other suitable combination for performing the functions described herein. Also, one or more combinations of the functional blocks depicted in the figures and / or one or more combinations of the functional blocks may be further configured as a combination of computing devices, such as a combination of a DSP and a microprocessor, a combination of multiple microprocessors, one or more microprocessors in communication with a DSP, or any other configuration.

[0092] Furthermore, with respect to the above-mentioned embodiment, the following supplementary notes are disclosed.

[0093] (Appendix 1) A method for determining whether a driver is in or out of a vehicle, comprising the steps of: S1: Determine a boarding region of interest (ROI) in the current video frame; S2: determining a state of a driver in the current video frame based on the boundary region of interest and a driver boundary frame in the current video frame; and S3: The method includes determining an in-vehicle / out-of-vehicle state of the driver based on a state of the driver in successive video frames.

[0094] (Appendix 2) 2. The method according to claim 1, comprising: S1 is determining the boundary region of interest based on a steering wheel bounding box and a handle bounding box in the current video frame.

[0095] (Appendix 3) 3. The method according to claim 2, comprising: the boundary region of interest surrounds the steering wheel bounding box and the boundary region of interest is at a predetermined location of the handle bounding box; or The method, wherein the boundary region of interest is located between the steering wheel bounding frame and the handle bounding frame.

[0096] (Appendix 4) 2. The method according to claim 1, comprising: S1 is determining the bounded region of interest based on a steering wheel bounding frame within a current video frame.

[0097] (Appendix 5) 5. The method according to claim 4, The method, wherein the bounding region of interest surrounds the steering wheel bounding frame and a center point of the current video frame, and the height of the bounding region of interest is less than a preset first threshold and the width of the bounding region of interest is less than a preset second threshold.

[0098] (Appendix 6) 2. The method according to claim 1, comprising: S1 is determining the boundary region of interest based on the current video frame.

[0099] (Appendix 7) 7. The method according to claim 6, comprising: The method, wherein the bounding region of interest surrounds a center point of the current video frame, and a height of the bounding region of interest is less than a preset third threshold and a width of the bounding region of interest is less than a preset fourth threshold.

[0100] (Appendix 8) 2. The method according to claim 1, comprising: S2 is When the driver boundary frame does not overlap with the boundary region of interest, determine that the state of the driver in the current video frame is a first state (state 0); and determining that the state of the driver in the current video frame is a second state (state 1) if the driver bounding box overlaps the bounding region of interest.

[0101] (Appendix 9) 2. The method according to claim 1, comprising: S3 is S31: Determine a state transition timing based on the driver's state in consecutive video frames; and S32: determining a vehicle up / down state of the driver based on the state transition timing and the state of the driver in the consecutive video frames.

[0102] (Appendix 10) 10. The method according to claim 9, S31 is, determining that a state transition timing exists when, among the consecutive video frames, a number of consecutive video frames in which the driver's state is in a first state is greater than a fifth threshold, a number of consecutive video frames in which the driver's state is in a second state is greater than a sixth threshold, and consecutive video frames in which the driver's state is in the first state and consecutive video frames in which the driver's state is in the second state are consecutive.

[0103] (Appendix 11) The method according to claim 9 or 10, The S32 is When the state of the driver in the consecutive video frames immediately before the state transition timing is a first state, and the state of the driver in the consecutive video frames immediately after the state transition timing is a second state, determining that the driver is in an up-vehicle state; and The method determines that the driver is in a dismounted state when the state of the driver in consecutive video frames immediately before the state transition timing is a second state and the state of the driver in consecutive video frames immediately after the state transition timing is a first state.

[0104] (Appendix 12) 11. The method of claim 10, further comprising: A method according to claim 1, wherein the fifth and sixth thresholds corresponding to the successive video frames at a beginning stage of a video are the same as or different from the fifth and sixth thresholds corresponding to the successive video frames at an intermediate stage of a video.

[0105] (Appendix 13) 13. The method according to claim 10 or 12, The method, wherein the fifth threshold and the sixth threshold are the same or different.

[0106] (Appendix 14) A storage medium storing a computer-readable program, A storage medium that causes a computer to execute the driver alighting / getting out of the vehicle state determination method described in any one of Supplementary Notes 1 to 13 in an electronic device.

[0107] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to such embodiments, and any modifications to the present invention fall within the technical scope of the present invention as long as they do not depart from the spirit of the present invention.

Claims

1. A device for determining whether a driver is in or out of a vehicle, a first determining unit for determining a boundary region of interest within a current video frame; A second determination unit for determining a state of the driver in the current video frame according to the boundary region of interest and a driver boundary frame in the current video frame; and and a third determining unit for determining an up-down or up-down state of the driver based on the state of the driver in successive video frames.

2. 2. The apparatus of claim 1, The apparatus, wherein the first determination unit determines the boundary region of interest based on a steering wheel boundary frame and a handle boundary frame in the current video frame, or based on a steering wheel boundary frame in the current video frame, or based on the current video frame.

3. 3. The apparatus of claim 2, the boundary region of interest surrounds the steering wheel bounding box and the boundary region of interest is at a predetermined location of the handle bounding box; or the boundary region of interest is located between the steering wheel bounding box and the handle bounding box; or the bounding region of interest surrounds the steering wheel bounding box and a center point of the current video frame, and the height of the bounding region of interest is less than a preset first threshold and the width of the bounding region of interest is less than a preset second threshold; or The apparatus, wherein the bounding region of interest surrounds a center point of the current video frame, and a height of the bounding region of interest is less than a preset third threshold and a width of the bounding region of interest is less than a preset fourth threshold.

4. 2. The apparatus of claim 1, When the driver boundary frame does not overlap with the boundary region of interest, the second determination unit determines the state of the driver in the current video frame as a first state; When the driver bounding box overlaps with the bounding region of interest, the second determination unit determines the state of the driver in the current video frame as a second state.

5. 2. The apparatus of claim 1, The third determination unit determines a state transition timing based on the state of the driver in successive video frames, and determines the driver's up / down state based on the state transition timing and the state of the driver in the successive video frames.

6. 6. The apparatus of claim 5, The device, wherein the third determination unit determines that a state transition timing exists when, among the consecutive video frames, a number of consecutive video frames in which the driver's state is in a first state is greater than a fifth threshold, a number of consecutive video frames in which the driver's state is in a second state is greater than a sixth threshold, and consecutive video frames in which the driver's state is in the first state and consecutive video frames in which the driver's state is in the second state are consecutive.

7. 6. The apparatus of claim 5, When the state of the driver in the consecutive video frames immediately before the state transition timing is a first state, and the state of the driver in the consecutive video frames immediately after the state transition timing is a second state, the third determination unit determines that the driver is in an up-vehicle state; When the state of the driver in the consecutive video frames immediately before the state transition timing is a second state and the state of the driver in the consecutive video frames immediately after the state transition timing is a first state, the third determination unit determines that the driver is in a dismounted state.

8. 7. The apparatus of claim 6, The apparatus, wherein the fifth and sixth thresholds corresponding to the successive video frames at a beginning stage of a video are the same as or different from the fifth and sixth thresholds corresponding to the successive video frames at an intermediate stage of a video.

9. 7. The apparatus of claim 6, The fifth threshold and the sixth threshold may be the same or different.

10. A computing device including a memory and a processor coupled to the memory, The storage device stores a computer program, The processor executes the computer program to determining a boundary region of interest in a current video frame; determining a state of a driver in the current video frame based on the boundary region of interest and a driver boundary frame in the current video frame; and determining whether the driver is in or out of the vehicle based on the driver's state in successive video frames; 23. A computing device configured to implement a method comprising: