In-vehicle child detection method, device and equipment, vehicle and medium

Through the deep learning network model and image segmentation technology, combined with head-to-body ratio judgment, the problem of false positives and false negatives in the detection of child retention in the existing technology has been solved, and higher detection accuracy and efficiency have been achieved.

CN118747882APending Publication Date: 2024-10-08CHINA FAW CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410597536.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The existing technology has the problem of false positives and false negatives when detecting children stranded in the car. Especially in the weight sensing method, it is easy to cause false positives due to improper threshold settings. In video surveillance, it is easy to be affected by light, leading to inaccurate recognition.

Method used

A child detection method in the car based on a deep learning network model is used to determine the age information of the passengers in the car by obtaining video frame images, and perform image segmentation to determine the head-to-body segmentation image, and combine the head-to-body ratio threshold to determine whether there are children stranded.

Benefits of technology

It improves the accuracy of child stranded detection, reduces false detections and missed detections, enhances detection efficiency, and adapts to different lighting conditions and changes in occupant posture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747882A_ABST
    Figure CN118747882A_ABST
Patent Text Reader

Abstract

The invention discloses an in-vehicle child detection method, device and equipment, a vehicle and a medium. The method specifically comprises the following steps: acquiring a video frame image in a target vehicle; processing the video frame image based on a preset deep learning network model, and determining age information of passengers in the vehicle; according to the age information, performing image segmentation on the video frame image, and determining a head body segmentation image of the target person; and according to the head and body segmentation image, determining whether a child stays in the vehicle. In the technical scheme of the embodiment of the invention, the passengers in the vehicle are preliminarily screened according to the age information to determine whether there is a child in the target person, and then whether the target person is a child is further determined through an image processing technology, so that the target person is more accurate from two dimensions of the age and the head and body image. According to the method, the situation that the child is left in the vehicle is detected, false detection and missing detection can be prevented, the detection accuracy of the left child is further improved, and the detection efficiency can be further improved through real-time image detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart vehicle technology, and in particular to a method, device, equipment, vehicle and medium for detecting children in a vehicle. Background Art

[0002] With the progress of society and the development of transportation, private car travel has gradually been favored by more and more users for its convenience, flexibility and high degree of freedom. Therefore, emerging technologies related to vehicles are constantly being developed and promoted, especially with intelligent functions and safety functions as the main research directions. Among them, the safety of children in the car has become a hot topic for technicians in related fields. In particular, incidents of children being stranded in the car occur from time to time, and children are more likely to be injured in hot weather. Therefore, how to effectively and accurately detect whether there are children stranded in the car has become one of the research focuses.

[0003] Currently, the relevant technologies for detecting children trapped in cars use weight-sensing child seats and in-car video surveillance, but different solutions have their own limitations. For example, weight-sensitive child seats are prone to false positives or false negatives due to improper weight threshold settings, and video surveillance is easily affected by light, resulting in inaccurate recognition. Summary of the invention

[0004] The present application provides a method, device, equipment, vehicle and medium for detecting children in a vehicle to improve the accuracy of detecting children staying in the vehicle.

[0005] According to one aspect of the present application, a method for detecting a child in a vehicle is provided, comprising:

[0006] Acquire a video frame image inside the target vehicle;

[0007] The video frame images are processed based on a preset deep learning network model to determine the age information of the passengers in the car;

[0008] According to the age information, the video frame image is segmented to determine the head and body segmentation image of the target person;

[0009] Based on the head-to-body segmentation image, determine whether there is a child trapped in the car.

[0010] According to another aspect of the present application, a child detection device in a vehicle is provided, comprising:

[0011] An image acquisition module is used to acquire a video frame image inside a target vehicle;

[0012] An age determination module is used to process the video frame images based on a preset deep learning network model to determine the age information of the passengers in the car;

[0013] An image segmentation module is used to segment the video frame image according to the age information to determine the head and body segmentation image of the target person;

