Image shooting method and device, electronic device and storage medium
Through the shooting instructions input by the user, the shooting angle and range of the outside car camera are adjusted, which solves the problem that the existing driving recorder cannot record the specific scene outside the car that the user is paying attention to in real time, realizes real-time and convenient outside car image shooting, and improves the user experience. experience.
Patent Information
- Application Number
- CN202210441747.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-25
AI Technical Summary
Existing driving recorders cannot record specific scenes or events outside the vehicle that users are concerned about in real time and conveniently while the vehicle is driving, resulting in poor user experience.
Through the shooting instructions input by the user, the user's attention behavior is determined, the shooting angle and range of the camera outside the vehicle are adjusted, the real-time shooting of the environment around the vehicle is achieved, and the specific image the user wants is obtained.
It improves the user's ability to capture images outside the car in real time and conveniently in the car, meets the user's needs for specific images, and improves the user experience.
Smart Images

Figure CN114760417B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of smart cars, and in particular to an image capturing method and device, an electronic device, and a storage medium. Background Art
[0002] With the development of science and technology and the improvement of people's quality of life, cars have gradually become an indispensable means of transportation in life. People can drive cars to travel, commute to get off work, etc., which improves the convenience of transportation. People may have some traffic accidents when driving cars. In order to protect their own interests from being harmed, they can install a driving recorder in the car to ensure their own safety.
[0003] When driving, people may want to record some specific scenes or events in the surrounding environment. However, the dashcam is fixed at a certain position of the vehicle and takes real-time photos. Therefore, it records images in a certain direction within a certain period of time, rather than the specific images in a specific direction within a certain period of time that the user wants. Users can only take photos with their mobile phones, which is not conducive to driving safety and is not convenient for real-time recording of interesting images outside the car. Summary of the invention
[0004] In order to solve the above technical problems, the present disclosure is proposed. The embodiments of the present disclosure provide an image capturing method and device.
[0005] According to one aspect of the present disclosure, there is provided an image capturing method, comprising:
[0006] In response to a shooting instruction of a user, determining a user's attention behavior;
[0007] Based on the user's attention behavior, determining a shooting angle of an external camera of the vehicle;
[0008] Determine the shooting range of each external camera of the vehicle, and determine the external camera whose shooting range includes the shooting angle as the target external camera;
[0009] The target exterior camera is controlled to shoot the environment around the vehicle based on the shooting angle of the exterior camera.
[0010] According to a second aspect of the present disclosure, there is provided an image capturing device, comprising:
[0011] a behavior determination module, configured to determine the user's attention behavior in response to the user's shooting instruction;
[0012] An angle determination module is configured to determine a shooting angle of an external camera based on the user's attention behavior;
[0013] A target external camera determination module is configured to determine a shooting range of each external camera of the vehicle, and determine an external camera whose shooting range includes the shooting angle as a target external camera;
[0014] The shooting module is configured to control the target external camera to shoot the environment around the vehicle based on the shooting angle of the external camera.
[0015] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the image capturing method described in any of the above embodiments of the present disclosure.
[0016] According to a fourth aspect of the present disclosure, an electronic device is provided, the electronic device comprising a processor; a memory for storing instructions executable by the processor;
[0017] The processor is used to read the executable instructions from the memory and execute the instructions to implement the image capturing method described in any of the above embodiments of the present disclosure.
[0018] Based on the image shooting method and device, electronic device and storage medium provided by the above embodiments of the present disclosure, in response to the user's shooting instruction, the user's attention behavior can be determined; and based on the user's attention behavior, the shooting angle of the external camera, that is, the user's attention direction, can be determined. The external camera whose shooting angle is included in the shooting range can be determined as the target external camera, and the target external camera can be controlled to shoot the environment around the vehicle based on the shooting angle, so that the user can shoot the external image in real time and conveniently in the car, obtain the specific image that the user wants to shoot, and improve the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.
[0020] Figure 1 A schematic diagram of a scenario structure applicable to the present disclosure.
[0021] Figure 2 The figure is a flowchart of an embodiment of the image capturing method disclosed in the present invention.
[0022] Figure 3 The present invention is a flowchart of an embodiment of obtaining a shooting instruction input by a user.
[0023] Figure 4 The figure is a schematic diagram of an embodiment of displaying shooting mode confirmation information in a display of the present disclosure.
[0024] Figure 5 The present invention is a flowchart of an embodiment of determining a user's attention behavior.
[0025] Figure 6 The present invention is a flowchart of an embodiment of determining the shooting angle of an external camera of the present invention.
[0026] Figure 7 The present invention is a flowchart of an embodiment of determining the shooting angle of an external camera of the present invention.
[0027] Figure 8 The present invention is a flowchart of an embodiment of determining a target external camera of the present invention.
[0028] Fig. 9 The present invention is a schematic structural diagram of an embodiment of a vehicle provided by the present invention.
[0029] Fig.10 The figure is a flow chart of an embodiment of the present disclosure for photographing the environment around a vehicle.
[0030] Fig.11 The figure is a flow chart of an embodiment of the present disclosure for photographing the environment around a vehicle.
[0031] Fig.12 The present invention is a flowchart of an embodiment of prompting a user whether to take a photo of a vehicle.
[0032] Fig.13 The figure is a flowchart of an embodiment of the present disclosure for determining whether to shoot according to user authority.
[0033] Fig.14 A schematic structural diagram of an embodiment of an image capturing device provided by the present disclosure.
[0034] Fig.15 It is a structural diagram of an embodiment of an electronic device provided by the present disclosure. DETAILED DESCRIPTION
[0035] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0036] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0037] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0038] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.
[0039] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0040] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.
[0041] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0042] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0043] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0044] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0045] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0046] The embodiments of the present disclosure can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0047] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0048] Application Overview
[0049] Cars are an indispensable means of transportation in people's lives. Generally speaking, cars are equipped with dashcams. Dashcams can record images, sounds and other related information while the vehicle is driving. They are essentially cameras. By fixing the dashcam at a certain position of the vehicle and shooting the surrounding environment in a certain direction, the surrounding environment during the driving process of the car can be recorded. It should be noted that when the dashcam is working, it will shoot images in a fixed direction in real time, and record and save the captured images. The saved images are all images captured within a period of time. However, during the driving of the vehicle, people may want to record some specific scenes or specific events in the surrounding environment. For example, when people feel that the surrounding environment is beautiful, they may want to record the scene, or when some emergencies occur around the vehicle, people want to record and report the emergencies. At this time, people want to record a specific image in a specific direction within a specific time. However, the dashcam will only shoot in a fixed direction, and may not be able to obtain images in a specific direction. At the same time, the dashcam will record all images within a period of time. Therefore, the driving recorder cannot obtain the specific image that the user wants to record, which gives the user a poor experience.
[0050] Based on the above technical problems, the present disclosure provides an image shooting system, method and device. When a user has a shooting requirement during driving of a car, the specific images that the user wants to record in a specific direction within a specific time can be obtained to improve the user experience.
[0051] Exemplary Systems
[0052] See also Figure 1 , which is a schematic diagram of a scenario structure applicable to the present disclosure. The system may include: a vehicle 100 and a server 200. The vehicle includes but is not limited to a car, a truck, a motorcycle, a bus, a ship, an airplane, a helicopter, an amusement vehicle, an amusement park vehicle, construction equipment, a tram, a golf cart, a train, etc.
[0053] The vehicle 100 may be provided with a central control computer 110 and a camera group 120, and the camera group may include a plurality of in-vehicle cameras and out-vehicle cameras, and all cameras may be installed at different positions of the vehicle 100. The in-vehicle camera is used to collect images of users in the vehicle and determine the status of the users. The out-vehicle camera is used to collect images of the environment surrounding the vehicle 100 and may obtain specific images that the user wants to record.
[0054] The central control computer 110 can communicate with all the cameras in the camera group, so as to control each camera to shoot or rotate, etc., and can also store the images captured by the camera and perform relevant processing on the images, etc. The central control computer 110 can also control the vehicle 100 to implement some functions according to the instructions input by the user, such as playing music, adjusting the interior lights of the vehicle, etc.
[0055] The server 200 may be a network device. Optionally, the network device may also be a controller, a data center, a cloud platform, etc.
[0056] The central control computer 110 and the server 200 may be connected to each other through a wireless network. Furthermore, the central control computer 110 and the server 200 may exchange data.
[0057] The wireless network can be any wireless communication system, such as a Long Term Evolution (LTE) system or a fifth generation mobile communication system (5G). In addition, it can also be applied to later communication systems, such as sixth generation and seventh generation mobile communication systems.
[0058] For example, the central control computer 110 communicates with the server 200 via a base station.
[0059] The base station includes but is not limited to (base station, BS) or (Base Transceiver Station, BTS). Furthermore, the base station can be a base station (base transceiver station, BTS) in the global system for mobile communication (global system for mobile communication, GSM) or code division multiple access (code division multiple access, CDMA), and can also be an evolutionary base station (eNB / e-NodeB) in LTE, or an evolutionary base station (next generation eNB, ng-eNB) in the next generation LTE, or a base station (gNB) in NR.
[0060] In some embodiments, the vehicle 100 may also be provided with a voice module, which may be connected to the central control computer 110. The user may input a voice command into the voice module, and the voice module may send the user command to the central control computer 110 after recognizing the user command, so that the central control computer 110 may execute the user command.
[0061] In some embodiments, the vehicle 100 may also be provided with a control device, which may be a remote controller or a terminal device, such as a mobile phone, etc. The control device may be connected to the central control computer 110 for communication, and the user may operate the control device to control the central control computer 110, such as inputting commands, etc.
[0062] In some embodiments, a driving recorder may also be provided in the vehicle 100. The driving recorder may be fixed at a preset position in the vehicle 100, for example, fixed at the front windshield of the vehicle, below the rearview mirror. At this time, the driving recorder may capture the environment in front of the vehicle 100 in real time and record the image. It should be noted that the driving recorder in the embodiment of the present disclosure and the aforementioned in-car camera and out-car camera are not the same device. The driving recorder maintains a fixed angle and captures the environment in one direction in real time. The in-car camera and the out-car camera are additional cameras provided on the basis of the driving recorder, which can capture some specific images.
[0063] It should be noted that the above application scenarios are only shown to facilitate understanding of the principles of the present disclosure, and the embodiments of the present disclosure are not limited thereto. On the contrary, the embodiments of the present disclosure can be applied to any scenario that may be applicable.
[0064] The technical solution provided in this embodiment can be implemented by any method of software, hardware, or a combination of software and hardware. Among them, the hardware can provide sound and image input, the software can be implemented by C++ programming language, Java, etc., the video call function can be developed and implemented by Python-based programming voice, or can also be implemented by other software and hardware. This disclosure does not limit the specific hardware, software structure, and function of the implementation.
[0065] Exemplary Methods
[0066] Figure 2 This is a flow chart of an embodiment of the image capturing method disclosed in the present invention. This embodiment can be applied to electronic devices, and the execution subject can be Figure 1 The central control computer in the Figure 2 As shown, an image capturing method provided by an exemplary embodiment of the present disclosure includes at least the following steps:
[0067] Step 101: In response to a user's shooting instruction, determine the user's attention behavior.
[0068] When a user is in a vehicle, he or she can observe the surrounding environment outside the vehicle. The user may be interested in some specific scenes or events in the surrounding environment and want to record them. Therefore, the user can issue a shooting command to the vehicle, specifically, to the central control computer in the vehicle.
[0069] The shooting command may include a voice command, a gesture command, a command input by the user touching the central control computer, a command input by the user touching the vehicle button, and a command input by the user through a control device. The vehicle may pre-set the interaction method with the user to determine whether the user has input a shooting command. For example, it may be set as follows: based on detecting that the user has input a preset voice command and / or behavioral action, it is determined that the user has input a shooting command.
[0070] In response to shooting commands input by the user, the central control computer can control the external camera of the vehicle to shoot these specific scenes or events and obtain corresponding specific images to meet the needs of the user.
[0071] In some embodiments, in order to capture a specific image required by the user, when a shooting instruction input by the user is received, the user's attention behavior can be determined first. In the disclosed embodiment, the user's attention behavior refers to: the behavior generated when the user is interested in the vehicle's surroundings. For example, when the user is interested in the vehicle's surroundings, he or she may keep observing, so the user's observation behavior of the surroundings can be regarded as the user's attention behavior. The user's observation behavior can be reflected through the user's eye area, such as the user's line of sight attention behavior; it can also be reflected through the user's posture and movements, such as facial posture, head posture, and body posture.
[0072] When a user observes a certain area, the line of sight will look towards the area, and the face, head and limbs will also be oriented towards the area to varying degrees. Therefore, the user's eye area corresponding to the line of sight attention behavior, the facial posture, head posture and limb posture corresponding to the action behavior can all be regarded as the user's attention behavior. In the disclosed embodiments, the facial posture, head posture and limb posture are collectively referred to as human body posture.
[0073] The central control computer can determine the user's attention behavior based on the user's current state. Considering that the human eye sight can better reflect the direction the user is observing, the in-car camera can be controlled to detect the user's eye area first. Based on the detection of the user's eye area, the sight attention behavior corresponding to the eye area can be determined as the user's attention behavior; based on the failure to detect the user's eye area, the behavior corresponding to the human body posture can be determined as the user's attention behavior.
[0074] In some embodiments, the user's attention behavior may also be determined based on the sight attention behavior corresponding to the human eye area and the behavior corresponding to the human body posture.
[0075] For example, the line of sight attention behavior corresponding to the human eye area and the behavior corresponding to the human body posture can be jointly determined as the user's attention behavior. The user's observation direction is determined by comprehensively considering the user's line of sight attention behavior and the behavior of the facial posture, and then the external camera of the vehicle is controlled to shoot.
[0076] In some embodiments, the user's attention behavior may not be determined according to the user's current state, but the line of sight attention behavior and / or the behavior corresponding to the human body posture may be directly set as the user's attention behavior.
[0077] Specifically, instead of determining the attention behavior by detecting the user's current state, a certain behavior can be directly set as the user's attention behavior in advance. For example, considering that the line of sight of the human eye can better reflect the direction the user is observing, it can be that only the line of sight attention behavior is determined as the user's attention behavior, without considering the human body posture. At this time, regardless of whether the in-car camera detects the user's eye area, the user's attention behavior is only the line of sight attention behavior. When the in-car camera does not detect the user's eye area, for example, the user may stick his head out of the window, the central control computer can control the voice module to play a preset command to prompt that the user's eye area is not detected, so that the user can show the eye area to the in-car camera.
[0078] For another example, the line of sight attention behavior and the behavior corresponding to the human body posture can all be set as the user's attention behavior in advance. Even if the in-car camera does not detect the two behaviors at the same time, the user's attention behavior will also include the two behaviors at the same time.
[0079] Step 102: Determine the shooting angle of the camera outside the vehicle based on the user's attention behavior.
[0080] After determining the user's attention behavior, the user's overall behavior trend can be understood, for example, it can be determined that the user has been observing the surrounding environment in a specific direction. At this time, the user's attention direction can be further determined, which can be the direction the user is observing. For this attention direction, it is the direction that the user is interested in and wants to shoot. Therefore, the attention direction can be further determined as the shooting angle of the external camera of the vehicle.
[0081] When the user's attention behavior is the sight attention behavior corresponding to the human eye area, the central control computer can control the in-vehicle camera to obtain the user's human eye area image sequence, and determine the user's sight direction based on the image sequence. The sight direction is the direction the user is observing and can be considered as the user's attention direction. Therefore, the sight direction can be determined as the shooting angle of the camera outside the vehicle.
[0082] When the user's attention behavior is a behavior corresponding to a human body posture, the central control computer can control the in-vehicle camera to obtain a sequence of images of the user's human body area, and determine the orientation direction corresponding to the human body posture according to the sequence of images of the human body area. The orientation direction can be determined as the shooting angle of the camera outside the vehicle.
[0083] In some embodiments, when the user's attention behavior includes both the line of sight attention behavior and the behavior corresponding to the human body posture, the user's line of sight direction and the direction corresponding to the human body posture can be determined respectively. The two directions can be combined to determine the user's attention direction. The two directions can be weighted respectively, and weighted calculation can be performed to determine the final attention direction. The attention direction can be determined as the shooting angle of the camera outside the vehicle; the confidence of the two directions can also be determined first, and a certain direction can be determined as the user's attention direction based on the confidence result, for example, the direction with a large confidence can be determined as the final user attention direction.
[0084] In some embodiments, based on determining the user's attention behavior, it can be determined that the user is paying attention to a certain area and wants to take a photo of the certain area. At this time, the central control computer can directly ask the user about the attention direction that the user wants to take a photo.
[0085] Specifically, the central control computer can control the voice module to play a preset inquiry voice, which is used to obtain the user's focus direction. For example, the inquiry voice can be "Which direction do you want to shoot?" After receiving the inquiry voice, the user can input a direction instruction. The direction instruction is used to indicate the focus direction confirmed by the user. The user can input voice instructions in the form of voice to indicate a specific direction. The user can also input gesture instructions in the form of gestures, such as pointing a finger in a certain direction, and the central control computer can control the camera in the car to determine the direction pointed by the user. Therefore, the central control computer can determine the user's focus direction based on the direction instruction. By controlling the active interaction between the vehicle-mounted equipment and the user by the central control computer to confirm that the user has the intention to shoot, and then determine the focus direction, it can reduce the false triggering of image shooting and improve the user's shooting user experience.
[0086] In some embodiments, the central control computer can determine the shooting angle of the camera outside the vehicle according to the user's focus direction, determine the user's focus area according to the user's focus direction, and determine the shooting angle of the camera outside the vehicle according to the focus area.
[0087] In some embodiments, the shooting angle of the external camera may be a specific angle, which refers to the angle corresponding to the center position of the camera. The central control computer may directly determine the user's focus direction as the shooting angle of the external camera, that is, the angle of the center position of the external camera.
[0088] Step 103 , determining the shooting range of each external camera of the vehicle, and determining the external camera whose shooting range includes the shooting angle as the target external camera.
[0089] After the shooting angle of the external camera is determined, the external camera can be controlled to shoot along the shooting angle to obtain the specific image desired by the user.
[0090] In some embodiments, the vehicle may only have one external camera installed. In this case, the external camera may be directly determined as the target external camera.
[0091] In some embodiments, a vehicle may be provided with multiple external cameras, but among these external cameras, due to certain limitations on the shooting range of the camera itself, some external cameras can capture specific images, while some cannot. Therefore, it is necessary to determine the external camera that can capture the specific image.
[0092] Specifically, the shooting range of all cameras outside the vehicle can be determined. Each camera has a certain shooting angle range, for example, the camera can shoot a range of 90°, which can be directly determined as the internal parameter of the camera. The central control computer can first determine the direction of the center position of the camera, and based on this direction and the shooting angle range of the camera, the shooting range of the camera can be determined. The shooting range is an angle range, for example, the north direction is 0°, and the angle range can be 0-90°.
[0093] The central control computer can detect whether the above shooting angle is within the shooting range of each camera, thereby screening out the external vehicle cameras whose shooting range includes the shooting angle. For such external vehicle cameras, specific images can be captured, so they are determined as target external vehicle cameras.
[0094] Step 104 , controlling the target external camera to shoot the environment around the vehicle based on the shooting angle of the external camera.
[0095] After determining the target external camera that can capture a specific image, the target external camera can be controlled to capture the environment around the vehicle through a shooting angle, that is, the user's focus direction, thereby obtaining the specific image required by the user.
[0096] The central control computer can control the target vehicle exterior camera to rotate so that the angle of the center position of the target vehicle exterior camera is the above shooting angle. At this time, the camera can relatively completely capture the area of interest to the user.
[0097] The central control computer can also control the target vehicle's external camera to zoom in on the area to be shot and then shoot, thereby obtaining a clearer image of the user's area of interest.
[0098] In this embodiment, when a user's shooting instruction is received, the user's attention behavior can be determined. The user's attention direction can be determined based on the user's attention behavior, and the shooting angle of the external camera can be determined based on the user's attention direction. The external camera whose shooting range includes the shooting angle is determined as the target external camera, so as to ensure that the target external camera can shoot the shooting angle. Through the target external camera, the environment around the vehicle is shot along the shooting angle, so that the user can shoot the external image in real time and conveniently in the car, thereby improving the user's experience.
[0099] Figure 3 The present invention is a flowchart of an embodiment of obtaining a shooting instruction input by a user.
[0100] like Figure 3 As shown in the above Figure 2 Based on the illustrated embodiment, in some embodiments of the present disclosure, before step 101, the following steps may also be included:
[0101] Step 001 - 1 : In response to a wake-up instruction indicated by a user, control the vehicle to enter a shooting mode, where the wake-up instruction includes a preset wake-up voice and / or a preset wake-up gesture.
[0102] In order to meet the needs of users who want to record specific images in a specific direction within a specific time, the vehicle can have the function of shooting specific images. When the user wants to shoot a specific image, the central control computer in the vehicle can control the external camera to shoot.
[0103] Specifically, the vehicle may have an intelligent shooting function that can record specific images required by the user. The vehicle may be provided with a shooting mode. When the vehicle is in shooting mode, according to the shooting command input by the user, the central control computer may control the camera outside the vehicle to shoot and obtain a specific image. The user may input a wake-up command to the vehicle, specifically, may input a wake-up command to the central control computer to control the vehicle to enter shooting mode. In the disclosed embodiment, the wake-up command refers to a shooting mode command, which is used to control the vehicle to enter shooting mode.
[0104] The user can control the vehicle to enter shooting mode through the control device. In some embodiments, the user can operate the designated button of the remote control to send a shooting mode instruction to the vehicle. Based on the detection of the shooting mode instruction sent by the control device, the central control computer can control the vehicle to enter shooting mode. Among them, the shooting mode instruction is sent by the control device based on the detection that the user has touched the designated button. In the actual application process, the correspondence between the shooting mode instruction and the remote control button is pre-bound. For example, a shooting mode button is set on the remote control. When the user touches the button, the remote control sends the shooting mode instruction to the central control computer, and the central control computer controls the vehicle to enter shooting mode. When the user touches the button again, the central control computer can control the vehicle to exit the shooting mode.
[0105] In some embodiments, the corresponding relationship between the shooting mode instruction and multiple remote control buttons can also be pre-bound. When the user touches multiple buttons bound to the shooting mode instruction, the remote control issues the shooting mode instruction. In a feasible embodiment, the buttons bound to the shooting mode instruction are the direction keys (left, down, left, down) in sequence, that is, when the user touches the buttons (left, down, left, down) continuously within a preset time, the remote control sends the shooting mode instruction to the central control computer. The above binding method can avoid the shooting mode instruction being issued due to the user's misoperation. The embodiments of the present disclosure only exemplarily provide several binding relationships between shooting mode instructions and buttons. In actual application, the binding relationship between the shooting mode instruction and the button can be set according to the user's habits, and no excessive restrictions are made here.
[0106] In some embodiments, when a user uses a terminal device to control a vehicle, such as a mobile phone, a shooting mode instruction may also be sent to the vehicle. Based on the detection of a specific touch operation of the user on the terminal device, the terminal device may send a shooting mode instruction to the central control computer, and the central control computer controls the vehicle to enter the shooting mode. In actual application, a control may be set in the mobile phone, through which the vehicle may be controlled to enter the shooting mode, thereby sending a shooting mode instruction to the central control computer, and the central control computer may control the vehicle to enter the shooting mode.
[0107] In some embodiments, based on detecting that the user has input a continuous click instruction to the terminal device, the terminal device can send a shooting mode instruction to the central control computer, and the central control computer controls the vehicle to enter the shooting mode. In the actual application process, when the user uses a mobile phone to control the vehicle, a continuous click instruction can be issued to the mobile phone. A continuous click instruction means that within a preset period, the number of times the user clicks on the same area of the mobile phone touch screen exceeds a preset threshold. For example: when a user clicks on a certain area of the mobile phone touch screen three times in a row within 1s, it is regarded as a continuous click instruction. After receiving the continuous click instruction, the mobile phone can send a shooting mode instruction to the vehicle so that the central control computer controls the vehicle to enter the shooting mode. In some embodiments, when the user uses a mobile phone to control the vehicle, it can also be set as follows: when it is detected that the touch pressure value of the user on a certain area of the mobile phone touch screen exceeds the preset pressure threshold, the mobile phone can send a shooting mode instruction to the vehicle.
[0108] In some embodiments, the user can also use the vehicle's voice module to control the vehicle to enter shooting mode. Specifically, a sound collector, such as a microphone, may be provided in the vehicle. The user can use the microphone to send shooting mode instructions to the central control computer by voice input to control the vehicle to enter shooting mode. After the user inputs the voice, the voice module can recognize the user's voice to extract the content of the instruction input by the user. The voice module can send the instructions input by the user to the central control computer, and the central control computer further responds to the instructions input by the user.
[0109] The user can control the vehicle to enter shooting mode through the preset wake-up voice. For example, the user can first input the preset wake-up word through the microphone to start the voice module, and then input the shooting mode command within a certain period of time to make the vehicle enter shooting mode. For example, the user can enter "classmate XX" to start the voice module. Then enter "enter shooting mode" to send the shooting mode command to the vehicle.
[0110] In some embodiments, based on detecting that the user has input a preset wake-up gesture, it is determined that the user has input a shooting mode instruction. The user can also send a shooting mode instruction to the vehicle through a preset wake-up gesture. Specifically, the central control computer can control the image collector, which can be an in-vehicle camera, to detect the user's behavior in real time. When the user makes a preset wake-up gesture, it can be considered that the user has sent a shooting mode instruction to the vehicle. For example, it can be set as follows: when it is detected that the user draws a V, it is determined that the user has input a shooting mode instruction to the vehicle. The user can also send a shooting mode instruction to the vehicle through a preset wake-up action. For example, it can be set as follows: when it is detected that the user raises his left and right hands at the same time, it is determined that the user has input a shooting mode instruction to the vehicle.
[0111] In some embodiments, the user can also directly input shooting mode instructions using the central control computer. Specifically, the user can call up various UI interfaces on the display of the central control computer. The shooting mode option can be set in the vehicle setting interface, and when the user clicks on the option, the vehicle can be controlled to enter or exit the shooting mode.
[0112] In some embodiments, to prevent the user from accidentally triggering the shooting mode, in response to the shooting mode command input by the user, the central control computer can control the display to display shooting mode confirmation information, so that the user can make a second confirmation whether to control the vehicle to enter the shooting mode. Figure 4 The schematic diagram of an embodiment of displaying shooting mode confirmation information in the display of the present disclosure. The central control computer can also control the voice module to play a preset confirmation voice, such as "Please confirm whether to enter the shooting mode". After hearing the confirmation voice, the user can answer yes or no through the microphone, thereby controlling whether the vehicle enters the shooting mode.
[0113] In some embodiments, based on detecting a photo mode instruction or a video mode instruction input by the user, the central control computer can control the vehicle to enter a corresponding shooting mode. Considering that the camera can take pictures to obtain a single image, or can record videos to obtain a video stream formed by multiple images. Therefore, for the two processes of taking pictures and recording videos, a shooting mode can be set respectively, namely: photo mode and video mode. The user can choose to control the vehicle to enter any one of the photo mode and video mode. In the photo mode, the vehicle can take pictures to obtain a specific single image. In the video mode, the vehicle can record videos to obtain a specific video. The user controls the vehicle to enter the photo mode by inputting a preset photo mode instruction; and controls the vehicle to enter the video mode by inputting a preset video mode instruction.
[0114] The user uses the preset wake-up voice and wake-up gesture to control the vehicle to enter the photo mode or video mode. It should be noted that for the photo mode and video mode, the two correspond to different wake-up voices and wake-up gestures, so as to accurately determine which mode the user wants the vehicle to enter. For example, the user can control the vehicle to enter the photo mode by the preset voice "enter photo mode"; or use the preset gesture to draw a Z to control the vehicle to enter the photo mode. The user can control the vehicle to enter the video mode by the preset voice "enter video mode"; or use the preset gesture to draw an L to control the vehicle to enter the video mode.
[0115] Step 001-2: Detect that the vehicle enters the shooting mode and obtain the shooting instruction input by the user.
[0116] Based on detecting that the vehicle enters the shooting mode, the central control computer can obtain the shooting instruction input by the user. In response to the obtained shooting instruction, the central control computer can control the camera outside the vehicle to shoot the surrounding environment to obtain a specific image.
[0117] In some embodiments, it can be configured that: based on detecting that the vehicle enters the shooting mode, a specific image can be acquired. That is, only after the vehicle enters the shooting mode, can it respond to the shooting instruction input by the user and acquire the specific image.
[0118] Therefore, when it is detected that the user has input a shooting command, the central control computer can detect whether the current vehicle has entered the shooting mode. If the vehicle has entered the shooting mode, the central control computer can respond to the shooting command and obtain a specific image. If the vehicle has not entered the shooting mode, the central control computer will not respond to the shooting command, and the shooting command can be ignored and deleted, and the vehicle will not obtain a specific image at this time.
[0119] It should be noted that the vehicle is set to a shooting mode to prevent the user from accidentally triggering a shooting command while driving the vehicle. After the vehicle enters the shooting mode, the shooting command input by the user will be responded to by the vehicle, thereby avoiding capturing images that the user does not need.
[0120] In some embodiments, when the vehicle enters the shooting mode, in order for the vehicle to capture the specific image required by the user, the user can input a shooting command to the vehicle, or to the central control computer. The user can input the shooting command to the vehicle through a preset voice command or a preset action.
[0121] Considering that the shooting mode includes a photo mode and a video mode. For the two modes, corresponding preset voice commands and preset actions can be set respectively. When the vehicle is in the photo mode, the user's shooting command is a photo command. When the vehicle is in the video mode, the user's shooting command is a video command.
[0122] In some embodiments, the instruction to enter the shooting mode and the shooting instruction may be different instructions. Considering that the user needs to first input the shooting mode instruction to the vehicle and then input the shooting instruction, the two instructions may be set as different instructions. For example, it is detected that the user inputs a first type of voice instruction or a first type of action instruction, and the vehicle is controlled to enter the shooting mode. It is detected that the user inputs a second type of voice instruction or a second type of action instruction, and it is determined that the user inputs a shooting instruction. By setting the shooting mode instruction and the shooting instruction as different instructions in advance, the vehicle can distinguish between the two instructions to avoid recognition errors.
[0123] In some embodiments, the instruction to enter the shooting mode and the shooting instruction can be the same instruction. When the shooting mode is the video recording mode, the camera needs to work all the time during the video recording process, and the user only needs to input the video recording instruction once to control the camera to start working. Specifically, for the video recording scene, it can be set as follows: the shooting mode instruction that controls the vehicle to enter the video recording mode and the shooting instruction for the specific video recording can be the same instruction, that is, the video recording mode instruction and the video recording instruction can be one instruction. In response to the video recording mode instruction input by the user, the central control computer controls the vehicle to enter the video recording mode, and at the same time, the central control computer controls the camera outside the vehicle to record the process.
[0124] In some embodiments, the user can use a preset voice command to control the vehicle to take photos or record videos. The user can input a preset voice through the microphone, which can be "take photos" or "record videos".
[0125] The central control computer controls the voice module to detect the user's voice command. Upon detecting that the user has input a preset voice, the voice module can convert the preset voice into a shooting command, including a photo-taking command or a video-recording command, and send it to the central control computer. In response to the photo-taking command or the video-recording command, the central control computer can control the camera outside the vehicle to take a photo or a video.
[0126] In some embodiments, in order to respond to the user's shooting command, the central control computer can control the voice module to detect the user's input voice command in real time. Based on the detection of the user inputting a preset voice command, the voice module can convert the preset voice into a command and send it to the central control computer, and the central control computer can determine that the user has input a shooting command. In response to the preset voice command, the central control computer can obtain a specific image. Specifically, the central control computer can first perform the step of determining the user's attention behavior.
[0127] In some embodiments, in response to a preparation instruction input by a user, the central control computer controls the vehicle to enter a preparation state for shooting. Based on detecting that the vehicle is in the preparation state for shooting, in response to a shooting instruction input by a user, the camera outside the vehicle is controlled to shoot in real time.
[0128] Users can buffer the time for taking photos or videos. Users may not want to take photos or videos at the current time, but have a hunch that they may take photos or videos of the surrounding environment after a period of time. At this time, the user can first enter a preparation instruction, such as a voice command "prepare to take photos" or "prepare to record" to notify the central control computer that a photo or video instruction is about to be issued. The central control computer can control the vehicle to enter a state of preparing to shoot. In this state, once the user's shooting instruction is received, the central control computer can quickly control the camera outside the vehicle to shoot, achieving a real-time response effect. When the user wants to capture the environment at a certain moment, he can enter a photo or video instruction, and the vehicle can shoot the surrounding environment at that moment to obtain a specific image.
[0129] In some embodiments, based on detecting that the user has input a first preset action, the central control computer controls the camera outside the vehicle to take a photo; based on detecting that the user has input a second preset action, the central control computer controls the camera outside the vehicle to record a video.
[0130] The user can use preset actions to control the vehicle to take photos or videos. The preset actions for taking photos and videos are different. The user can use the gesture of the number 8 to input the photo command. The user can also use the gesture of the number 1 to input the video command. When the in-car camera detects the user's gesture and determines that the user has entered the preset action, it can be considered that the user has entered the shooting command, and the central control computer can obtain the specific image.
[0131] In some embodiments, based on detecting that the user has input a preset action, the central control computer controls the voice module to play a preset voice, which is used to prompt the user whether to take a photo. In response to a confirmation instruction input by the user, the external camera is controlled to take a photo.
[0132] Considering that gestures may be triggered by mistake by users compared to voice, when a preset action is detected, the central control computer can control the voice module to play the voice "Do you want to take a photo" or "Do you want to record a video". The user can answer "yes" to enter the confirmation command to control the vehicle to obtain a specific image. The confirmation command can also be entered using gestures, for example, you can point your index finger down once to enter the confirmation command using gestures.
[0133] In some embodiments, the central control computer controls the in-vehicle camera to capture the user image in real time. The user image is processed based on a preset detection model. Based on the detection of a preset action, it is determined that the user has input a shooting instruction, and the central control computer controls the outside camera to shoot.
[0134] In order to respond to the user's shooting instructions, the central control computer can control the camera in the car to detect the user's behavior in real time. The camera in the car can capture the user's behavior image and send it to the central control computer. The central control computer can detect the hand frame and hand key points based on the hand detection frame model and the hand key point model, so as to track the hand target. At the same time, the hand frame and hand key points can be sequence modeled to identify events such as "gesturing numbers" and "index finger pointing down". Based on the detection of the user's preset action, it is determined that the user has entered a shooting instruction. In response to the preset action, the central control computer can obtain a specific image. Specifically, the central control computer can first execute the step of determining the user's focus behavior.
[0135] In some embodiments, in response to a continuous photo taking instruction input by a user, the central control computer determines a photo taking frequency. In response to a photo taking instruction input by a user, the external camera is controlled to take photos based on a preset frequency. In response to an end instruction input by a user, the external camera is controlled to stop taking photos.
[0136] When the vehicle is in the photo mode, the user can also control the vehicle to take photos continuously. Continuous photography means that the vehicle's external camera takes multiple images of the surrounding environment at a preset frequency, such as twice per second.
[0137] The user can input the voice "prepare for continuous shooting", and the central control computer can determine the shooting frequency, which can be a preset frequency. When the user issues a shooting command, such as inputting the voice "start continuous shooting", the central control computer can control the external camera to take pictures at a preset frequency. When the user inputs the voice "stop", the continuous shooting can be stopped. The user can also input the shooting command in a protracted manner, such as inputting the voice "shoot" for a period of time. During this period of time, the central control computer can control the external camera to take pictures at a preset frequency. When the user stops making a sound, the continuous shooting can be stopped.
[0138] In some embodiments, the user may also input shooting instructions in other ways, which may be the way in which the user inputs the shooting mode instruction in the aforementioned process. For specific solutions, please refer to the aforementioned content and will not be repeated here.
[0139] In some embodiments, the vehicle may not be provided with a shooting mode. When a user's shooting command is detected, there is no need to determine whether the vehicle enters the shooting mode. The vehicle can directly respond to the user's shooting command and determine the user's attention behavior, thereby performing the shooting process.
[0140] Specifically, the central control computer can detect in real time whether the user has input a shooting command, such as detecting a voice command or a behavior action input by the user. Based on detecting that the user has input a preset voice command or a preset action, it is determined that the user has input a shooting command. In response to the preset voice command or preset action input by the user, the central control computer can determine the user's attention behavior.
[0141] Please refer to the above content for the method in which the user inputs the shooting mode command, which will not be repeated here.
[0142] Figure 5 The present invention is a flowchart of an embodiment of determining a user's attention behavior.
[0143] like Figure 5 As shown in the above Figure 2 Based on the illustrated embodiment, in some embodiments of the present disclosure, the step of determining the user's attention behavior shown in step 101 may specifically include the following steps:
[0144] Step 101 - 1 : Determine the user's eye region image sequence based on the in-vehicle camera. If the user's eye region image sequence is detected, determine the sight attention behavior corresponding to the eye region as the user's attention behavior.
[0145] Specifically, the eye gaze behavior can be the user's observation of the surrounding environment through the pupil of the eye. When the in-car camera detects the user's eye area, it can be determined that the user is observing with the pupil of the eye. At this time, the user's observation direction, that is, the focus direction, can be determined based on the pupil information.
[0146] Step 101-2: Based on the eye region image sequence in which the user is not detected, the body region image sequence of the user is detected by the in-vehicle camera. Based on the body region image sequence in which the user is detected, the behavior corresponding to the body posture is determined as the user's focused behavior.
[0147] When observing the vehicle's surroundings, the user may turn his head to observe the sides or rear of the vehicle, or stick his head out of the window. Therefore, the camera inside the vehicle will not be able to capture the direction of the user's eye pupils. At this time, the camera can detect the user's body posture.
[0148] Specifically, human body posture may include facial posture, head posture and limb posture. Facial posture is the facial posture of the user detected by the in-car camera, which is mainly reflected in the direction of the user's face. Since the user generally turns his face toward the environment when observing the environment, the direction the user is currently observing can be determined based on the user's facial orientation. Head posture is mainly reflected in the direction of the user's head. Like the face, the user generally turns his head toward the environment to observe, so the direction the user is currently observing can be determined based on the user's head orientation. Limb posture is the state of the user's limbs, such as the state of the shoulders and arms. When the user observes the environment, the state of the shoulders will also change, such as leaning to one side, so the direction the user is observing can also be indirectly determined through the body posture.
[0149] When detecting the user's body posture, any one of the face posture, the head posture, and the limb posture may be detected, or any two or all of them may be detected, which is not limited in the disclosed embodiments.
[0150] It should be noted that the user's line of sight direction can be the direction of the pupil of the eye, which can more intuitively show the user's observation direction. Therefore, the accuracy of determining the observation direction by realizing the direction is the highest. Since the user can rotate the eyeball, the pupil follows the eyeball and observes, such as using the peripheral vision to observe. At this time, the face direction and the head direction are not completely consistent with the line of sight direction. Therefore, the accuracy of determining the observation direction by the face direction and the head direction is lower than that by the line of sight direction. At the same time, the accuracy of face recognition is greater than that of head recognition, so the accuracy of determining the observation direction by the face direction is higher than that by the head direction. For body posture, when the user changes the observation direction, the degree of change in the body posture may be very small, and the accuracy of determining the observation direction by body posture is the lowest.
[0151] Therefore, in determining the viewing direction of the user, the order of accuracy from high to low is: pupil sight > face posture > head posture > body posture. The in-car camera can be controlled to detect in this order, and the detected behavior can be determined as the user's attention behavior.
[0152] In some embodiments, based on the detected human eye region image sequence, the central control computer controls the in-vehicle camera to determine the human body region image sequence. Based on the detected human body region image sequence, the user's eye region corresponding sight attention behavior and the user's human body posture corresponding behavior are determined as the user's attention behavior.
[0153] In order to improve the accuracy of determining the user's viewing direction, when the user's eye area is detected, the user's body posture can also be detected. The sight attention behavior corresponding to the eye area and the behavior corresponding to the body posture are determined as the user's attention behavior. The user's viewing direction is obtained by comprehensively considering the two attention behaviors.
[0154] In some embodiments, the central control computer pre-sets the attention behavior. In response to the user's shooting instruction, the preset attention behavior is determined as the user's attention behavior.
[0155] When determining the user's attention behavior, it is also possible not to use the in-car camera to detect the user's eye area or body posture, and the user's attention behavior can be directly set.
[0156] Specifically, instead of determining the attention behavior by detecting the user's current state, a certain behavior can be directly set as the user's attention behavior in advance. For example, considering that the line of sight of the human eye can better reflect the direction in which the user is observing, the accuracy of determining the user's observation direction by using the pupil line of sight is the highest, and only the line of sight attention behavior can be determined as the user's attention behavior without considering the human body posture. At this time, regardless of whether the in-car camera detects the user's eye area, the user's attention behavior is only the line of sight attention behavior. When the in-car camera does not detect the user's eye area, for example, the user may stick his head out of the window, the central control computer can control the voice module to play a preset command to prompt that the user's eye area is not detected, so that the user can show the eye area to the in-car camera.
[0157] For another example, the line of sight attention behavior and the behavior corresponding to the human body posture can all be set as the user's attention behavior in advance. Even if the in-car camera does not detect the two behaviors at the same time, the user's attention behavior will also include the two behaviors at the same time.
[0158] The specific attention behavior can be set by the user, and is not limited in the embodiments of the present disclosure.
[0159] Figure 6 The present invention is a flowchart of an embodiment of determining the shooting angle of an external camera of the present invention.
[0160] like Figure 6 As shown in the above Figure 2 Based on the illustrated embodiment, in some embodiments of the present disclosure, the step of determining the shooting angle of the camera outside the vehicle shown in step 102 is specifically as follows:
[0161] It should be noted that the method for determining the shooting angle of the external camera is different according to the different attention behaviors of the user. In some embodiments, when it is determined that the attention behavior of the user is the sight attention behavior corresponding to the user's eye area, step 102 may include:
[0162] Step 102-01: Acquire an image sequence including the user based on an in-vehicle camera and determine an image sequence of the user's eye area.
[0163] The human eye region image sequence can reflect the state of the human eye region, including the observation state of the user's eye pupil, and can represent whether the user is observing the surrounding environment and the observation direction.
[0164] Specifically, the central control computer can control the in-vehicle camera to obtain an image sequence of the user, and perform image recognition processing on each frame of the image sequence to obtain the user's eye area image, and the eye area images of each frame of the image constitute a human eye area image sequence.
[0165] Step 102-02: Determine the user's line of sight direction based on the eye area image sequence, and determine the shooting angle of the external camera according to the line of sight direction.
[0166] The central control computer can process the image sequence of the human eye area based on the gaze tracking technology to obtain the gaze direction.
[0167] Specifically, the eye tracking technology (EyeTracking / GazeTracking) can be used to determine the direction the user is looking at. Among them, the eye tracking technology is also called eye tracking technology, which is a technology that measures the gaze point of the human eye and the degree of movement relative to the head. By detecting the key points of the human eye, the user's line of sight can be tracked, so that the direction the user is looking at, that is, the user's line of sight direction, can be determined. It should be noted that the eye tracking technology is a relatively mature existing technology, and the embodiments of this disclosure will not be introduced in detail. The line of sight direction can be obtained by constructing a line of sight tracking model and then using the line of sight tracking model to process the image sequence of the human eye area.
[0168] The user's sight direction can be considered as the direction of interest to the user, so the surrounding environment of the vehicle in this direction can be photographed to obtain a specific image. Specifically, the user's sight direction can be determined as the shooting angle of the camera outside the vehicle, so that the specific image required by the user can be accurately obtained.
[0169] Figure 7 The present invention is a flowchart of an embodiment of determining the shooting angle of an external camera of the present invention.
[0170] like Figure 7 As shown, in some embodiments, when it is determined that the user's attention behavior includes both the sight attention behavior corresponding to the user's eye area and the behavior corresponding to the user's body posture, step 102 may include:
[0171] Step 102 - 11 : acquiring an image sequence including the user based on the in-vehicle camera, and determining an eye region image sequence and a human body region image sequence of the user.
[0172] The human body region image sequence may include a face region image sequence, a head region image sequence, and a limb region image sequence. The face region image sequence can reflect the user's face orientation; the head region image sequence can reflect the user's head orientation; and the limb region image sequence can reflect the user's limb orientation. Furthermore, the direction of each human body posture can be determined based on the human body region image sequence.
[0173] The process of determining the user's eye region image sequence can be the same as the above method. The method of determining the face region image sequence, the head region image sequence and the limb region image sequence is similar to the method of determining the eye region image sequence, and will not be repeated here.
[0174] Step 102-12: Determine the user's sight direction based on the eye region image sequence, and determine the user's body posture information based on the body region image sequence. Body posture information refers to body posture orientation, including: face orientation, head orientation and limb orientation.
[0175] When determining the user's line of sight direction, the line of sight of the user's eye image can be tracked to obtain the line of sight direction. For human body posture information, the information corresponding to the face posture can be the face orientation, the information corresponding to the head posture can be the head orientation, and the information corresponding to the limb posture can be the limb orientation. The corresponding information can be determined based on the human body region image sequence.
[0176] Specifically, the central control computer can use the face landmark detection technology (FaceLandmarksDetection) to process the user's face image. The face landmark detection technology can detect the key points of the face in the face image to determine the face orientation. The central control computer can use the head pose estimation technology (HeadPoseEstimation) to process the user's head image. The head pose estimation technology can detect the key points of the head in the head image to determine the head orientation. The central control computer can also use the human pose estimation technology (HumanPoseEstimation) to process the user's limb image to obtain the limb orientation.
[0177] It should be noted that the facial feature detection technology, the head posture estimation technology and the human body posture estimation technology are all relatively mature existing technologies, and will not be introduced in detail in the embodiments of the present disclosure.
[0178] The central control computer can determine human body posture information, including: face orientation, head orientation and limb orientation.
[0179] Step 102-13: Based on the sight line direction and the human body posture information, determine the user's focus direction, and determine the shooting angle of the external camera according to the focus direction.
[0180] The central control computer assigns weights to the line of sight direction and the direction of human body posture respectively, and performs weighted calculation processing on the line of sight direction and the direction of human body posture to obtain the user's attention direction.
[0181] When determining the user's attention direction, the user's sight direction, face orientation, head orientation, and body orientation can be comprehensively considered. It should be noted that the sight direction can most accurately reflect the user's attention direction, followed by face orientation, then head orientation, and body orientation has the lowest accuracy. Therefore, the accuracy of the four directions can be considered to set the weights. The method for determining the user's attention direction can be shown in formula (1):
[0182] F=a*F1+b*F2+c*F3+d*F4(1)
[0183] Where: F represents the user's focus direction;
[0184] F1 represents the user's line of sight direction, a is the weight of the line of sight direction; F2 represents the user's face direction, b is the weight of the face direction; F3 represents the user's head direction, c is the weight of the head direction; F4 represents the user's limb direction, d is the weight of the limb direction.
[0185] a+b+c+d=1, and a>b>c>d. It can be set as a=0.6, b=0.3, c=0.2, and d=0.1.
[0186] According to the above formula, the user's focus direction can be determined.
[0187] In some embodiments, since the user may turn his head to observe the environment around the vehicle, the accuracy of determining the direction of sight using line of sight tracking technology will also change accordingly. When the user's face is facing the camera inside the car, the user's eye pupil can be completely captured by the camera, and the user's direction of attention can be obtained more accurately. As the head turns, the face faces away from the camera inside the car, and the area of the eye pupil that can be captured will decrease, resulting in a decrease in the accuracy of the line of sight tracking technology. Therefore, when the embodiment of the present disclosure uses the above formula to determine the user's attention direction, the weights of the four directions can also be set as follows.
[0188] The direction in which the user's face is completely facing the in-car camera is taken as the central direction 0°, and the left and right rotation angle of the user's head is determined, that is, the angle between the user's current face direction and the central direction 0°.
[0189] Based on the detection that the user's head turns left and right at an angle of <45°, it is considered that the accuracy of the eye tracking technology is accurate, and the eye tracking result can be fully used to determine the user's focus direction. That is, a=1, b=c=d=0.
[0190] Based on the detection that the left and right rotation angle of the user's head is >45° and <90°, the accuracy of the eye tracking technology is low at this time, and the user's eye direction can be ignored. The weights are set as: a=0, b=0.5, c=0.25, d=0.25.
[0191] Based on the detection that the user's head turns left and right at an angle greater than 90°, the line of sight direction and facial orientation cannot be obtained, and the weights are set to: a=0, b=0, c=0.5, d=0.5.
[0192] Based on the detection of the user, the user sticks his head out of the car window. At this time, the line of sight direction, facial orientation and head orientation cannot be obtained, and the body orientation can only be estimated. The weights are set as: a=b=c=0, d=1.
[0193] In some embodiments, the central control computer can set a priority for each direction. Considering accuracy, the priority can be set as follows: sight direction > face orientation > head orientation > limb orientation. The user's focus direction can be determined according to the priority. Specifically, the direction with the highest priority among the multiple directions obtained can be determined as the user's focus direction. For example, the central control computer obtains the face orientation, head orientation, and limb orientation, but does not obtain the sight direction. At this time, the face orientation with the highest priority can be determined as the user's focus direction.
[0194] In some embodiments, the confidence of the direction of sight and the orientation corresponding to the human body posture may be determined first, and the user's attention direction is determined according to the confidence result. The orientation corresponding to the human body posture includes: face orientation, head orientation and limb orientation.
[0195] Considering that in some scenarios, due to the influence of image quality or user posture, some acquired directions may have low accuracy, so when acquiring the sight direction and the three orientations, the confidence of each direction can also be determined for these four directions. The central control computer can comprehensively consider the priority and confidence to determine the user's focus direction. A priority threshold can be set for each direction. The central control computer can determine the direction with the highest priority among the directions with confidence higher than the corresponding confidence threshold as the user's focus direction.
[0196] It should be noted that the confidence can characterize the accuracy of the acquired direction. For example, for the line of sight direction, if the image quality of the human eye image is high, such as the picture is clear and the human eye is not blocked, the accuracy of the acquired line of sight direction is high and the confidence is also high. For another example, for the face direction, if the face image is clear, the face is not blocked, and the user does not turn the face significantly, the accuracy of the acquired face direction is high; on the contrary, if the face is blocked, such as the user wearing a mask and blocking the face, or the side face at a large angle, the face image quality will be low, and the accuracy of the face direction will be low, that is, the confidence will be low. Therefore, a confidence threshold can be set for each direction. If the acquired direction is higher than the confidence threshold, the accuracy of the direction is considered to be high. If it is lower than the confidence threshold, the accuracy of the direction is considered to be poor and can be ignored.
[0197] Specifically, for the multiple directions obtained, based on determining the first direction with the highest priority, the central control computer can determine whether the confidence of the first direction is higher than the priority threshold corresponding to the first direction. If it is detected that the conditions are met, the first direction can be determined as the user's focus direction. If it is detected that the conditions are not met, the first direction is no longer considered. The second direction with the highest priority among the remaining directions can be determined, and it is continued to be determined whether the confidence of the second direction is higher than the priority threshold corresponding to the first direction. Until a direction that meets the conditions is obtained.
[0198] For example, if the gaze direction, face orientation, head orientation, and limb orientation are obtained, it is possible to detect whether the confidence of the gaze direction meets its corresponding confidence threshold. If so, the gaze direction is directly determined as the user's focus direction. If not, the face orientation is detected until a direction that meets the conditions is obtained.
[0199] The central control computer may also first filter out all directions whose confidence levels are higher than a corresponding confidence threshold, and determine the direction with the highest priority among the directions that meet the conditions as the user's focus direction.
[0200] In some embodiments, when the direction of sight and the orientation corresponding to the human body posture are obtained, it is possible to first detect whether the confidence of the sight direction is higher than the corresponding confidence threshold. If satisfied, the sight direction is determined as the user's focus direction. If not satisfied, it is possible to detect whether there are two or more directions that are the same or the difference in direction is within a preset angle range in the remaining directions. If so, one of the directions, which may be a high-priority direction or a random direction, can be determined as the user's focus direction. If not, the final direction can be determined based on the confidence threshold and priority.
[0201] In some embodiments, the user's attention direction can be determined by combining confidence and weight. The user's attention direction can be obtained by using the above formula (1), and the weight of each direction can be determined by using confidence.
[0202] Specifically, the central control computer can detect the gaze direction and determine whether the confidence of the gaze direction is greater than the corresponding confidence threshold. Based on the detection that the gaze direction meets the conditions, it is considered that the accuracy of the gaze tracking technology is accurate, and the gaze tracking result can be fully used to determine the user's focus direction. That is, a=1, b=c=d=0.
[0203] If the line of sight direction is detected to not meet the conditions, the accuracy of line of sight tracking is considered low and the line of sight direction of the user can be ignored. The central control computer can detect the direction of the face, head and limbs, and whether two or more of the three directions are the same or the difference in direction is within the preset angle range. If so, one of the directions can be determined as the user's focus direction.
[0204] Based on the detection that the gaze direction does not meet the conditions, the central control computer can also determine the face direction, head direction and limb direction respectively, and whether the confidence of the three directions is greater than the corresponding confidence threshold. Based on the detection that all three directions meet the conditions, the weights can be set as: a = 0, b = 0.5, c = 0.25, d = 0.25.
[0205] Based on the condition that the face orientation is detected to not satisfy the confidence threshold, while the head orientation and limb orientation satisfy the condition, the weights may be set as: a=0, b=0, c=0.5, d=0.5.
[0206] Based on the fact that both the face orientation and the head orientation do not meet the conditions, it may be that the user sticks his head out of the car window, resulting in inaccurate sight direction, face orientation and head orientation. In this case, the limb orientation needs to be used to determine the final result. The weights can be set as: a=b=c=0, d=1.
[0207] After the user's focus direction is acquired, the focus direction may be determined as the shooting angle of the camera outside the vehicle.
[0208] Figure 8 The present invention is a flowchart of an embodiment of determining a target external camera of the present invention.
[0209] like Figure 8 As shown in the above Figure 2 Based on the illustrated embodiment, in some embodiments of the present disclosure, the step of determining the target external camera shown in step 103 specifically includes the following steps:
[0210] Step 103 - 1 : Determine the shooting range of each external camera of the vehicle.
[0211] The vehicle can be equipped with multiple external cameras to capture the surrounding environment. Each external camera has a certain shooting range. When configuring external cameras, there is no limit on the number of cameras, as long as the range of all cameras can cover 360°, so that all the surroundings of the vehicle can be captured. Fig. 9 This is a schematic diagram of the structure of the vehicle provided by the present invention, wherein the black origin represents the position of the external camera outside the vehicle, and the outside of the vehicle can be configured with 6 external cameras, with different cameras configured at different positions of the vehicle, and the total shooting range of all external cameras can cover a full 360° range around the vehicle.
[0212] After determining the shooting angle of the external camera, the central control computer can determine the shooting range of each external camera of the vehicle. The shooting range of each external camera is fixed and set in advance.
[0213] Step 103 - 2: Determine the target external camera according to the shooting angle.
[0214] According to the shooting range of each external camera, all external cameras including the shooting angle in the shooting range can be determined, and these cameras can all capture specific images.
[0215] Considering that shooting with multiple external cameras together will cause a waste of resources, a target external camera can be selected from these cameras for shooting.
[0216] In some embodiments, the current angles of these qualified external cameras can be determined. Further, the angle between the current angle of each camera and the shooting angle can be determined, and the external camera with the smallest angle can be determined as the target external camera. In some embodiments, other methods can be used to determine the target external camera, such as setting a priority for each external camera and using the camera with the highest priority as the target external camera. Alternatively, an external camera can be randomly selected as the target external camera.
[0217] Fig.10 The figure is a flow chart of an embodiment of the present disclosure for photographing the environment around a vehicle.
[0218] like Fig.10 As shown in the above Figure 2 Based on the illustrated embodiment, in some embodiments of the present disclosure, the step of photographing the environment around the vehicle shown in step 104 specifically includes the following steps:
[0219] Step 104-01: Determine the range to be photographed according to the shooting angle. The range to be photographed refers to an angle range with the shooting angle as the center and a size of a preset angle. The range to be photographed can be a shooting range set by the user. The surrounding environment within the range to be photographed is considered to be an area of greater concern to the user.
[0220] Step 104-02: Control the target vehicle's external camera to zoom in on the range to be photographed and take photos.
[0221] Specifically, the target vehicle exterior camera can automatically focus on the area of interest. By enlarging the range to be photographed, a clearer image of the area of interest can be obtained. The central control computer can control the target vehicle exterior camera to shoot and obtain the specific image the user wants.
[0222] Fig.11 This is a flow chart of an embodiment of the present disclosure for photographing the environment around a vehicle. In some embodiments, step 104 may include the following steps:
[0223] It should be noted that some external cameras can be rotated to change the current shooting area.
[0224] Therefore, step 104-11: the central control computer can detect whether the target vehicle's external camera can rotate.
[0225] Step 104-12: If it is detected that the target vehicle exterior camera can rotate, the target vehicle exterior camera can be controlled to rotate. After the target vehicle exterior camera rotates, the angle of the center position is the shooting angle. Further, the central control computer can control the target vehicle exterior camera to shoot and obtain a specific image.
[0226] If it is detected that the target vehicle exterior camera cannot rotate, the target vehicle exterior camera is directly controlled to shoot.
[0227] In some embodiments, the target vehicle exterior camera can be rotated so that the angle of its center position is the shooting angle. At the same time, the range to be shot can be enlarged, and then the target vehicle exterior camera can be controlled to shoot.
[0228] In some embodiments, after the target vehicle exterior camera takes a picture of the environment surrounding the vehicle, the central control computer can control the voice module to play a simulated shutter sound to prompt the user that the picture is taken successfully.
[0229] In some embodiments, when the target vehicle external camera is recording or continuously shooting, the user can also control the camera to stop shooting. Specifically, the user can input a command to end shooting into the central control computer.
[0230] The user can directly input a preset ending voice, such as "stop shooting", to control the camera to stop shooting. The user can also make a preset ending gesture, such as a fist gesture, to control the camera to stop shooting.
[0231] Fig.12 The present invention is a flowchart of an embodiment of prompting a user whether to take a photo of a vehicle.
[0232] like Fig.12 As shown in the above Figure 2 Based on the illustrated embodiment, in some embodiments of the present disclosure, the vehicle can also prompt the user whether to take a photo based on the user's behavior. The specific steps are as follows:
[0233] Step 201: Detect the user's emotional state in real time.
[0234] The vehicle can also be equipped with a detection module that can detect the user's heart rate. At the same time, the camera inside the car can detect changes in the user's pupils. The user's heart rate and pupil state can reflect the user's emotional state. For example, when the user pays attention to events outside the car, the user's heart rate may suddenly increase, or the size of the pupil may change. At this time, it can be considered that the user's emotional state has changed. The central control computer can determine the user's heart rate and pupil changes through the pre-set heart rate detection algorithm and pupil detection algorithm, thereby detecting whether the user's emotional state has changed and what changes have occurred.
[0235] Step 202: Based on the detection of a predetermined emotional state change of the user, the voice module of the vehicle is controlled to play a preset prompt voice to the user, wherein the preset prompt voice is used to enable the user to determine whether to control the camera outside the vehicle to shoot.
[0236] When a predetermined change in the user's emotional state is detected, it can be considered that the user is paying attention to the environment around the vehicle and has a need to take pictures. Therefore, the central control computer can control the voice module to play a prompt voice, such as "Do you want to take a picture?" When the user answers "yes", it is considered that the user has entered a shooting instruction, and step 101 can be executed. If the user answers "no", no processing is required, and the user's emotional state can continue to be detected. Therefore, by actively prompting the user whether to take a picture, the user can save the operation of actively confirming the issuance of the shooting instruction, thereby improving the user's experience.
[0237] Fig.13 The figure is a flowchart of an embodiment of the present disclosure for determining whether to shoot according to user authority.
[0238] like Fig.13 As shown in the above Figure 2Based on the illustrated embodiment, in some embodiments of the present disclosure, before the step of determining the user's attention behavior shown in step 101, the following steps may also be included:
[0239] Step 01: In response to a user's shooting instruction, determine the user's operation authority.
[0240] Different permissions can be granted to users in the vehicle. For example, to control the vehicle to take a specific image, the driver can be granted this permission, but users in other seats are not granted this permission.
[0241] Therefore, when a user inputs a shooting command, the central control computer can detect whether the user has the operation authority.
[0242] Step 02: Based on the fact that the user has the operation authority, the user's attention behavior is determined. When the user has the operation authority, a specific image required by the user can be captured, and specifically, the user's attention behavior can be determined first.
[0243] Step 03: Based on the fact that the user does not have the operation authority, the voice module of the vehicle is controlled to play a preset voice. In response to obtaining a confirmation instruction from the user with the operation authority, the user's attention behavior is determined. The preset voice is used to request the operation authority from the user with the operation authority.
[0244] Specifically, when the user does not have the operating authority, the central control computer can make the voice module play a preset voice to ask the user with operating authority, such as the driver, whether the user can be given the operating authority. When the driver enters a confirmation command, it can be considered that the user also has the operating authority. At this time, the specific image required by the user can be captured, and the user's attention behavior can be determined first.
[0245] In some embodiments, when a specific image required by a user is obtained, the central control computer can send the image to a server. The server can have a cloud storage space for the user, and the central control computer can send the specific image to the cloud storage space for recording.
[0246] Exemplary Devices
[0247] See also Fig.14 , is a schematic diagram of the structure of an image shooting device provided by the present disclosure, and the device is used to implement all or part of the functions of the above-mentioned method embodiment. Specifically, the video call device includes a behavior determination module 111, an angle determination module 112, a target vehicle external camera determination module 113 and a shooting module 114, etc. In addition, the device may also include other more modules, such as a storage module, a sending module, etc., which are not limited in this embodiment.
[0248] Specifically, the behavior determination module 111 is used to determine the user's focus behavior in response to the user's shooting instruction.
[0249] The angle determination module 112 is used to determine the shooting angle of the external camera based on the user's attention behavior.
[0250] The target exterior camera determination module 113 is used to determine the shooting range of each exterior camera of the vehicle, and determine the exterior camera whose shooting range includes the shooting angle as the target exterior camera.
[0251] The shooting module 114 is used to control the target external camera to shoot the environment around the vehicle based on the shooting angle of the external camera.
[0252] Optionally, in an implementation of the present embodiment, when the shooting module 114 shoots the environment around the vehicle, it includes: controlling the target external camera to rotate so that the angle of the center position of the target external camera is the shooting angle, and controlling the target external camera to shoot.
[0253] Optionally, in an implementation of this embodiment, when the shooting module 114 shoots the environment around the vehicle, it also includes: determining a range to be shot according to the shooting angle. Controlling the target vehicle exterior camera to magnify the range to be shot and shoot; the range to be shot refers to: an angle range with the shooting angle as the center and a size of a preset angle.
[0254] Optionally, in an implementation of this embodiment, the user's attention behavior determined by the behavior determination module 111 includes the user's line of sight attention behavior corresponding to the human eye area. When the angle determination module 112 determines the shooting angle of the camera outside the vehicle, it includes: determining the user's human eye area image sequence based on the camera inside the vehicle; determining the user's line of sight direction based on the human eye area image sequence, and determining the shooting angle of the camera outside the vehicle according to the line of sight direction.
[0255] Optionally, in an implementation of this embodiment, the user's attention behavior determined by the behavior determination module 111 includes the user's eye area corresponding to the line of sight attention behavior and the user's body posture corresponding to the behavior, and the body posture includes the face posture and / or the head posture and / or the body posture. When the angle determination module 112 determines the shooting angle of the external camera, it includes:
[0256] The user's eye region image sequence and human body region image sequence are determined based on the in-vehicle camera. The user's sight direction is determined based on the eye region image sequence; the user's human body posture information is determined based on the human body region image sequence. The user's focus direction is determined based on the sight direction and the human body posture information, and the shooting angle of the out-vehicle camera is determined according to the focus direction.
[0257] Optionally, in an implementation of this embodiment, the image capture device also includes a capture mode confirmation module 115, which is used to: control the vehicle to enter the capture mode in response to a wake-up instruction indicated by the user, wherein the wake-up instruction includes a preset wake-up voice and / or a preset wake-up gesture.
[0258] The behavior determination module 111 is further used to: detect that the vehicle enters the shooting mode, and in response to the user's shooting instruction, execute the step of determining the user's concerned behavior.
[0259] Optionally, in one implementation of the present embodiment, the image capture device further includes an end confirmation module 116, which is used to: control the target external vehicle camera to stop shooting in response to an instruction to end shooting indicated by the user, wherein the instruction to end shooting includes a preset end voice and / or a preset end gesture.
[0260] Optionally, in one implementation of the present embodiment, the image capture device further includes an emotion confirmation module 117, which is used to: detect the user's emotional state in real time; and based on detecting a predetermined change in the user's emotional state, control the vehicle's voice module to play a preset prompt voice to the user, wherein the preset prompt voice is used to enable the user to determine whether to control the external camera to capture.
[0261] Optionally, in an implementation of the present embodiment, when the behavior determination module 111 determines the user's focus behavior, it includes: determining the user's operating authority in response to the user's shooting instruction; determining the user's focus behavior based on the user having operating authority; controlling the vehicle's voice module to play a preset voice based on the user not having operating authority, wherein the preset voice is used to request operating authority from a user with operating authority; and determining the user's focus behavior in response to obtaining a confirmation instruction from the user with operating authority.
[0262] Optionally, in one implementation of this embodiment, when the behavior determination module 111 determines the user's attention behavior, it includes: detecting the voice instructions input by the user in real time; determining that the user has input a shooting instruction based on detecting that the user has input a preset voice instruction; and determining the user's attention behavior in response to the preset voice instruction.
[0263] Optionally, in one implementation of this embodiment, when the behavior determination module 111 determines the user's focus behavior, it includes: detecting the user's behavior actions in real time based on the in-vehicle camera; determining that the user has input a shooting instruction based on detecting the user's preset action; and determining the user's focus behavior in response to the preset action.
[0264] Exemplary Electronic Devices
[0265] Below, reference Fig.15 The electronic device according to the embodiment of the present disclosure is described. The electronic device may be any one or both of the first device 100 and the second device 200, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signals from them.
[0266] Fig.15 A block diagram of an electronic device provided for an embodiment of the present disclosure.
[0267] like Fig.15 As shown, the electronic device 10 includes one or more processors 11 and a memory 12 .
[0268] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
[0269] The memory 12 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may run the program instructions to implement the sound source localization method of each embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0270] In one example, the electronic device 10 may further include: an input device 13 and an output device 14, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0271] For example, when the electronic device is the first device 100 or the second device 200, the input device 13 may be the microphone or microphone array described above, for capturing input signals from a sound source. When the electronic device is a stand-alone device, the input device 13 may be a communication network connector, for receiving collected input signals from the first device 100 and the second device 200.
[0272] In addition, the input device 13 may also include, for example, a keyboard, a mouse, and the like.
[0273] The output device 14 can output various information to the outside, including determined distance information, direction information, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0274] Of course, to simplify, Fig.15 Only some of the components related to the present disclosure in the electronic device 10 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 10 may also include any other appropriate components.
[0275] Exemplary computer program products and computer-readable storage media
[0276] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the sound source localization method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.
[0277] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0278] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the processor executes the steps of the sound source localization method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0279] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 above.
[0280] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0281] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0282] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0283] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0284] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for capturing an image, comprising: In response to a wake-up command indicated by a user, controlling the vehicle to enter a shooting mode corresponding to the wake-up command; Detecting that the vehicle has entered shooting mode and obtaining the shooting command input by the user; In response to a user's shooting instruction, determining a user's attention behavior; The user's attention behavior includes the user's eye area corresponding to the sight attention behavior and the user's body posture corresponding to the behavior; Determining a shooting angle of an external camera based on the user's attention behavior; Determine the shooting range of each exterior camera of the vehicle, and determine the exterior camera whose shooting range includes the shooting angle as the target exterior camera; Controlling the target vehicle exterior camera to shoot the environment around the vehicle based on the shooting angle and the shooting mode; The determining of the user's attention behavior in response to the user's shooting instruction includes: In response to a user's shooting instruction, determining the user's operation authority; Determining the user's attention behavior based on the user having the operation authority; Based on the fact that the user does not have the operation authority, controlling the voice module of the vehicle to play a preset voice, the preset voice being used to request the operation authority from the user with the operation authority; and in response to obtaining a confirmation instruction from the user with the operation authority, determining the user's attention behavior; The determining of the shooting angle of the external camera based on the user's attention behavior includes: Determine the user's eye area image sequence and body area image sequence based on the in-car camera; Determine the user's sight direction based on the eye region image sequence; determine the user's body posture information based on the body region image sequence; the body posture information includes the face direction, head direction and limb direction; Determining the priority and confidence of the gaze direction, face orientation, head orientation, and limb orientation; the confidence represents the accuracy of the acquired direction; Based on the priorities and confidence levels of the sight line direction, face orientation, head orientation, and limb orientation, the user's focus direction is determined, and the shooting angle of the external camera is determined according to the focus direction.
2. The image capturing method according to claim 1, wherein: The controlling the target external camera to shoot the environment around the vehicle based on the shooting angle and the shooting mode includes: The target exterior camera is controlled to rotate so that the angle of the center position of the target exterior camera is the shooting angle, and the target exterior camera is controlled to shoot based on the shooting mode.
3. The image capturing method according to claim 1 or 2, wherein: The controlling the target external camera to shoot the environment around the vehicle based on the shooting angle and the shooting mode includes: determining a range to be photographed according to the photographing angle; The target vehicle exterior camera is controlled to zoom in on the range to be photographed and photograph based on the photographing mode; the range to be photographed refers to an angle range with the photographing angle as the center and a size of a preset angle.
4. The image capturing method according to claim 1, wherein: The wake-up instruction includes a preset wake-up voice and / or a preset wake-up gesture; Also includes: In response to a user-indicated instruction to end shooting, the target vehicle exterior camera is controlled to stop shooting, wherein the instruction to end shooting includes a preset ending voice and / or a preset ending gesture.
5. The image capturing method according to claim 1, wherein: Also includes: Detect users’ emotional states in real time; Based on detecting a predetermined emotional state change of the user, the voice module of the vehicle is controlled to play a preset prompt voice to the user, and the preset prompt voice is used to enable the user to determine whether to control the external camera to shoot.
6. The image capturing method according to claim 1 or 5, wherein: The determining the user's attention behavior in response to the user's shooting instruction includes: Real-time detection of user input voice commands; Based on detecting that the user inputs a preset voice command, determining that the user inputs a shooting command; In response to the preset voice instruction, the user's attention behavior is determined.
7. The image capturing method according to claim 1 or 5, wherein: The determining the user's attention behavior in response to the user's shooting instruction includes: Real-time detection of user behavior based on in-car cameras; Based on the detection of a preset action of the user, determining that the user has input a shooting instruction; In response to the preset action, the user's attention behavior is determined.
8. An image capturing device comprising: a shooting mode confirmation module, configured to control the vehicle to enter a shooting mode corresponding to the wake-up instruction in response to a wake-up instruction indicated by the user; a behavior determination module, configured to detect that the vehicle enters a shooting mode and obtain a shooting instruction input by a user; and determining the user's attention behavior in response to the user's shooting instruction; The user's attention behavior includes the user's eye area corresponding to the sight attention behavior and the user's body posture corresponding to the behavior; an angle determination module, configured to determine a shooting angle of an external camera based on the user's attention behavior; a target exterior camera determination module configured to determine a shooting range of each exterior camera of the vehicle, and determine an exterior camera whose shooting range includes the shooting angle as a target exterior camera; a shooting module configured to control the target vehicle exterior camera to shoot the environment around the vehicle based on the shooting angle and the shooting mode; The behavior determination module is further configured to determine the user's operation authority in response to the user's shooting instruction; and determine the user's attention behavior based on the user having the operation authority; Based on the fact that the user does not have the operation authority, controlling the voice module of the vehicle to play a preset voice, the preset voice being used to request the operation authority from the user with the operation authority; and in response to obtaining a confirmation instruction from the user with the operation authority, determining the user's attention behavior; The angle determination module is further configured to determine a sequence of eye region images and a sequence of body region images of the user based on the in-vehicle camera; and determine the user's sight direction based on the eye region image sequence; determining the user's body posture information based on the human body region image sequence; The human body posture information includes face orientation, head orientation and limb orientation; Determining the priority and confidence of the gaze direction, face orientation, head orientation, and limb orientation; The confidence level represents the accuracy of the acquired direction; Based on the priorities and confidence levels of the sight line direction, face orientation, head orientation, and limb orientation, the user's focus direction is determined, and the shooting angle of the external camera is determined according to the focus direction.
9. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the image capturing method according to any one of claims 1 to 7.
10. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the image capturing method described in any one of claims 1 to 7.
