WO2023124384A1 - 确定车辆内乘员的座位及车辆控制方法、装置、电子设备、介质和程序产品 - Google Patents
确定车辆内乘员的座位及车辆控制方法、装置、电子设备、介质和程序产品 Download PDFInfo
- Publication number
- WO2023124384A1 WO2023124384A1 PCT/CN2022/124919 CN2022124919W WO2023124384A1 WO 2023124384 A1 WO2023124384 A1 WO 2023124384A1 CN 2022124919 W CN2022124919 W CN 2022124919W WO 2023124384 A1 WO2023124384 A1 WO 2023124384A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- seat
- detection frame
- target
- occupant
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/08—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60N—SEATS SPECIALLY ADAPTED FOR VEHICLES; VEHICLE PASSENGER ACCOMMODATION NOT OTHERWISE PROVIDED FOR
- B60N2/00—Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
- B60R1/20—Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
- B60R1/29—Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area inside the vehicle, e.g. for viewing passengers or cargo
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/59—Context or environment of the image inside of a vehicle, e.g. relating to seat occupancy, driver state or inner lighting conditions
- G06V20/593—Recognising seat occupancy
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/103—Static body considered as a whole, e.g. static pedestrian or occupant recognition
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/08—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
- B60W2040/0881—Seat occupation; Driver or passenger presence
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2420/00—Indexing codes relating to the type of sensors based on the principle of their operation
- B60W2420/40—Photo, light or radio wave sensitive means, e.g. infrared sensors
- B60W2420/403—Image sensing, e.g. optical camera
Definitions
- the embodiment of the present disclosure is based on the Chinese patent application with the application number 202111682157.3, the application date is December 31, 2021, and the application name is "Determining the seat of the occupants in the vehicle and the vehicle control method and device", and requires the Chinese patent application Priority, the entire content of the Chinese patent application is hereby incorporated by reference into this disclosure.
- the present disclosure relates to the technical field of intelligent driving, and relates to a method, device, electronic device, medium and program product for determining the seat of an occupant in a vehicle and controlling the vehicle.
- Embodiments of the present disclosure at least provide a method, device, electronic device, medium, and program product for determining the seat of an occupant in a vehicle and controlling the vehicle.
- an embodiment of the present disclosure provides a method for determining a seat of an occupant in a vehicle, including:
- each of the first seat areas corresponds to a seat
- each of the second seating areas corresponds to a row of seats or a row of seats
- the seat corresponding to the detection frame of the target occupant is determined according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seat area, and the detection frame of the target occupant.
- the area range of the first seat area is expanded, and based on the expanded area range of the second seat area, Then determine the seat corresponding to the detection frame of the target occupant, thereby reducing the probability of occupant and seat matching or binding failure, and improving the success rate of occupant seat matching.
- the determining a plurality of first seat areas in the vehicle image includes:
- a first seat area corresponding to each seat in the vehicle image is determined according to the seat distribution configuration information of the vehicle.
- the seat distribution configuration information of different models may be different, and the first seat area can be determined more accurately through the seat distribution configuration information of the vehicle.
- the detection frame for each occupant determines the seat corresponding to the detection frame based on the first matching degree between the detection frame and each of the first seat areas, include:
- the first matching degree reaches a first threshold and the seat corresponding to the first seat area is not bound to other detection frames, bind the seat corresponding to the first seat area to the detection frame, And determine that the seat corresponding to the detection frame is the seat corresponding to the first seat area.
- detecting whether other detection frames are bound to the first seat area can avoid binding multiple detection frames to one seat area, thereby avoiding When the vehicle is controlled, it affects the driving of the vehicle.
- the detection frame of each occupant in the vehicle image is at least one of the following: a face detection frame and a human body detection frame.
- the target second seat area corresponding to the detection frame of the target occupant is determined based on the second matching degree between the detection frame of the target occupant and each of the second seat areas, include:
- the second seating area is determined to be a target second seating area corresponding to the detection frame of the target occupant.
- the position range of each seat in a row of seats or a row of seats corresponding to the target second seating area and the detection frame of the target occupant are determined according to the location of the target occupant.
- Seats corresponding to the detection frame including:
- the target second seat area corresponding to the detection frame of the target occupant is determined based on the second matching degree between the detection frame of the target occupant and each of the second seat areas, Also includes:
- the method also includes:
- the target second seat area corresponding to the detection frame of the target occupant is not determined, determine the seat corresponding to the first seat area closest to the detection frame of the target occupant and not bound to other detection frames is the seat corresponding to the detection frame of the target occupant.
- an embodiment of the present disclosure also provides a vehicle control method, including:
- a target action made by the target user within the target detection frame is detected, and vehicle control is performed based on the target action and the seat area corresponding to the target detection frame.
- an embodiment of the present disclosure also provides a device for determining the seat of an occupant in a vehicle, including:
- an acquisition part configured to acquire a vehicle image within the vehicle
- a first determining part configured to determine a plurality of first seat areas in the vehicle image, each first seat area corresponding to a seat;
- a second determining section configured to detect occupants in the vehicle based on the vehicle image, and determine a detection frame for each of the occupants in the vehicle image
- the third determining part is configured to, for each occupant's detection frame, determine the seat corresponding to the detection frame based on the first matching degree between the detection frame and each of the first seat areas;
- a fourth determining part configured to determine a plurality of second seating areas in the vehicle image, each second seating area corresponding to a row of seats or a row of seats;
- the fifth determining part is configured to, for the detection frame of the target occupant whose corresponding target first seating area is not determined based on the first matching degree, based on the detection frame of the target occupant and each of the second seating areas The second matching degree, determining the target second seat area corresponding to the detection frame of the target occupant;
- the sixth determining part is configured to determine the detection frame of the target occupant according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seating area, and the detection frame of the target occupant corresponding seat.
- the first determination part is further configured to: determine the first seat area corresponding to each seat in the vehicle image according to the seat distribution configuration information of the vehicle.
- the third determining part is further configured to: traverse each of the first seating areas in a preset order, and for each first seating area traversed to: calculate the detection The degree of overlap between the frame and the first seating area is used as the first matching degree between the detection frame and the first seating area; when the first matching degree reaches a first threshold and the first seating area If the corresponding seat is not bound to another detection frame, bind the seat corresponding to the first seat area to the detection frame, and determine that the seat corresponding to the detection frame is the seat corresponding to the first seat area .
- the detection frame of each occupant in the vehicle image is at least one of the following: a face detection frame and a human body detection frame.
- the fifth determining part is further configured to: for each detection frame of the target occupant, traverse the second seating area in a preset order, and for each second Seat area: calculating the degree of overlap between the frame of the target occupant and the second seat area as the second matching degree; when the second matching degree reaches a second threshold, determine the second matching degree
- the second seat area is a target second seat area corresponding to the detection frame of the target occupant.
- the sixth determining part is further configured to: determine the target occupant's location based on the detection frame of the target occupant and the position range of each seat in the target second seating area The seat corresponding to the position range where the center point of the detection frame falls is the candidate seat corresponding to the detection frame of the target occupant; if the candidate seat is not bound to other detection frames, determine that the candidate seat is A seat corresponding to the detection frame of the target occupant, and binding the seat corresponding to the candidate seat to the detection frame of the target occupant.
- the fifth determining part is further configured to: for each second seat area traversed to, if the degree of overlap does not reach the second threshold, determine the The second seat area with the largest overlapping area of the detection frames of the target occupant is the target second seat area.
- the seventh determining part is further configured to: if the target second seat area corresponding to the detection frame of the target occupant is not determined, set the corresponding first seat area The seat closest to the detection frame of the target occupant and not bound to other detection frames is determined as the seat corresponding to the detection frame of the target occupant.
- an embodiment of the present disclosure also provides a vehicle control device, including:
- the eighth determination part is configured to determine the user detection frame corresponding to each seat area based on the method for determining the seat of the occupant in the vehicle described in the first aspect or any possible implementation manner of the first aspect;
- the detection part is configured to detect the target action made by the target user within the target detection frame, and perform vehicle control based on the target action and the seat area corresponding to the target detection frame.
- an embodiment of the present disclosure further provides a computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the steps in any one of the above possible implementation manners are performed.
- the embodiments of the present disclosure also provide a computer-readable storage medium, where any computer-readable storage medium stores a computer program, and any computer program executes any of the above-mentioned possibilities when run by a processor. steps in the implementation of .
- an embodiment of the present disclosure further provides a computer program product, including computer readable code, when the computer readable code is run in an electronic device, the processor in the electronic device executes any one of the above-mentioned steps in a possible implementation.
- Fig. 1 shows a flow chart of a method for determining the seat of an occupant in a vehicle provided by an embodiment of the present disclosure
- Fig. 2 shows a schematic diagram of the division method of the first seat area of a 4-seater vehicle provided by an embodiment of the present disclosure
- Fig. 3 shows a flow chart of determining a seat corresponding to the detection frame provided by an embodiment of the present disclosure
- Fig. 4 shows a schematic diagram of a method for calculating the degree of overlap between the detection frame and the first seat area provided by an embodiment of the present disclosure
- Figure 5(a) shows a schematic diagram of the second seating area of a 4-seater vehicle divided by row provided by an embodiment of the present disclosure
- Fig. 5(b) shows a schematic diagram of the second seat area of a 4-seater vehicle divided by column provided by an embodiment of the present disclosure
- Fig. 6 shows a flow chart of determining a target second seat area corresponding to the detection frame of the target occupant provided by an embodiment of the present disclosure
- Fig. 7(a) shows a schematic diagram of determining a target second seat area corresponding to the detection frame of the target occupant provided by an embodiment of the present disclosure
- Fig. 7(b) shows another schematic diagram of determining the target second seat area corresponding to the detection frame of the target occupant provided by the embodiment of the present disclosure
- Fig. 8 shows a flow chart of determining the seat corresponding to the detection frame of the target occupant based on the target second seat area provided by an embodiment of the present disclosure
- Fig. 9 shows a schematic diagram of determining the seat corresponding to the detection frame of the target occupant based on the second target seat area provided by an embodiment of the present disclosure
- Fig. 10 shows a detection method that distances the corresponding first seat area from the target occupant when the target second seat area corresponding to the detection frame of the target occupant is not determined according to an embodiment of the present disclosure.
- Fig. 11 shows a flowchart of a vehicle control method provided by an embodiment of the present disclosure
- Fig. 12 shows a schematic structural diagram of a device for determining the seat of an occupant in a vehicle provided by an embodiment of the present disclosure
- Fig. 13 shows a schematic structural diagram of a vehicle control device provided by an embodiment of the present disclosure
- FIG. 14 shows a schematic structural diagram of a computer device 1400 provided by an embodiment of the present disclosure.
- At least one (item) means one or more
- “multiple” means two or more
- at least two (items) means two or three And three or more
- "and/or” is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, "A and/or B” can mean: only A exists, only B exists, and A exists at the same time and B, where A and B can be singular or plural.
- the character "/" can indicate that the contextual objects are an "or” relationship, which refers to any combination of these items, including any combination of single items (items) or plural items (items).
- At least one item (piece) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c ", where a, b, c can be single or multiple.
- an embodiment of the present disclosure provides a method for determining the seat of an occupant in a vehicle.
- the area range of the first seat area is expanded, Based on the expanded second seat area, the seat corresponding to the detection frame of the target occupant is determined, thereby reducing the probability of occupant and seat matching or binding failure, and improving the success rate of occupant seat matching.
- the method for determining the seat of an occupant in a vehicle provided by the embodiment of the present disclosure,
- the execution subject of the vehicle control method is a vehicle control device (such as a rail transit cockpit intelligent analysis box, a bus cockpit intelligent analysis box), or a server.
- FIG. 1 is a flow chart of a method for determining the seat of an occupant in a vehicle provided by an embodiment of the present disclosure, the method includes steps S101 to S107, wherein:
- Step S101 acquiring a vehicle image in the vehicle
- Step S102 determining a plurality of first seat areas in the vehicle image, each of the first seat areas corresponds to a seat;
- Step S103 Detect occupants in the vehicle based on the vehicle image, and determine a detection frame for each occupant in the vehicle image;
- Step S104 for each occupant's detection frame, based on the first matching degree between the detection frame and each of the first seat areas, determine the seat corresponding to the detection frame;
- Step S105 determining a plurality of second seat areas in the vehicle image, each of the second seat areas corresponds to a row of seats or a row of seats;
- Step S106 for the detection frame of the target occupant whose corresponding target first seating area is not determined based on the first matching degree, based on the second matching degree between the detection frame of the target occupant and each of the second seating areas , determining a target second seat area corresponding to the detection frame of the target occupant;
- Step S107 Determine the seat corresponding to the detection frame of the target occupant according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seating area and the detection frame of the target occupant.
- Step S101 to step S107 will be described in detail below.
- step S101 may include: acquiring a vehicle image in the vehicle in response to satisfying an image acquisition trigger condition.
- the satisfying the image acquisition trigger condition and acquiring the vehicle image of the vehicle can be implemented as any one of the following scenarios:
- Scenario A The driver turns on the vehicle to start the vehicle.
- the vehicle can be started by igniting or electrifying. After the vehicle is started, the vehicle circuit system is connected, the vehicle is connected to the network, and the vehicle image in the vehicle is started to be acquired.
- Scenario B The driver opens the car door or triggers the car's start switch, wherein triggering the car's start switch can be done in at least one of the following ways, such as turning on the vehicle's remote control switch, inserting the vehicle's start key, or using a wearable device to touch the car body. Among them, after detecting that the driver opens the door or triggers the car start switch, the image of the vehicle inside the vehicle is acquired.
- scene C when the vehicle is running, images in the vehicle are collected regularly according to a preset cycle, that is, images of the vehicle in the vehicle can be acquired at intervals.
- the vehicle image is an image including the environment inside the vehicle.
- the content of the vehicle image may include all seats in the vehicle cabin, people in the vehicle, and other pets.
- the vehicle image may be acquired by using a driver monitoring system (driver monitoring system, DMS), and may be photographed by a DMS camera during the acquisition process.
- DMS driver monitoring system
- the detection frame and seat area can be determined based on steps S102 to S107.
- the method of collecting and determining the occupant's seat at time intervals may be used. After one collection, after a preset time interval, the vehicle image is collected again according to the current vehicle condition. Adopting this method can reduce the collection pressure of the DMS system and reduce resource occupation. In actual use, the preset time period can be set as small as possible, so that the DMS system can update the vehicle image in a more timely manner according to the vehicle situation in the vehicle, so that while reducing resource occupation, it can also minimize collection The error between the vehicle image and the real-time vehicle situation in the vehicle.
- the server in response to satisfying an image acquisition trigger condition, performs an operation of acquiring vehicle images in the vehicle.
- the server after it is detected that the vehicle is connected to a preset system, the server corresponding to the preset system can detect whether the vehicle satisfies the image acquisition trigger condition.
- the server may send a vehicle image acquisition request to the vehicle camera or the vehicle host connected to the vehicle camera, so as to acquire the vehicle image in the vehicle.
- the vehicle accessing a preset system may refer to accessing a preset system through a vehicle-mounted system (such as a navigation system built into a vehicle); or it may be through a wearable device (such as smart watch, etc.), connected to the preset system.
- a vehicle-mounted system such as a navigation system built into a vehicle
- a wearable device such as smart watch, etc.
- the server may not acquire the vehicle image in the vehicle.
- the vehicle does not need to be connected to a preset system, and after the vehicle satisfies the image acquisition trigger condition, the vehicle host terminal directly acquires the vehicle image in the vehicle.
- the DMS system on the vehicle side can directly monitor the vehicle in real time, collect vehicle images in the vehicle, and improve the safety of the vehicle.
- the built-in DMS of the vehicle can The system detects the vehicle condition in the vehicle and updates the current vehicle image; after the vehicle returns to normal condition, the server can continue to obtain the vehicle image in the vehicle.
- a plurality of first seat areas in the vehicle image may be determined.
- each said first seat area is an independently seatable seat area inside the vehicle, when dividing the first seat area, each independently seatable seat inside the vehicle can be divided into a first seat area, a There are multiple first seating areas within the vehicle. Exemplarily, as shown in FIG. 2 , a way of dividing the first seating area of a 4-seater vehicle is shown in FIG. 2 .
- this 4-seater vehicle comprises 4 seats respectively, and the upper left is the driver's seat 201, the upper right is the co-driver's seat 202, the lower left and the lower right correspond to two passenger seats (including 203 and 204) respectively, and each seat can be Travel alone with at least one passenger.
- each seat can be divided into a corresponding first seating area, therefore, this 4-seater vehicle includes 4 first seating areas, namely the driver's seat area 201 and the passenger's seat area 202 , the passenger A seating area 203 , and the passenger B seating area 204 .
- the first seating area corresponding to each seat in the vehicle image may be determined according to the seat distribution configuration information of the vehicle. seating area.
- the seat distribution configuration information of the vehicle may exemplarily include the first seat range information of each seat inside the vehicle, the seat position arrangement and the number of seats of the vehicle, and the like.
- the manner of determining the seat distribution configuration information of the vehicle may include: determining the seat distribution configuration information corresponding to the vehicle type information according to the vehicle type information. Wherein, the corresponding relationship between the vehicle type information and the seat distribution configuration information may be stored in advance, and the seat distribution configuration information corresponding to the vehicle type information may be searched based on the corresponding relationship after the seat distribution configuration information of the vehicle is determined.
- the vehicle in the process of determining the vehicle type information of the vehicle, if the vehicle can implement a preset policy of automatically reporting the vehicle type information, the vehicle can automatically report the vehicle type information when the vehicle is connected to the preset system; If the vehicle model used by the occupant is too old to implement the preset automatic reporting strategy, the occupant can report the relevant vehicle type information by himself.
- the first seat range information may include the corresponding image coordinate range information of the first seat area in the vehicle cabin of the vehicle type, and the image coordinate range information may be fixed installed in the vehicle for collecting the above-mentioned vehicle image. After that, it is obtained by dividing the seats of the collected in-vehicle images and calculating the boundary coordinates corresponding to each of the seat areas. Based on the corresponding coordinate range information of the first seating area, each of the first seating areas may be divided from the vehicle image.
- the detection frame of each occupant in the vehicle image is at least one of the following: a face detection frame and a human body detection frame.
- the vehicle image may be input into a pre-trained detection model to determine a detection frame corresponding to each occupant in the vehicle image.
- the detection model used to detect the face detection frame may be a first model
- the detection model used to detect the human body detection frame may be a second model
- the supervised data of the models may be different
- the supervised data of the first model may be pre-marked human face frames
- the supervised data of the second model may be pre-marked human body frames.
- the detection model used to detect the face detection frame and the detection model used to detect the human body detection frame may be the same detection model, and the supervision data of the detection model includes two types, namely, pre- Annotated face frames and pre-annotated body frames.
- step S102 and step S103 can be executed synchronously based on the order shown in FIG. 1 ; or step S102 and step S103 can be executed sequentially. This solution does not impose too many restrictions on the distinction between the above two steps.
- the first matching degree between the above-mentioned detection frame and each of the first seating areas indicates the correlation of spatial positions, and may be based on the overlapping area, degree of overlap, etc. between the detection frame and each of the first seating areas inferred.
- the detection frame of each occupant can be matched with each of the first seating areas.
- the overlapping area between the detection frame and the first seating area can be calculated to determine the Among the plurality of seat areas within the detection frame, the seat area with the largest overlapping area with the detection frame is the seat corresponding to the detection frame, so as to determine the seat occupied by the occupant in the detection frame.
- the above-mentioned step of determining the seat corresponding to the detection frame based on the first matching degree between the detection frame and each of the first seat areas can be realized through steps S301 to S303 :
- Step S301 traversing each of the first seating areas according to a preset order
- the traversal may be performed from the driver's seat first from left to right, and then from top to bottom.
- FIG. 2 there are 4 first seating areas in FIG.
- the order of seat A 203 and passenger B seat 204 is traversed in sequence.
- the traversal may be performed from top to bottom, and then from left to right.
- the driver's seat 201, passenger A seat 203, co-pilot The order of the passenger seat 202 and the passenger B seat 204 is traversed in sequence.
- step S302 For each first seating area traversed to, perform step S302 and step S303:
- Step S302 taking the degree of overlap between the detection frame and the first seat area as the first matching degree between the detection frame and the first seat area;
- the degree of overlap may be, for example, an intersection-over-union (IoU), that is, a ratio of an intersection and a union between the detection frame and the first seating area.
- IOU intersection-over-union
- the first seat area in FIG. 4 is the driver's seat area 401, wherein the middle gray highlighted part is the area 403 jointly contained by the driver's seat area 401 and the detection frame 402, that is, and set area; the synthesis of the driver's seat area and all areas of the detection frame is the intersection area, and the ratio of the intersection area and the union area is obtained to obtain the overlap between the driver's seat area and the detection frame, and this overlap is used as the The first matching degree between the detection frame and the driver's seat area.
- IoU intersection-over-union
- Step S303 when the first matching degree reaches the first threshold and the seat corresponding to the first seating area is not bound to other detection frames, bind the seat corresponding to the first seating area to the A frame is detected, and the seat corresponding to the detection frame is determined as the seat corresponding to the first seat area.
- a first seat area is bound to a certain detection frame, indicating that the first seat area is the seating position of the occupant corresponding to the detection frame.
- the first seat area cannot accommodate multiple people, so in the first matching
- the degree reaches the first threshold, it is detected whether the first seat area is bound to other detection frames, which can avoid the unreasonable situation where multiple detection frames are bound to one seat area and multiple people sit on the same seat. Test results.
- the first threshold of the face detection frame and the first threshold corresponding to the human body detection frame may be different. Since there may be differences in distances and relative angles between multiple different seating areas and the cameras that collect vehicle images, the face detection frame of each seating area can correspond to a first threshold, and the human body detection frame of each seating area can be respectively corresponds to a first threshold.
- the first matching degree between a detection frame and the first seat area reaches the corresponding first threshold, and the seat corresponding to the first seat area If no other detection frame is bound, the seat corresponding to the first seat area is used as the seat corresponding to the detection frame, and the first seat area is bound to the first seat corresponding to its first matching degree. Threshold detection box.
- the first matching degree calculated between the face detection frame of a certain occupant and the first seat area reaches the corresponding first threshold, but the human body detection frame of the occupant and the first seat area If the first matching degree of the area does not reach the corresponding first threshold, bind the first seat area with the face detection frame of the occupant, and determine that the seat corresponding to the face detection frame is the first seat The seat corresponding to the area, and then the face of the occupant is bound to the seat corresponding to the first seating area.
- the human body detection frame of a certain occupant and the first matching degree calculated in the first seat area reach the corresponding first threshold, but the occupant's face detection frame and the first matching degree calculated in the first seating area If the corresponding first threshold is not reached, bind the first seat area to the human body detection frame of the occupant, determine that the seat corresponding to the human body detection frame is the seat corresponding to the first seat area, and then The occupant's human body is bound to the seat corresponding to the first seat area.
- a double matching method can be adopted, and the seat area matching is performed on the human body detection frame and the face detection frame respectively.
- the first matching degree of the area reaches the first threshold, bind the occupant's face detection frame and human body detection frame with the first seat area, and then bind the occupant with the first seat area , so as to improve the binding efficiency.
- the seat area matching can be performed by only using the human body detection frame or the face detection frame, wherein, in the scheme of only using the face detection frame for detection, the face detection frame When the first matching degree with the first seat area reaches the corresponding first threshold, and the seat corresponding to the first seat area is not bound to other detection frames, bind the face detection frame to the first seat area Determine, determine that the seat corresponding to the face detection frame is the seat corresponding to the first seat area, and then bind the occupant's face with the first seat area; when the first matching degree does not exceed the corresponding matching threshold In the case of , the occupant's face is not bound to the first seat area.
- the method of detection using the human body detection frame is similar to the method of detection using the face detection frame.
- the area range of the second seat area is larger than that of the first seat area.
- the second seat area is a seat area including a part of the vehicle gap, and each of the second seat areas Corresponds to a row of seats or a row of seats.
- the second seating area may be determined based on the determined first seating area. Wherein, based on the determined first seating area and the vehicle image, some gaps in the first seating area can be supplemented, and each row or column can be determined as a second seating area; and then the second seating area can be divided according to the vehicle model information
- a plurality of areas within, where each second seating area corresponds to a row of seats, each second seating area can be further divided exemplarily as follows: In the case of two seats in each row of the vehicle , can be divided at 1/2, divided into the left column area and the right column area; in the case of three seats in each row of the vehicle, it can be divided at 1/3, and so on.
- the second seating area can be determined directly based on the vehicle image.
- the gap interval of each row in the vehicle image can be directly removed, and each row in the vehicle is determined as a second seat area, and then the left column area and the second seat area in the second seat area can be divided.
- the right column area similarly, in the scheme of dividing by column, the gap interval of each column in the vehicle image can be directly removed, and each column in the vehicle is determined as a second seat area, and then divided into the second seat area Areas listed above and areas below
- Figure 5(a) what Figure 5(a) shows is a schematic diagram of the second seat area of a 4-seater vehicle divided by row, wherein, Figure 5(a) contains two The second seating area is respectively the second seating area A501 and the second seating area B502; each row includes a left column area and a right column area, and each left column area and each right column area correspond to a seat respectively.
- Figure 5(b) what Figure 5(b) shows is a schematic diagram of the second seat area of a 4-seater vehicle divided by columns, wherein, in Figure 5(b) Contains two second seating areas, respectively the second seating area C503 and the second seating area D504; each row includes a front row area and a rear row area, and each front row area and each rear row area correspond to a seat .
- the step of determining the target second seat area corresponding to the detection frame of the target occupant can be realized through steps S601 to S603, wherein:
- Step S601 traversing the second seating areas in a preset order, for each of the second seating areas traversed;
- the second seat area where the driver's seat is located may be selected according to the actual situation. Region starts and traverses row by row or column by column.
- Step S602 taking the degree of overlap between the detection frame of the target occupant and the second seat area as the second matching degree between the detection frame of the target occupant and the second seat area;
- Step S603 when the second matching degree reaches a second threshold, determine that the second seating area is a target second seating area corresponding to the detection frame of the target occupant.
- the degree of overlap between the detection frame 701 of the target occupant and the second seat area E702, and the detection frame 701 of the target occupant and the second seat area F703 is calculated as the corresponding second matching degree, If the second matching degree corresponding to the detection frame of the target occupant and the second seat area E reaches a second threshold, the second seat area E is determined to be the target second seat area corresponding to the detection frame of the target occupant.
- the overlapping area with the detection frame of the target occupant is the largest
- the second seating area of is the target second seating area.
- the overlapping area of the detection frame 701 of the target occupant and the second seat area G704 is larger than the overlapping area of the detection frame 701 of the target occupant and the second seat area H705, and the The second seat area G704 is determined as the target second seat area corresponding to the detection frame of the target occupant.
- the target occupant is determined according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seating area, and the detection frame of the target occupant.
- the steps of the seat corresponding to the detection frame can be as shown in Figure 8, including step S801 to step S802, wherein:
- Step S801 based on the detection frame of the target occupant and the position range of each seat in the target second seat area, determine that the seat corresponding to the position range where the center point of the detection frame of the target occupant falls is the The candidate seat corresponding to the detection frame of the target occupant;
- the center point between the detection frame of the target occupant and the position range of each seat may be calculated For example, as shown in Figure 9, the Euclidean distance between the detection frame 901 of the target occupant and the center point 902 between the left column area and the center point 903 between the detection frame 901 of the target occupant and the right column area are calculated. Euclidean distance, that is, the straight-line distance between the detection frame of the target occupant and the two center points.
- the seat corresponding to the position range with the shortest straight line distance is determined as the candidate seat corresponding to the detection frame of the target occupant.
- the center point of the detection frame 901 of the target occupant to be bound is shorter than the distance from the left column area to the right column area, and the seat corresponding to the left column area is determined as the target occupant.
- the candidate seat corresponding to the detection box is determined as the candidate seat corresponding to the detection box.
- intersection between the detection frame of the target occupant and each seat in the target second seating area may be calculated respectively, and the larger intersection is taken as the detection frame of the target occupant corresponding candidate seats.
- Step S802 if the candidate seat is not bound to other detection frames, determine that the candidate seat is the seat corresponding to the detection frame of the target occupant, and bind the seat corresponding to the candidate seat to the The detection box of the target occupant.
- the corresponding first seat area is closest to the detection frame of the target occupant and The seat not bound to other detection frames is determined as the seat corresponding to the detection frame of the target occupant.
- the detection frame of the target occupant and the center point of each of the first seating areas may be respectively determined first;
- the seats of other detection frames are determined as the seats corresponding to the detection frame of the target occupant.
- Fig. 10 includes a plurality of second seating areas, namely the first seating area A1001, the first seating area B1002, the first seating area C1003 and the first seating area D1004, the target occupant's
- the detection frame 1005 does not intersect with the above-mentioned four first seating areas. Since the center point of the detection frame of the target occupant has the shortest straight-line distance from the center point of the first seat area A, and no other detection frames are bound, the first seat area A1001 is determined as the detection frame of the target occupant The seat corresponding to 1005.
- an embodiment of the disclosure also provides a vehicle control method, which is executed by an electronic device, as shown in FIG. 11 , which is a method provided by an embodiment of the disclosure.
- Schematic diagram of the vehicle control method including the following steps:
- Step S1101 based on the method for determining the seat of the occupant in the vehicle described in the above embodiment, determine the detection frame corresponding to each of the seat areas;
- Step S1102 Detect the target action made by the target occupant within the target detection frame, and perform vehicle control based on the target action and the seat area corresponding to the target detection frame.
- the control of the vehicle can be realized, wherein, in response to the target instruction corresponding to the occupant's target action, the vehicle executes a corresponding target operation.
- the vehicle control method can be applied in the field of intelligent driving, when it is detected that the target detection frame corresponding to the target occupant is bound to the target seat area.
- the vehicle opens the window above the corresponding door according to the gesture instruction of the passenger and the position where the passenger is sitting. For example, if the passenger who issued the gesture instruction is a passenger in the passenger seat, the window above the door on the passenger side can be opened, thereby realizing targeted control based on passenger seat detection.
- the embodiment of the present disclosure also provides a device for determining the seat of the occupant in the vehicle corresponding to the method for determining the seat of the occupant in the vehicle.
- the above method for determining the seat of the occupant in the vehicle is similar, so the implementation of the device can refer to the implementation of the method.
- FIG. 12 it is a schematic structural diagram of a device for determining the seat of an occupant in a vehicle provided by an embodiment of the present disclosure.
- the device includes: an acquisition part 1201, a first determination part 1202, a second determination part 1203, a third Determination part 1204, fourth determination part 1205, fifth determination part 1206, sixth determination part 1207; wherein,
- An acquisition part 1201 configured to acquire a vehicle image in the vehicle
- the first determining part 1202 is configured to determine a plurality of first seat areas in the vehicle image, and each first seat area corresponds to a seat;
- the second determining part 1203 is configured to detect occupants in the vehicle based on the vehicle image, and determine a detection frame of each occupant in the vehicle image;
- the third determining part 1204 is configured to, for each occupant's detection frame, determine the seat corresponding to the detection frame based on the first matching degree between the detection frame and each of the first seat areas;
- the fourth determination part 1205 is configured to determine a plurality of second seating areas in the vehicle image, each second seating area corresponds to a row of seats or a row of seats;
- the fifth determining part 1206 is configured to, for the detection frame of the target occupant whose corresponding target first seat area is not determined based on the first matching degree, based on the detection frame of the target occupant and each of the second seat The second matching degree of the area, determining the target second seat area corresponding to the detection frame of the target occupant;
- the sixth determining part 1207 is configured to determine the detection of the target occupant according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seating area and the detection frame of the target occupant box corresponding to the seat.
- the first determining part 1202 is further configured to: determine the first seat area corresponding to each seat in the vehicle image according to the seat distribution configuration information of the vehicle.
- the third determining part 1204 is further configured to: traverse each of the first seating areas in a preset order, and for each first seating area traversed to: calculate the The degree of overlap between the detection frame and the first seat area is used as a first matching degree between the detection frame and the first seat area; when the first matching degree reaches a first threshold and the first seat If the seat corresponding to the area is not bound to another detection frame, bind the seat corresponding to the first seat area to the detection frame, and determine that the seat corresponding to the detection frame is the seat corresponding to the first seat area seat.
- the detection frame of each occupant in the vehicle image is at least one of the following: a face detection frame and a human body detection frame.
- the fifth determining part 1206 is further configured to: for each target occupant's detection frame, traverse the second seat area in a preset order, and for each Second seat area: calculate the degree of overlap between the frame of the target occupant and the second seat area as the second matching degree; when the second matching degree reaches a second threshold, determine the The second seat area is a target second seat area corresponding to the detection frame of the target occupant.
- the sixth determining part 1207 is further configured to: determine the target occupant based on the detection frame of the target occupant and the position range of each seat in the target second seating area.
- the seat corresponding to the position range where the center point of the detection frame falls into is the candidate seat corresponding to the detection frame of the target occupant; if the candidate seat is not bound to other detection frames, determine the candidate seat is the seat corresponding to the detection frame of the target occupant, and the seat corresponding to the candidate seat is bound to the detection frame of the target occupant.
- the fifth determining part 1206 is further configured to: for each second seat area traversed to, if the degree of overlap does not reach the second threshold, determine The second seat area with the largest overlapping area of the detection frames of the target occupant is the target second seat area.
- the seventh determination part 1208 is further configured to: if the target second seat area corresponding to the detection frame of the target occupant is not determined, set the corresponding first seat area The seat whose area is closest to the detection frame of the target occupant and which is not bound to other detection frames is determined as the seat corresponding to the detection frame of the target occupant.
- the embodiment of the present disclosure also provides a vehicle control device corresponding to the vehicle control method, because the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the above-mentioned method of determining the seat of the occupant in the vehicle in the embodiment of the present disclosure , so the implementation of the device can refer to the implementation of the method.
- FIG. 13 is a schematic structural diagram of a vehicle control device provided by an embodiment of the present disclosure
- the device includes: an eighth determination part 1301 and a detection part 1302; wherein,
- the eighth determining part 1301 is configured to determine the detection frame corresponding to each seat area based on the method for determining the seat of the occupant in the vehicle described in the above embodiment;
- the detection part 1302 is configured to detect a target action made by a target occupant within the target detection frame, and perform vehicle control based on the target action and the seat area corresponding to the target detection frame.
- a "part" may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course it may also be a unit, a module or a non-modular one.
- FIG. 14 it is a schematic structural diagram of a computer device 1400 provided by an embodiment of the present disclosure, including a processor 1401 , a memory 1402 , and a bus 1403 .
- the memory 1402 is used to store execution instructions, including the memory 14021 and the external memory 14022; the memory 14021 here is also called the internal memory, and is used to temporarily store the operation data in the processor 1401 and the data exchanged with the external memory 14022 such as the hard disk,
- the processor 1401 exchanges data with the external memory 14022 through the memory 14021.
- the processor 1401 communicates with the memory 1402 through the bus 1403, so that the processor 1401 executes the following instructions:
- each first seat area corresponding to a seat
- each second seating area corresponding to a row of seats or a row of seats
- the seat corresponding to the detection frame of the target occupant is determined according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seat area, and the detection frame of the target occupant.
- processor 1401 may also execute the following instructions:
- a target action made by a target occupant within the target detection frame is detected, and vehicle control is performed based on the target action and the seat area corresponding to the target detection frame.
- An embodiment of the present disclosure also provides a computer-readable storage medium, any computer-readable storage medium stores a computer program, and any computer program executes the determination described in the above-mentioned method embodiments when run by a processor A method of seating an occupant in a vehicle, steps of a vehicle control method.
- any one of the storage media may be a volatile or non-volatile computer-readable storage medium.
- the above-mentioned processor can be an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic At least one of Device, PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Central Processing Unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor. Understandably, the electronic device that implements the above processor function may also be other, which is not specifically limited in this embodiment of the present disclosure.
- the above-mentioned computer storage medium/memory can be read-only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Magnetic Random Access Memory (Ferromagnetic Random Access Memory, FRAM), Flash Memory (Flash Memory), Magnetic Surface Memory, CD-ROM, or CD-ROM (Compact Disc Read-Only Memory, CD-ROM) and other memories; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc. .
- An embodiment of the present disclosure also provides a computer program product, any of the computer products carries a program code, and the instructions included in the program code can be used to execute the method for determining the seat of an occupant in a vehicle described in the method embodiment above, For the steps of the vehicle control method, reference may be made to the foregoing method embodiments.
- the above-mentioned computer program product may be implemented by means of hardware, software or a combination thereof.
- the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- a storage medium includes several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
- An embodiment of the present disclosure provides a method and device for determining the seat of an occupant in a vehicle and controlling the vehicle, including: acquiring a vehicle image in the vehicle; determining a plurality of first seat areas in the vehicle image; detecting an occupant in the vehicle based on the vehicle image, Determining the detection frame of each occupant in the vehicle image; for the detection frame of each occupant, based on the first matching degree between the detection frame and each of the first seat areas, determining the seat corresponding to the detection frame; determining the vehicle image a plurality of second seating areas; for the detection frame of the target occupant whose corresponding target first seating area is not determined based on the first matching degree, based on the second matching between the detection frame of the target occupant and each of the second seating areas Determine the target second seat area corresponding to the detection frame of the target occupant; determine the target occupant according to the position range of each seat in a row of seats or a row of seats corresponding to the target second seat area, and the detection frame of the target occupant
- the area range of the first seat area is expanded, and based on the expanded area range of the second seat area, the seat corresponding to the detection frame of the target occupant is determined , thereby reducing the probability of occupant and seat matching or binding failure, and improving the success rate of occupant seat matching.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Transportation (AREA)
- Human Computer Interaction (AREA)
- Aviation & Aerospace Engineering (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Automation & Control Theory (AREA)
- Mathematical Physics (AREA)
- Seats For Vehicles (AREA)
- Air Bags (AREA)
- Image Analysis (AREA)
- Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
Abstract
Description
Claims (21)
- 一种确定车辆内乘员的座位的方法,所述方法由电子设备执行,所述方法包括:获取车辆内的车辆图像;确定所述车辆图像中多个第一座位区域,每一所述第一座位区域对应一个座位;基于所述车辆图像检测所述车辆内的乘员,确定所述车辆图像中每一所述乘员的检测框;针对每一所述乘员的检测框,基于所述检测框与每一所述第一座位区域的第一匹配度,确定与所述检测框对应的座位;确定所述车辆图像中多个第二座位区域,每一所述第二座位区域对应一排座位或一列座位;针对基于所述第一匹配度未确定出对应的目标第一座位区域的目标乘员的检测框,基于所述目标乘员的检测框与每一所述第二座位区域的第二匹配度,确定与所述目标乘员的检测框对应的目标第二座位区域;根据与所述目标第二座位区域对应的一排座位或一列座位中的每一座位的位置范围,以及所述目标乘员的检测框,确定所述目标乘员的检测框对应的座位。
- 根据权利要求1所述的方法,其中,所述确定所述车辆图像中多个第一座位区域,包括:根据所述车辆的座位分布配置信息,确定所述车辆图像中每一座位对应的第一座位区域。
- 根据权利要求1或2所述的方法,其中,所述基于所述检测框与每一所述第一座位区域的第一匹配度,确定与所述检测框对应的座位,包括:按照预设顺序遍历每一所述第一座位区域,针对遍历至的每一所述第一座位区域:将所述检测框与所述第一座位区域的交叠度,作为所述检测框与所述第一座位区域的第一匹配度;在所述第一匹配度达到第一阈值、且所述第一座位区域对应的座位未绑定其他检测框的情况下,将所述第一座位区域对应的座位绑定至所述检测框,并确定所述检测框对应的座位为所述第一座位区域对应的座位。
- 根据权利要求1至3任一项所述的方法,其中,所述车辆图像中每一所述乘员的检测框为以下至少之一:人脸检测框、人体检测框。
- 根据权利要求1至4任一项所述的方法,其中,所述基于所述目标乘员的检测框与每一所述第二座位区域的第二匹配度,确定与所述目标乘员的检测框对应的目标第二座位区域,包括:按照预设顺序遍历每一所述第二座位区域,针对遍历至的每一所述第二座位区域:将所述目标乘员的检测框与所述第二座位区域的交叠度,作为所述目标乘员的检测框与所述第二座位区域的第二匹配度;在所述第二匹配度达到第二阈值的情况下,确定所述第二座位区域为与所述目标乘员的检测框对应的目标第二座位区域。
- 根据权利要求1至5任一项所述的方法,其中,所述根据与所述目标第二座位区域对应的一排座位或一列座位中的每一座位的位置范围,以及所述目标乘员的检测框,确定所述目标乘员的检测框对应的座位,包括:基于所述目标乘员的检测框与所述目标第二座位区域中每一座位的位置范围,确定所述目标乘员的检测框的中心点落入的所述位置范围对应的座位为所述目标乘员的检测框对应的候选座位;在所述候选座位未绑定至其他检测框的情况下,确定所述候选座位为与所述目标乘员的检测框对应的座位,并将所述候选座位对应的座位绑定至所述目标乘员的检测框。
- 根据权利要求5所述的方法,其中,所述基于所述目标乘员的检测框与每一所述第二座位区域的第二匹配度,确定与所述目标乘员的检测框对应的目标第二座位区域,还包括:针对遍历至的每一所述第二座位区域,在所述交叠度未达到所述第二阈值的情况下,确定与所述目标乘员的检测框的交叠面积最大的第二座位区域为目标第二座位区域。
- 根据权利要求1至7任一所述的方法,其中,所述方法还包括:在未确定与所述目标乘员的检测框对应的目标第二座位区域的情况下,将对应的第一座位区域距离所述目标乘员的检测框最近的、且未绑定其他检测框的座位确定为与所述目标乘员的检测框对应的座位。
- 一种车辆控制方法,所述方法由电子设备执行,所述方法包括:基于权利要求1至8任一项所述的确定车辆内乘员的座位的方法,确定每一所述座位区域对应的检测框;检测目标检测框内的目标乘员做出的目标动作,基于所述目标动作以及所述目标检测框对应的座位区域进行车辆控制。
- 一种确定车辆内乘员的座位的装置,包括:获取部分,被配置为获取车辆内的车辆图像;第一确定部分,被配置为确定所述车辆图像中多个第一座位区域,每一所述第一座位区域对应一个座位;第二确定部分,被配置为基于所述车辆图像检测所述车辆内的乘员,确定所述车辆图像中每一所述乘员的检测框;第三确定部分,被配置为针对每一所述乘员的检测框,基于所述检测框与每一所述第一座位区域的第一匹配度,确定与所述检测框对应的座位;第四确定部分,被配置为确定所述车辆图像中多个第二座位区域,每一所述第二座位区域对应一排座位或一列座位;第五确定部分,被配置为针对基于所述第一匹配度未确定出对应的目标第一座位区域的目标乘员的检测框,基于所述目标乘员的检测框与每一所述第二座位区域的第二匹配度,确定与所述目标乘员的检测框对应的目标第二座位区域;第六确定部分,被配置为根据与所述目标第二座位区域对应的一排座位或一列座位中的每一座位的位置范围,以及所述目标乘员的检测框,确定所述目标乘员的检测框对应的座位。
- 根据权利要求10所述的装置,其中,所述第一确定部分,还被配置为:根据所述车辆的座位分布配置信息,确定所述车辆图像中每一座位对应的第一座位区域。
- 根据权利要求10或11所述的装置,其中,所述第三确定部分,还被配置为:按照预设顺序遍历每一所述第一座位区域,针对遍历至的每一第一座位区域:计算所述检测框与所述第一座位区域的交叠度,作为所述检测框与所述第一座位区域的第一匹配度;在所述第一匹配度达到第一阈值、且所述第一座位区域对应的座位未绑定其他检测框的情况下,将所述第一座位区域对应的座位绑定至所述检测框,并确定所述检测框对应的座位为所述第一座位区域对应的座位。
- 根据权利要求10至12任一项所述的装置,其中,所述车辆图像中每一所述乘员的检测框为以下至少之一:人脸检测框、人体检测框。
- 根据权利要求10至13任一项所述的装置,其中,所述第五确定部分,还被配置为:针对每一目标乘员的检测框,按照预设顺序遍历所述第二座位区域,针对遍历至的每一第二座位区域:计算所述目标乘员的测框与所述第二座位区域的交叠度,作为所述第二匹配度;在所述第二匹配度达到第二阈值的情况下,确定所述第二座位区域为与目标乘员的检测框对应的目标第二座位区域。
- 根据权利要求10至14任一项所述的装置,其中,所述第六确定部分,还被配置为:基于所述目标乘员的检测框与所述目标第二座位区域每一座位的位置范围,确定所述目标乘员的检测框的中心点落入的所述位置范围对应的座位为所述目标乘员的检测框对应的候选座位;在所述候选座位未绑定至其他检测框的情况下,确定所述候选座位为与所述目标乘员的检测框对应的座位,并将所述候选座位对应的座位绑定至所述目标乘员的检测框。
- 根据权利要求14所述的装置,其中,所述第五确定部分,还被配置为:针对遍历至的每一第二座位区域,在所述交叠度未达到第二阈值的情况下,确定与所述目标乘员的检测框的交叠面积最大的第二座位区域为目标第二座位区域。
- 根据权利要求10至16任一项所述的装置,其中,所述第七确定部分,还被配置为:在未确定与所述目标乘员的检测框对应的目标第二座位区域的情况下,将对应的第一座位区域距离所述目标乘员的检测框最近的、且未绑定其他检测框的座位确定为与所述目标乘员的检测框对应的座位。
- 一种车辆控制装置,其中,包括:第八确定部分,被配置为基于权利要求1至8任一项所述的确定车辆内乘员的座位的方法,确定每一所述座位区域对应的检测框;检测部分,被配置为检测目标检测框内的目标乘员做出的目标动作,基于所述目标动作以及所述目标检测框对应的座位区域进行车辆控制。
- 一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至8任一项所述的确定车辆内乘员的座位的方法的步骤,或执行如权利要求9所述的车辆控制方法的步骤。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至8任一项所述的确定车辆内乘员的座位的方法的步骤,或执行如权利要求9所述的车辆控制方法的步骤。
- 一种计算机程序产品,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行时执行如权利要求1至8任一项所述的确定车辆内乘员的座位的方法的步骤,或执行如权利要求9所述的车辆控制方法的步骤。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024539629A JP7792005B2 (ja) | 2021-12-31 | 2022-10-12 | 車両内の乗員の座席を決定する方法及び車両制御方法、装置、コンピュータ機器、コンピュータ可読記憶媒体並びにコンピュータプログラム |
| KR1020247024146A KR20240124371A (ko) | 2021-12-31 | 2022-10-12 | 차량 내의 탑승자의 좌석을 결정하는 방법 및 차량 제어 방법, 장치, 전자 기기, 매체 및 프로그램 제품 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111682157.3 | 2021-12-31 | ||
| CN202111682157.3A CN114312580B (zh) | 2021-12-31 | 2021-12-31 | 确定车辆内乘员的座位及车辆控制方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023124384A1 true WO2023124384A1 (zh) | 2023-07-06 |
Family
ID=81023728
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/124919 Ceased WO2023124384A1 (zh) | 2021-12-31 | 2022-10-12 | 确定车辆内乘员的座位及车辆控制方法、装置、电子设备、介质和程序产品 |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JP7792005B2 (zh) |
| KR (1) | KR20240124371A (zh) |
| CN (1) | CN114312580B (zh) |
| WO (1) | WO2023124384A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114312580B (zh) * | 2021-12-31 | 2024-03-22 | 上海商汤临港智能科技有限公司 | 确定车辆内乘员的座位及车辆控制方法及装置 |
| JP7683546B2 (ja) * | 2022-06-01 | 2025-05-27 | トヨタ自動車株式会社 | シートポジション推定装置、シートポジション推定方法及びシートポジション推定用コンピュータプログラム |
| CN115731535A (zh) * | 2022-11-22 | 2023-03-03 | 北京地平线信息技术有限公司 | 确定车辆中目标对象的位置的方法、装置、介质和设备 |
| CN116442869B (zh) * | 2022-12-29 | 2026-02-27 | 上海洛轲智能科技有限公司 | 一种车辆座椅调节方法及装置 |
| CN119018028B (zh) * | 2024-10-29 | 2025-02-18 | 中国第一汽车股份有限公司 | 基于情绪状态的座位排列方法、装置、设备、介质及产品 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110781799A (zh) * | 2019-10-22 | 2020-02-11 | 上海商汤智能科技有限公司 | 车舱内图像处理方法及装置 |
| CN112208475A (zh) * | 2019-07-09 | 2021-01-12 | 奥迪股份公司 | 用于车辆乘员的安全保护系统、车辆及相应的方法和介质 |
| US20210008958A1 (en) * | 2019-07-10 | 2021-01-14 | Ambarella International Lp | Efficient vehicle ac based on car occupancy detected by computer vision |
| CN112947740A (zh) * | 2019-11-22 | 2021-06-11 | 深圳市超捷通讯有限公司 | 基于动作分析的人机交互方法、车载装置 |
| CN114312580A (zh) * | 2021-12-31 | 2022-04-12 | 上海商汤临港智能科技有限公司 | 确定车辆内乘员的座位及车辆控制方法及装置 |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4202908B2 (ja) * | 2003-12-26 | 2008-12-24 | カルソニックカンセイ株式会社 | 車両用乗員検出システム |
| DE102015202304A1 (de) * | 2015-02-10 | 2016-08-11 | Siemens Aktiengesellschaft | Verfahren zum Betreiben eines Fahrzeugs und Fahrzeug |
| JP2016203910A (ja) * | 2015-04-27 | 2016-12-08 | トヨタ自動車株式会社 | 乗員検知装置および乗員検知方法 |
| JP6645416B2 (ja) * | 2016-12-20 | 2020-02-14 | 株式会社デンソー | 乗員検出装置、乗員検出システム、乗員検出方法 |
| CN107392094A (zh) * | 2017-06-14 | 2017-11-24 | 蔚来汽车有限公司 | 自动调整车载音响音效模式的系统和方法 |
| JP6739672B2 (ja) * | 2018-03-22 | 2020-08-12 | 三菱電機株式会社 | 体格推定装置および体格推定方法 |
| CN110103820A (zh) * | 2019-04-24 | 2019-08-09 | 深圳市轱辘汽车维修技术有限公司 | 一种检测车辆中人员的异常行为的方法、装置及终端设备 |
| CN110414406A (zh) * | 2019-07-23 | 2019-11-05 | 广汽蔚来新能源汽车科技有限公司 | 车内对象监管方法、装置、系统、车载终端和存储介质 |
| CN111008566A (zh) * | 2019-11-06 | 2020-04-14 | 湖北工业大学 | 一种基于深度学习的针对校车学生下车遗漏检测装置及方法 |
| CN111275002A (zh) * | 2020-02-18 | 2020-06-12 | 上海商汤临港智能科技有限公司 | 一种图像处理方法、装置及电子设备 |
| CN111460938B (zh) * | 2020-03-20 | 2022-04-08 | 南京领行科技股份有限公司 | 一种车辆行驶行为实时监测方法及装置 |
| CN111738158A (zh) * | 2020-06-23 | 2020-10-02 | 上海商汤临港智能科技有限公司 | 交通工具的控制方法及装置、电子设备和存储介质 |
| CN113159004B (zh) * | 2021-05-27 | 2023-03-10 | 苏州大学 | 轨道交通车厢客流估计方法 |
-
2021
- 2021-12-31 CN CN202111682157.3A patent/CN114312580B/zh active Active
-
2022
- 2022-10-12 JP JP2024539629A patent/JP7792005B2/ja active Active
- 2022-10-12 WO PCT/CN2022/124919 patent/WO2023124384A1/zh not_active Ceased
- 2022-10-12 KR KR1020247024146A patent/KR20240124371A/ko active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112208475A (zh) * | 2019-07-09 | 2021-01-12 | 奥迪股份公司 | 用于车辆乘员的安全保护系统、车辆及相应的方法和介质 |
| US20210008958A1 (en) * | 2019-07-10 | 2021-01-14 | Ambarella International Lp | Efficient vehicle ac based on car occupancy detected by computer vision |
| CN110781799A (zh) * | 2019-10-22 | 2020-02-11 | 上海商汤智能科技有限公司 | 车舱内图像处理方法及装置 |
| CN112947740A (zh) * | 2019-11-22 | 2021-06-11 | 深圳市超捷通讯有限公司 | 基于动作分析的人机交互方法、车载装置 |
| CN114312580A (zh) * | 2021-12-31 | 2022-04-12 | 上海商汤临港智能科技有限公司 | 确定车辆内乘员的座位及车辆控制方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7792005B2 (ja) | 2025-12-24 |
| CN114312580B (zh) | 2024-03-22 |
| CN114312580A (zh) | 2022-04-12 |
| KR20240124371A (ko) | 2024-08-16 |
| JP2025501260A (ja) | 2025-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7792005B2 (ja) | 車両内の乗員の座席を決定する方法及び車両制御方法、装置、コンピュータ機器、コンピュータ可読記憶媒体並びにコンピュータプログラム | |
| US10140533B1 (en) | Apparatuses, systems and methods for generating data representative of vehicle occupant postures | |
| US10223603B1 (en) | Apparatuses, systems, and methods for determining when a vehicle occupant is using a mobile telephone | |
| US10025388B2 (en) | Touchless human machine interface | |
| US12515679B2 (en) | Apparatuses, systems and methods for determining distracted drivers associated with vehicle driving routes | |
| CN103870802A (zh) | 使用指谷操作车辆内的用户界面的系统和方法 | |
| US10783360B1 (en) | Apparatuses, systems and methods for vehicle operator gesture recognition and transmission of related gesture data | |
| US9990553B1 (en) | Apparatuses, systems, and methods for determining degrees of risk associated with a vehicle operator | |
| US10282624B1 (en) | Apparatuses, systems, and methods for determining when a vehicle operator is texting while driving | |
| US10943136B1 (en) | Apparatuses, systems and methods for generating a vehicle driver signature | |
| CN117218716B (zh) | 一种基于dvs的汽车座舱手势识别系统及方法 | |
| US12340602B2 (en) | Apparatuses, systems and methods for generating a vehicle driver signature | |
| CN109614953A (zh) | 一种基于图像识别的控制方法、车载设备及存储介质 | |
| US20220148319A1 (en) | Apparatuses, systems and methods for integrating vehicle operator gesture detection within geographic maps | |
| US20240169744A1 (en) | Apparatuses, systems and methods for generation and transmission of vehicle operation mode data | |
| US10891502B1 (en) | Apparatuses, systems and methods for alleviating driver distractions | |
| US10452933B1 (en) | Apparatuses, systems and methods for generating a vehicle driver model for a particular vehicle | |
| CN118418994A (zh) | 泊车方法、装置、车辆及计算机可读取存储介质 | |
| HK40063397A (zh) | 确定车辆内乘员的座位及车辆控制方法及装置 | |
| CN118552941B (zh) | 一种车辆内人员落座信息检测方法、装置、设备及介质 | |
| CN120295478A (zh) | 一种基于眼动追踪的自动化任务控制方法及装置、车辆 | |
| CN116610216A (zh) | 用于实现人机交互的方法和设备 | |
| WO2024198839A1 (zh) | 基于手势识别的车辆控制方法、装置以及车辆 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22913648 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024539629 Country of ref document: JP |
|
| ENP | Entry into the national phase |
Ref document number: 20247024146 Country of ref document: KR Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22913648 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 11/12/2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22913648 Country of ref document: EP Kind code of ref document: A1 |