[0014] The child identification module is used to determine whether there is a child staying in the car based on the head-to-body segmentation image.

[0015] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for detecting children in a vehicle as described in any embodiment of the present application.

[0019] According to another aspect of the present application, a vehicle is provided, wherein the vehicle is provided with an electronic device as provided in an embodiment of the present application.

[0020] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for detecting children in a vehicle as described in any embodiment of the present application when executed.

[0021] In the technical solution of the embodiment of the present application, the occupants in the car are first preliminarily screened based on their age information to determine if there may indeed be stranded children. Then, through image processing technology, it is further determined whether the target person is indeed a child. The situation of stranded children in the car is detected from the two dimensions of age and head and body images. This can not only prevent false detections and missed detections, but also further improve the detection accuracy of stranded children. The real-time image detection can also further improve the detection efficiency.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 is a flow chart of a method for detecting children in a vehicle provided according to Embodiment 1 of the present application;

[0025] Figure 2A is a flow chart of a method for detecting children in a vehicle provided according to Embodiment 2 of the present application;

[0026] Figure 2B is a flowchart of child retention detection provided according to Example 2 of the present application;

[0027] Figure 2C is a schematic diagram of a head and body segmentation image provided according to Embodiment 2 of the present application;

[0028] Figure 3 is a structural schematic diagram of a child detection device in a vehicle provided according to Embodiment 3 of the present application;

[0029] Figure 4 It is a structural schematic diagram of an electronic device for implementing the in-vehicle child detection method of an embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] Embodiment 1

[0033] Figure 1A flowchart of a method for detecting children in a vehicle is provided for the first embodiment of the present application. This embodiment can be applied to detecting whether a child is trapped in a vehicle. The method can be performed by a child detection device in a vehicle. The child detection device in a vehicle can be implemented in the form of hardware and / or software. The child detection device in a vehicle can be configured in an electronic device, and the electronic device can be set in a vehicle. Figure 1 As shown, the method includes:

[0034] S110: Acquire a video frame image of the interior of the target vehicle.

[0035] S120: Process the video frame image based on a preset deep learning network model to determine the age information of the passengers in the vehicle.

[0036] S130. Perform image segmentation on the video frame image according to the age information to determine the head and body segmentation image of the target person.

[0037] S140: Determine whether there is a child trapped in the vehicle based on the head-to-body segmentation image.

[0038] For S110, the target vehicle may be any vehicle that needs to be detected for whether there is a child trapped in the vehicle. The video frame image may be any frame image in a video recording the vehicle interior environment. The video frame image may be acquired in real time through machine vision (such as a camera, etc.).

[0039] For S120, face recognition and age recognition are performed on the video frame image to determine the ages of the passengers appearing in the video frame image. Of course, both face recognition and age recognition can be determined using a pre-set deep learning network model, such as using a yolov8 deep learning network model to detect faces, extracting face images, and then using ssrnet and other age recognition models for regression to obtain the age information of each passenger.

[0040] For S130, the age information of different passengers is generally different. It is possible to first determine whether there are children stranded in the car based on the age information of each passenger. For example, a certain age threshold can be set to screen these passengers. Exemplarily, when it is detected that children and adults exist at the same time based on age information, it is conceivable that the children are not considered to be stranded in the car at this time; when it is detected that only children exist based on age information, the pixel area where the children are located in the video frame image is segmented, for example, by extracting the image. Since there is a certain error in age detection, the passengers determined by age information detection at this time are temporarily considered to belong to the category of children, and such passengers are defined as target persons. The pixel information corresponding to the target person is segmented from head to body, that is, the head and body segmentation image is determined, and the head and body segmentation image can include a head image and a body image.

[0041] For S140, whether the target person is a child is detected based on the head-to-body segmentation image obtained in the aforementioned step. For example, it can be determined by the ratio between the head and the body trunk. Since the head-to-body ratio of children is larger than that of adults, the target person is detected by reasonably setting the threshold of the head-to-body ratio, and finally it is determined whether there is really a child stranded in the car.

[0042] In the technical solution of the embodiment of the present application, the occupants in the car are first preliminarily screened based on their age information to determine if there may indeed be stranded children. Then, through image processing technology, it is further determined whether the target person is indeed a child. The situation of stranded children in the car is detected from the two dimensions of age and head and body images. This can not only prevent false detections and missed detections, but also further improve the detection accuracy of stranded children. The real-time image detection can also further improve the detection efficiency.

[0043] Embodiment 2

[0044] Figure 2A This is a flow chart of a method for detecting children in a car provided in the second embodiment of the present application. The present embodiment of the present application further refines the segmentation operation of the video frame image and the judgment operation of the child staying on the basis of the above embodiment. Figure 2A As shown, the method includes:

[0045] S210: Acquire a video frame image of the interior of the target vehicle.

[0046] S220: Process the video frame image based on a preset deep learning network model to determine the age information of the passengers in the vehicle.

[0047] S230, determining image pixels corresponding to the target person according to the age information;

[0048] S240, performing pixel segmentation on the head and torso of a human body to obtain a head-to-body segmentation image.

[0049] S250: Determine whether there is a child staying in the vehicle based on the head-to-body segmentation image and a preset head-to-body ratio threshold.

[0050] For S230, the target person may be a passenger who may be a child determined by age detection. The image pixels corresponding to the target person may be the pixel area occupied by the target person in the video frame image. The target person is screened out by age information, and the pixels corresponding to the target person are obtained by matting from the video frame image.

[0051] In an optional implementation, determining the image pixels corresponding to the target person based on the age information may include: if the age information is less than a preset age threshold, taking the passenger as the target person; and determining the image pixels based on the position of the target person in the video frame image.

[0052] The preset age threshold can be used as a basis for age detection, for example, it can be set to 12 years old. If the age of the occupant is determined to be less than 12 years old through the deep learning network model algorithm, the occupant can be temporarily considered to be a child (that is, the target person who needs further detection). The position of the target person in the image is determined through the image processing algorithm of the relevant technology, and the pixel area corresponding to the person is cut out for subsequent processing.

[0053] For S240, the target person is divided into two parts, head and torso. Through a pre-set image processing algorithm, the head area and torso area of ​​the target person are respectively identified and segmented from the pixels to obtain a head-to-body segmentation image for subsequent comparison of the head-to-body ratio.

[0054] For S250, the length of the head area and the length of the torso area of ​​the target person in the head-to-body segmentation image are determined respectively, and the two are compared. If the ratio of the head length to the torso length is greater than the preset head-to-body ratio threshold, the target person is determined to be a child, that is, it is determined that a child is stranded in the car; conversely, if the ratio of the head length to the torso length is less than or equal to the preset head-to-body ratio threshold, it is determined that the target person is not a child, that is, it is determined that no child is stranded in the car. In an optional embodiment, the head-to-body ratio threshold is the ratio of the head length to the body length, which can be 1 / 5. That is, when the ratio of the head length to the torso length is greater than 1 / 5, it is determined that a child is stranded in the car; when the ratio of the head length to the torso length is less than or equal to 1 / 5, it is determined that no child is stranded in the car. For example, if the head-to-body ratio of the detected target person is 1 / 8, the target person can be considered to be an adult. In addition, since passengers are usually sitting in the car, the body length identified by the image is different from that of standing. However, since the technical solution of the present application detects the head-to-body ratio, even if the passenger is sitting, the child can be accurately identified based on the head-to-body ratio. Of course, the preset head-to-body ratio can be set by relevant technicians according to actual conditions or manual experience, and the embodiments of the present application do not limit this.

[0055] In the technical solution of the embodiment of the present application, by determining the ratio of the target person's head and body, children are identified on the basis of age recognition, which is not affected by the posture of people in the car, thereby further improving the accuracy of child identification.

[0056] On the basis of the above-mentioned embodiments, the present application also provides a preferred embodiment, such as Figure 2BAs shown, the details are as follows:

[0057] The camera is installed in the front row position such as the reading light in the car, and the camera monitoring video stream information is obtained in real time. The face frame is detected using deep learning network models such as yolov8, and then the face frame is cut out as the input image. The age recognition model such as ssrnet is used to regress the current passenger's age information. If the age is less than 12 years old, it enters the next level of judgment process, otherwise it returns to continue reading the video stream information. The above face recognition and age recognition methods can be replaced by other image processing methods or deep learning models.

[0058] Train image segmentation models such as unet to achieve segmentation of the head and body regions, that is, the segmented image is divided into three categories, namely background, head, and body, with pixel values ​​of 0, 1, and 2 respectively. The segmentation method can use either deep learning methods or traditional image processing methods. Figure 2C shown.

[0059] According to biological theory, children, especially infants and young children, have a larger head relative to their body at birth. Generally speaking, the head-to-body ratio of a newborn is about 1 / 4, meaning that the head area occupies about a quarter of the body. As children age, their bodies grow rapidly, but their heads grow relatively slowly, so the head-to-body ratio gradually decreases.

[0060] Adults usually have a smaller head-to-body ratio, somewhere between 1 / 7 and 1 / 8. This means that the head area of ​​an adult is about one-seventh to one-eighth of the total body area. This ratio varies less between adults because once adulthood begins, the growth rate of the body slows down significantly and the proportions of the parts tend to stabilize.

[0061] This difference in head-to-body ratio has practical applications in many fields, such as art, medicine, and safety technology. The present invention distinguishes between children and adult passengers in a car by using the difference in head-to-body ratio. Specifically, the head area ( Figure 2C Note A) and body area ( Figure 2C If the ratio of B) is greater than 1 / 5, it is determined to be a child. If it is less than or equal to 1 / 5, it is determined to be not a child and the video stream information is read again. Among them, 1 / 5 is an empirical value and can also be freely configured by the vehicle user. If it is determined that a child is stranded, the corresponding alarm device is activated and the driver or guardian is notified by SMS.

[0062] The head-to-body ratio (ratio of head to body) is used as a key indicator to determine whether there are children trapped in the car. Compared with the traditional method that relies on weight sensing or simple video monitoring, the head ratio provides a more intuitive and accurate identification method, especially in complex in-car environments, which can effectively distinguish children from adults and reduce misjudgment. Advanced image processing technology and deep learning algorithms (such as convolutional neural networks) are used to identify the head and body and calculate the head ratio. This method can automatically adapt to different lighting conditions and changes in occupant posture, improving the accuracy of detection and the robustness of the system.

[0063] Embodiment 3

[0064] Figure 3 This is a structural schematic diagram of a child detection device in a vehicle provided in Example 3 of the present application.

[0065] like Figure 3 As shown, the device 300 includes:

[0066] An image acquisition module 310 is used to acquire a video frame image of the interior of a target vehicle;

[0067] The age determination module 320 is used to process the video frame image based on a preset deep learning network model to determine the age information of the passengers in the vehicle;

[0068] An image segmentation module 330 is used to segment the video frame image according to the age information to determine the head and body segmentation image of the target person;

[0069] The child determination module 340 is used to determine whether there is a child staying in the vehicle based on the head-to-body segmentation image.

[0070] In the technical solution of the embodiment of the present application, the occupants in the car are first preliminarily screened based on their age information to determine if there may indeed be stranded children. Then, through image processing technology, it is further determined whether the target person is indeed a child. The situation of stranded children in the car is detected from the two dimensions of age and head and body images. This can not only prevent false detections and missed detections, but also further improve the detection accuracy of stranded children. The real-time image detection can also further improve the detection efficiency.

[0071] In an optional implementation manner, the child determination module may be specifically used to:

[0072] Based on the head-to-body segmentation image and the preset head-to-body ratio threshold, determine whether there is a child trapped in the car.

[0073] In an optional implementation, the head-to-body ratio threshold is a ratio of head length to body length, which may be 1 / 5.

[0074] In an optional implementation, the image segmentation module 330 may include:

[0075] A pixel determination unit, used to determine the image pixels corresponding to the target person according to the age information;

[0076] The image segmentation unit is used to identify the head and torso of the human body and segment the pixels of the image to obtain a head-to-body segmentation image.

[0077] In an optional implementation, the pixel determination unit may include:

[0078] a target person determination subunit, for determining the passenger as a target person if the age information is less than a preset age threshold;

[0079] The image pixel determination subunit is used to determine the image pixels according to the position of the target person in the video frame image.

[0080] The in-vehicle child detection device provided in the embodiments of the present application can execute the in-vehicle child detection method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing each in-vehicle child detection method.

[0081] Embodiment 4

[0082] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0083] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0084] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0085] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the child detection method in the vehicle.

[0086] In some embodiments, the present application also provides a vehicle, which may be provided with an electronic device as described above to implement the in-vehicle child detection method described in each embodiment.

[0087] In some embodiments, the in-vehicle child detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the in-vehicle child detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the in-vehicle child detection method in any other appropriate manner (e.g., by means of firmware).

[0088] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0089] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0090] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0091] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0092] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0093] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0094] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.

[0095] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for detecting children in a vehicle, characterized in that: include: Acquire a video frame image inside the target vehicle; Processing the video frame image based on a preset deep learning network model to determine the age information of the passengers in the vehicle; According to the age information, the video frame image is segmented to determine a head-body segmented image of the target person; It is determined whether there is a child staying in the vehicle according to the head-to-body segmentation image.

2. The method according to claim 1, characterized in that: The determining whether there is a child staying in the vehicle according to the head-to-body segmentation image includes: It is determined whether there is a child staying in the vehicle according to the head-to-body segmentation image and a preset head-to-body ratio threshold.

3. The method according to claim 2, characterized in that The head-to-body ratio threshold is that the ratio of head length to body length is 1 / 5.

4. The method according to claim 1, characterized in that: The step of performing image segmentation on the video frame image according to the age information to determine the head and body segmentation image of the target person includes: Determining image pixels corresponding to the target person according to the age information; The head and torso of a human body are identified and pixel-segmented using the image pixels to obtain the head-to-body segmentation image.

5. The method according to claim 4, characterized in that The step of determining the image pixels corresponding to the target person according to the age information includes: If the age information is less than a preset age threshold, the passenger is regarded as a target person; The image pixels are determined according to the position of the target person in the video frame image.

6. A child detection device in a vehicle, characterized in that: include: An image acquisition module is used to acquire a video frame image inside a target vehicle; An age determination module, used to process the video frame image based on a preset deep learning network model to determine the age information of the passengers in the vehicle; An image segmentation module, used to perform image segmentation on the video frame image according to the age information, and determine a head-body segmentation image of the target person; The child determination module is used to determine whether there is a child staying in the vehicle according to the head-to-body segmentation image.

7. The device according to claim 6, characterized in that The child determination module is specifically used for: It is determined whether there is a child staying in the vehicle according to the head-to-body segmentation image and a preset head-to-body ratio threshold.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for detecting children in a vehicle according to any one of claims 1 to 5.

9. A vehicle, characterized in that: The vehicle is provided with an electronic device as claimed in claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for detecting children in a vehicle according to any one of claims 1 to 5 when executed.

Citation Information

Patent Citations

  • Elevator system capable of monitoring child's use and control method for same

    CN106315324A

  • In-vehicle person detection method and device, electronic equipment and storage medium

    CN113920492A

  • Methods, apparatus, media and equipment for image recognition

    CN114937261A

  • Control method and device for child protection mode of vehicle and electronic equipment

    CN116788181A

  • Method for classifying children and adult bt using head and body height in images

    KR1020160017151A