Vehicle control method and device, storage medium and electronic equipment
By setting target objects inside the vehicle and identifying graphic information using the camera module, and sending the vehicle function directly, the problems of cumbersome operations and safety hazards in the prior art are solved, and simplified vehicle control is achieved.
Patent Information
- Application Number
- CN202211025223.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-08-25
AI Technical Summary
The existing vehicle function control is complicated to operate through touch display screens, especially when driving.
By setting a target object inside the vehicle, acquiring object images using the camera module, identifying graphic information and determining control instructions, and sending control instructions to the execution system according to the vehicle's operating status, realizing the direct contact-transmitting vehicle function.
It avoids the safety hazards caused by multiple operation of the touch display screen and simplifies the vehicle function control process.
Smart Images

Figure CN115285140B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle traffic, and in particular to a vehicle control method and device, a storage medium and an electronic device. Background Art
[0002] With the development of technology, the function buttons in various types of vehicles have gradually been replaced by touch screens instead of physical buttons. Users can trigger and control the corresponding functions of the vehicle by performing corresponding clicks or sliding operations on the touch screen.
[0003] The inventors studied the existing process of controlling the corresponding functions of the vehicle through the touch display screen and found that when controlling some specific functions of the vehicle, it is often necessary to continuously turn pages on the display screen or click to enter multiple display interfaces in sequence before finding the corresponding function control icon. The operation process is cumbersome, especially when the vehicle is in motion, which will cause certain safety hazards. Summary of the Invention
[0004] In view of the above problems, the present invention provides a vehicle control method and device, storage medium and electronic device that overcome the above problems or at least partially solve the above problems. The technical solutions are as follows:
[0005] A vehicle control method, comprising:
[0006] Acquiring an object image of a target object in a preset direction, wherein the target object is set at a predetermined position inside the vehicle;
[0007] Identifying graphic information corresponding to the object image;
[0008] determining each manipulation instruction corresponding to the graphic information;
[0009] Determine the current operating state of the vehicle, and send each control instruction that meets the execution conditions in the current operating state to the vehicle execution system corresponding to the control instruction to trigger the vehicle execution system to execute the operation function corresponding to the control instruction.
[0010] Optionally, in the above method, obtaining an object image of the target object in a preset direction includes:
[0011] A camera module set inside the vehicle is used to obtain an object image of the target object in a preset direction. The camera module includes at least one camera device, and each camera device is set at a corresponding position inside the vehicle according to a preset setting method within a setting range of the preset direction.
[0012] Optionally, in the above method, when the camera module includes multiple camera devices, obtaining an object image of the target object in a preset direction includes:
[0013] determining an initial object image of the target object in a preset direction acquired by each of the camera devices;
[0014] Extracting overlapping regions of the initial object images to determine overlapping images corresponding to the initial object images;
[0015] The image region of the target object to which the overlapping images belong is used as the object image of the target object in the preset direction.
[0016] In the above method, optionally, the step of identifying graphic information corresponding to the object image includes:
[0017] Applying a preset image detection algorithm to perform pattern recognition on the object image to identify a pattern contained in the object image;
[0018] The pattern is determined as graphic information corresponding to the object image.
[0019] In the above method, optionally, the determining of each manipulation instruction corresponding to the graphic information includes:
[0020] Traversing a set of control instructions, wherein the control instruction set is pre-set with a plurality of mapping relationships, each of the mapping relationships including preset graphic information and a control instruction corresponding to the preset graphic information;
[0021] Matching the graphic information with each of the mapping relationships respectively;
[0022] The manipulation instruction in the mapping relationship matching the graphic information is determined as the manipulation instruction corresponding to the graphic information.
[0023] Optionally, the method further includes sending each control instruction that meets the execution condition in the current operating state to the vehicle execution system corresponding to the control instruction, including:
[0024] For each of the control instructions, if the control function implemented by executing the control instruction does not conflict with the current operating state of the vehicle, the control instruction is determined to meet the execution conditions and the control instruction is sent to the vehicle execution system corresponding to the control instruction.
[0025] In the above method, optionally, the target object is adsorbed to a predetermined position inside the vehicle by a magnet or Velcro.
[0026] A vehicle control device, comprising:
[0027] an acquisition unit, configured to acquire an object image of a target object in a preset direction, wherein the target object is disposed at a predetermined position inside the vehicle;
[0028] an identification unit, configured to identify graphic information corresponding to the object image;
[0029] a determining unit, configured to determine each manipulation instruction corresponding to the graphic information;
[0030] The control unit is used to determine the current operating state of the vehicle and send each control instruction that meets the execution conditions in the current operating state to the vehicle execution system corresponding to the control instruction, so as to trigger the vehicle execution system to execute the operation function corresponding to the control instruction.
[0031] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned vehicle control method.
[0032] An electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the above-mentioned vehicle control method.
[0033] Compared with the prior art, the present invention has the following advantages: The vehicle control method provided by the embodiment of the present invention includes: obtaining an object image of a target object in a preset direction, wherein the target object is set at a predetermined position inside the vehicle; identifying graphic information corresponding to the object image; determining each control instruction corresponding to the graphic information; determining the current operating state of the vehicle, and sending each control instruction that meets the execution conditions under the current operating state to the vehicle execution system corresponding to the control instruction, so as to trigger the vehicle execution system to execute the operation function corresponding to the control instruction, thereby achieving control of the vehicle. The vehicle control method provided by the embodiment of the present invention avoids the safety hazards brought about by multiple operations on the touch display screen by identifying the graphic information in the object image of the target object in a predetermined direction, thereby determining the control instruction corresponding to the graphic information, sending the control instruction to the vehicle execution system, and triggering the vehicle execution system to execute the corresponding control function.
[0034] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0036] Figure 1 A flow chart of a vehicle control method provided by an embodiment of the present invention;
[0037] Figure 2 Another method flow chart of a vehicle control method provided by an embodiment of the present invention;
[0038] Figure 3 Another method flow chart of a vehicle control method provided by an embodiment of the present invention;
[0039] Figure 4 An example diagram of a target object provided by an embodiment of the present invention;
[0040] Figure 5 A cross-sectional view of a vehicle provided in an embodiment of the present invention;
[0041] Figure 6 A schematic structural diagram of a vehicle control device provided by an embodiment of the present invention;
[0042] Figure 7 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0044] refer to Figure 1 FIG. 1 shows a flow chart of a vehicle control method provided by an embodiment of the present invention. Figure 1 The method execution process shown is a feasible implementation method of the task execution method provided by the embodiment of the present invention. The method can be applied to the central control system of various types of vehicles. The execution subject can be the control chip of the central control system of the vehicle. The various types of vehicles can include cars, off-road vehicles, public transportation vehicles, etc. The vehicle control method provided by the embodiment of the present invention specifically includes:
[0045] S101: Acquire an object image of a target object in a preset direction, where the target object is set at a predetermined position inside a vehicle;
[0046] In the method provided by an embodiment of the present invention, a target object is placed at a predetermined location inside a vehicle. The target object can be a three-dimensional structure with a regular shape or a relatively irregular shape. Each three-dimensional surface of the target object is marked with a custom pattern, such as English letters, Chinese characters, or animal or plant images. Each custom pattern on the three-dimensional surface of the target object is pre-set with a corresponding control instruction, and each of the control instructions is pre-stored in the vehicle's control chip.
[0047] In the method provided by an embodiment of the present invention, the target object is placed within a space accessible to the driver inside the vehicle. The target object is movably placed at the predetermined position and can be fixed at the predetermined position by magnets or Velcro. When the driver needs to activate a corresponding vehicle operating function, the target object can be moved so that a three-dimensional surface thereof faces the camera module set in a preset direction.
[0048] It can be understood that, in the method provided in the embodiment of the present invention, the preset direction is the direction in which the camera module is set.
[0049] In the method provided by the embodiment of the present invention, an object image of a target object in a preset direction can be acquired in real time. The object image is preferably an image corresponding to a three-dimensional surface of the target object.
[0050] S102: Identify graphic information corresponding to the object image;
[0051] In the method provided by the embodiment of the present invention, after acquiring an object image of a target object in a preset direction, pattern recognition is performed on the acquired object image to identify pattern information corresponding to the object image. The pattern information may include a preset pattern in the object image.
[0052] S103: Determine each control instruction corresponding to the graphic information;
[0053] In the method provided by the embodiment of the present invention, corresponding control instructions can be set in advance for each graphic information. One graphic information can correspond to one control instruction or multiple control instructions at the same time. In the method provided by the embodiment of the present invention, when the corresponding graphic information is identified, each control instruction corresponding to the graphic information is further determined.
[0054] In the method provided by an embodiment of the present invention, when graphic information corresponds to multiple control instructions, the multiple control instructions corresponding to the graphic information can be in the form of an instruction set. The graphic information has a mapping relationship with multiple control instructions at the same time, and the control instructions corresponding to the current graphic information can be directly determined.
[0055] S104: Determine the current operating state of the vehicle, and send each control instruction that meets the execution conditions in the current operating state to the vehicle execution system corresponding to the control instruction to trigger the vehicle execution system to execute the operation function corresponding to the control instruction.
[0056] In the method provided in an embodiment of the present invention, the current operating state of the vehicle is determined. The current operating state of the vehicle may include whether the vehicle is in a driving state, a stationary state, and a parking gear when the vehicle is in a stationary state, etc. It may also include the external environment in which the vehicle is located, such as driving or stationary in a rainy environment.
[0057] In the method provided in the embodiment of the present invention, it is further determined whether each control instruction meets the corresponding execution condition under the current operating state of the vehicle. For example, if the current control instruction is to open the sunroof, and the current operating state of the vehicle is driving in rainy weather, it is determined that the current control instruction does not meet the execution condition under the current operating state. Each control instruction has its own execution condition.
[0058] In the method provided in an embodiment of the present invention, each control instruction that meets the execution conditions in the current operating state is sent to the vehicle execution system corresponding to the control instruction. The vehicle execution system is the various sub-control modules in the vehicle control center. Each vehicle execution system can realize the corresponding control function. The vehicle execution system can be an air-conditioning system, a sunroof system, etc.
[0059] In the method provided by an embodiment of the present invention, each control instruction that meets the execution conditions is sent to the corresponding vehicle execution system to trigger the vehicle execution system to execute the operation function corresponding to the control instruction, such as opening the vehicle sunroof, adjusting the vehicle air-conditioning temperature, etc.
[0060] In the method provided by the embodiment of the present invention, when the driver needs to activate a certain function of the vehicle in the vehicle, he can adjust the orientation of the corresponding three-dimensional surface of the target object at a predetermined position within the corresponding spatial range, so that the three-dimensional surface corresponding to the vehicle function to be realized faces the preset direction, and a camera module is set in the preset direction. Further, through the control chip set in the vehicle, the vehicle control method provided by the embodiment of the present invention is triggered, which can specifically include: obtaining an object image of the target object in a preset direction, and the target object is set at a predetermined position inside the vehicle; identifying the graphic information corresponding to the object image; determining each control instruction corresponding to the graphic information; determining the current operating state of the vehicle, and sending each control instruction that meets the execution condition in the current operating state to the vehicle execution system corresponding to the control instruction, so as to trigger the vehicle execution system to execute the operation function corresponding to the control instruction, thereby realizing control of the vehicle. The vehicle control method provided by the embodiment of the present invention, by identifying the graphic information in the object image of the target object in the predetermined direction, and then determining the control instruction corresponding to the graphic information, sending the control instruction to the vehicle execution system, triggering the vehicle execution system to execute the corresponding control function, avoids the safety hazards caused by multiple operations on the touch display screen.
[0061] In the method provided by an embodiment of the present invention, obtaining an object image of the target object in a preset direction includes:
[0062] A camera module set inside the vehicle is used to obtain an object image of the target object in a preset direction. The camera module includes at least one camera device, and each camera device is set at a corresponding position inside the vehicle according to a preset setting method within a setting range of the preset direction.
[0063] In the method provided in an embodiment of the present invention, a camera module is installed inside the vehicle. The camera module can be placed at a corresponding position inside the vehicle and, if not obstructed, can be adaptively positioned according to the size of the vehicle space. Accordingly, the position of the target object is preferably set according to the location of the target object inside the vehicle. During the actual setting process, the location of the target object can also be adjusted based on the location of the camera module, so as to be within the corresponding range that can be touched by the driver.
[0064] In the method provided in the embodiment of the present invention, the camera module may include one or more camera devices, and the camera device may be a camera.
[0065] When the camera module includes a camera device, the camera device can face the three-dimensional surface of the target object in a preset direction and directly capture the object image of the three-dimensional surface of the target object.
[0066] In the method provided by the embodiment of the present invention, when the camera module includes multiple camera devices, the multiple camera devices are set in a corresponding setting manner in a preset direction, and each camera device can capture an object image of the same three-dimensional surface of the target object in the preset direction at its setting position. Further, when the camera module includes multiple camera devices, the process of obtaining the object image of the target object in the preset direction can be as follows: Figure 2 Shown, including:
[0067] S201: Determine an initial object image of the target object in a preset direction acquired by each of the camera devices;
[0068] In the method provided by an embodiment of the present invention, when the camera module includes multiple camera devices, an initial object image in a preset direction is determined for each camera device. In the preset direction, each camera device can capture an object image of a three-dimensional surface of the current target object in the preset direction. The three-dimensional object images captured by each camera device are not exactly the same. Some cameras can capture an object image of the entire three-dimensional surface, while some cameras can capture an object image of a portion of the three-dimensional surface and a portion of another three-dimensional surface. Based on the installation position of each camera device, the three-dimensional object image to be displayed in the preset direction to the user currently in the driving seat can ultimately be determined.
[0069] S202: extracting overlapping regions from the initial object images to determine overlapping images corresponding to the initial object images;
[0070] In the method provided by the embodiment of the present invention, corresponding overlapping images can be determined by extracting overlapping regions from each of the collected initial object images.
[0071] S203: Using the image region of the target object to which the overlapping images belong as the object image of the target object in the preset direction.
[0072] In the method provided by the embodiment of the present invention, the object image of the three-dimensional surface where the overlapping images are located can be further determined as the object image that ultimately needs to be recognized in the preset direction.
[0073] In the method provided by an embodiment of the present invention, the images of the overlapping parts existing in multiple initial object images can be considered as the object images of the three-dimensional surface that need to be identified. In this way, when the camera module includes multiple camera devices, the object image of the target object in the preset direction is obtained.
[0074] In the method provided by an embodiment of the present invention, the identifying graphic information corresponding to the object image includes:
[0075] Applying a preset image detection algorithm to perform pattern recognition on the object image to identify a pattern contained in the object image;
[0076] The pattern is determined as graphic information corresponding to the object image.
[0077] In the method provided by the embodiment of the present invention, a corresponding image detection algorithm can be applied to perform graphic recognition on the collected object image of the three-dimensional surface of the target object to identify the pattern contained in the object image, which can be graphics such as English letters or Chinese characters.
[0078] In the method provided by an embodiment of the present invention, determining each manipulation instruction corresponding to the graphic information includes:
[0079] Traversing a set of control instructions, wherein the control instruction set is pre-set with a plurality of mapping relationships, each of the mapping relationships including preset graphic information and a control instruction corresponding to the preset graphic information;
[0080] In the method provided by an embodiment of the present invention, a control instruction set is pre-set, and multiple mapping relationships are set in the control instruction set. A pre-set graphic and the control instruction corresponding to the graphic are associated to form a mapping relationship. When a preset graphic corresponds to multiple control instructions, a preset graphic has a mapping relationship with multiple control instructions at the same time.
[0081] Matching the graphic information with each of the mapping relationships respectively;
[0082] The manipulation instruction in the mapping relationship matching the graphic information is determined as the manipulation instruction corresponding to the graphic information.
[0083] In the method provided by the embodiment of the present invention, a mapping relationship between graphic information and control instructions can be set. Through the corresponding mapping relationship, each control instruction corresponding to the graphic information can be determined, and then the corresponding vehicle function can be triggered according to the corresponding control instruction.
[0084] In the method provided by an embodiment of the present invention, sending each control instruction that meets the execution condition in the current operating state to the vehicle execution system corresponding to the control instruction includes:
[0085] For each of the control instructions, if the control function implemented by executing the control instruction does not conflict with the current operating state of the vehicle, the control instruction is determined to meet the execution conditions and the control instruction is sent to the vehicle execution system corresponding to the control instruction.
[0086] In the method provided in an embodiment of the present invention, for each control instruction, before executing the control instruction, it is possible to determine whether the control function implemented by each control instruction will cause an operation conflict with the current operating state of the vehicle if the control function implemented by the control instruction is executed. For example, when the vehicle is in driving state, laying the seat flat is not allowed.
[0087] refer to Figure 3 The embodiment of the present invention provides a specific example to explain the entire control process of the above vehicle control method in detail, which specifically includes the following steps:
[0088] The vehicle system sets the execution functions corresponding to different images;
[0089] When the corresponding vehicle function needs to be activated, the image detection function is turned on;
[0090] The crew places the "Physical Quick Control Object", which is the target object mentioned above;
[0091] Identify the surface image directly above the target object;
[0092] The vehicle system matches the execution function corresponding to the surface image directly above it and issues an execution instruction;
[0093] Each system in the vehicle executes the execution instructions issued by the vehicle.
[0094] In the method provided by the embodiment of the present invention, the "physical quick control object", that is, the target object, can be an object with a regular shape, such as a cube, a polyhedron, etc. The target object can be placed on other objects in the car, or it can be fixed to a certain position in the car through a mechanical structure. After being fixed to a certain position in the car, the target object can still be rotated, and the occupants can move the various three-dimensional surfaces of the target object.
[0095] refer to Figure 4 The target object can be a cube, with the letter A marked on the top of the cube, the letter B marked on the bottom, the letter F marked on the front view side, the letter E marked on the back view side, the letter C marked on the left view side, and the letter D marked on the right view side.
[0096] refer to Figure 5 , shows a cross-sectional view of a vehicle, wherein a target object 301 is positioned inside the vehicle, and a camera 302 is positioned inside the vehicle in a predetermined direction relative to the target object 301. In this example, the camera 302 is preferably positioned directly above the target object 301, capable of capturing a three-dimensional image of the object directly above the target object 301. The steering wheel 303 and seat 304 inside the vehicle are positioned within the tactile range of the occupants, placing the target object 301 within reach.
[0097] The target object 301 can be adsorbed on other metal parts inside the vehicle by magnet adsorption and is in a stable state.
[0098] In this example, the surface of the target object can display different patterns through printing or screen, and the patterns include numbers, letters, words, patterns, symbols, user-defined graphics, etc.
[0099] In this example, the vehicle can optionally be equipped with one or more light-sensitive cameras. The cameras can capture the surface directly above the "physical quick control object." An image detection algorithm running in the vehicle's host computer can identify the pattern information on the surface directly above the "physical quick control object" and transmit this information to the vehicle system. For example, in the image above, the image information recognized is the letter A.
[0100] In this example, the vehicle system can set a single function or a combination of functions to be controlled by different graphics on the "physical quick control object".
[0101] Specifically, it can be set as follows: if graphic "A" is detected, execute the function: turn on the air conditioner.
[0102] If graphic "B" is detected, execute the following functions: close the windows and turn on the air conditioner.
[0103] The control instructions issued by the quick function setting system are transmitted to each sub-function system for execution.
[0104] In the method provided by the embodiment of the present invention, a certain function of the vehicle can be quickly controlled by flipping or placing a physical object, giving the user a refreshing and safe control feeling.
[0105] Through image recognition technology, customized user images can be identified, bringing a sense of mystery of ciphertext manipulation.
[0106] In this example, a magnet can be installed at a fixed position in the vehicle and a magnet can be installed on the quick control object, so that the two can be attracted to each other to fix the quick control object.
[0107] Alternatively, by installing a Velcro at a fixed position in the vehicle and installing a Velcro on the quick control object, the two can be adhered to fix the quick control object.
[0108] In this example, it can also be set that if the graphic C is detected, no function is executed.
[0109] In the method provided by the embodiment of the present invention, the control instruction corresponding to the corresponding graphic may be set to not perform any operation.
[0110] In the method provided in the embodiment of the present invention, a decision on whether to execute a function can be made based on the vehicle gear position, vehicle speed, the condition of the passengers in the vehicle, the environment outside the vehicle, whether it is raining or snowing, and other scenarios.
[0111] For example: Only in P gear can you turn on the nap mode and lay the seat flat;
[0112] When it is raining outside the car, do not open the sunroof;
[0113] Limit the maximum volume in decibels when children are in the car.
[0114] The embodiment of the present invention also provides a vehicle control device corresponding to a vehicle control method, wherein the vehicle control device is used to implement the application of the vehicle control method in practice. The structural diagram of the vehicle control device can be referred to Figure 6 , the vehicle control device includes:
[0115] An acquisition unit 401 is configured to acquire an object image of a target object in a preset direction, wherein the target object is disposed at a predetermined position inside the vehicle;
[0116] Recognition unit 402, configured to recognize graphic information corresponding to the object image;
[0117] A determination unit 403, configured to determine each manipulation instruction corresponding to the graphic information;
[0118] The control unit 404 is used to determine the current operating state of the vehicle and send each control instruction that meets the execution conditions in the current operating state to the vehicle execution system corresponding to the control instruction to trigger the vehicle execution system to execute the operation function corresponding to the control instruction.
[0119] The vehicle control device provided by an embodiment of the present invention identifies the graphic information in the object image of the target object in a predetermined direction, and then determines the control instructions corresponding to the graphic information, sends the control instructions to the vehicle execution system, triggering the vehicle execution system to perform the corresponding control function, thereby avoiding the safety hazards caused by multiple operations on the touch display screen.
[0120] In the vehicle control device provided by an embodiment of the present invention, the identification unit includes:
[0121] an application subunit, configured to apply a preset image detection algorithm to perform pattern recognition on the object image to identify a pattern contained in the object image;
[0122] The first determining subunit is configured to determine the pattern as graphic information corresponding to the object image.
[0123] In the vehicle control device provided by an embodiment of the present invention, the determining unit includes:
[0124] A traversal subunit, configured to traverse a set of control instructions, wherein the control instruction set is pre-set with a plurality of mapping relationships, each of which includes preset graphic information and a control instruction corresponding to the preset graphic information;
[0125] a matching subunit, configured to match the graphic information with each of the mapping relationships respectively;
[0126] The second determining subunit is configured to determine the manipulation instruction in the mapping relationship matching the graphic information as the manipulation instruction corresponding to the graphic information.
[0127] The vehicle control device provided by the embodiment of the present invention includes a processor and a memory. The above-mentioned various units are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0128] The processor contains a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels, and the vehicle control process can be dynamically executed by adjusting the kernel parameters.
[0129] An embodiment of the present invention provides a storage medium having a program stored thereon, which implements the vehicle control method when executed by a processor.
[0130] An embodiment of the present invention provides a processor, which is used to run a program, wherein the vehicle control method is executed when the program is run.
[0131] like Figure 7 As shown, an embodiment of the present invention provides an electronic device, comprising at least one processor 501, at least one memory 502 connected to the processor 501, and a bus 503. The processor 501 and the memory 502 communicate with each other via the bus 503. The processor 501 is configured to invoke program instructions stored in the memory 502 to execute the vehicle control method described above. The device herein may be an onboard controller, an onboard chip, or the like.
[0132] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing the following method steps, the method comprising:
[0133] Acquiring an object image of a target object in a preset direction, wherein the target object is set at a predetermined position inside the vehicle;
[0134] Identifying graphic information corresponding to the object image;
[0135] determining each manipulation instruction corresponding to the graphic information;
[0136] Determine the current operating state of the vehicle, and send each control instruction that meets the execution conditions under the current operating state to the vehicle execution system corresponding to the control instruction to trigger the vehicle execution system to execute the operation function corresponding to the control instruction, thereby realizing control of the vehicle.
[0137] Optionally, in the above method, obtaining an object image of the target object in a preset direction includes:
[0138] A camera module set inside the vehicle is used to obtain an object image of the target object in a preset direction. The camera module includes at least one camera device, and each camera device is set at a corresponding position inside the vehicle according to a preset setting method within a setting range of the preset direction.
[0139] Optionally, in the above method, when the camera module includes multiple camera devices, obtaining an object image of the target object in a preset direction includes:
[0140] determining an initial object image of the target object in a preset direction acquired by each of the camera devices;
[0141] Extracting overlapping regions of the initial object images to determine overlapping images corresponding to the initial object images;
[0142] The image region of the target object to which the overlapping images belong is used as the object image of the target object in the preset direction.
[0143] In the above method, optionally, the step of identifying graphic information corresponding to the object image includes:
[0144] Applying a preset image detection algorithm to perform pattern recognition on the object image to identify a pattern contained in the object image;
[0145] The pattern is determined as graphic information corresponding to the object image.
[0146] In the above method, optionally, the determining of each manipulation instruction corresponding to the graphic information includes:
[0147] Traversing a set of control instructions, wherein the control instruction set is pre-set with a plurality of mapping relationships, each of the mapping relationships including preset graphic information and a control instruction corresponding to the preset graphic information;
[0148] Matching the graphic information with each of the mapping relationships respectively;
[0149] The manipulation instruction in the mapping relationship matching the graphic information is determined as the manipulation instruction corresponding to the graphic information.
[0150] Optionally, the method further includes sending each control instruction that meets the execution condition in the current operating state to the vehicle execution system corresponding to the control instruction, including:
[0151] For each of the control instructions, if the control function implemented by executing the control instruction does not conflict with the current operating state of the vehicle, the control instruction is determined to meet the execution conditions and the control instruction is sent to the vehicle execution system corresponding to the control instruction.
[0152] In the above method, optionally, the target object is adsorbed to a predetermined position inside the vehicle by a magnet or Velcro.
[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] In a typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input / output interfaces, network interfaces, and the like.
[0155] Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory includes at least one memory chip. Memory is an example of a computer-readable medium.
[0156] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0157] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0158] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0159] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A vehicle control method, characterized in that: include: Acquiring an object image of a target object in a preset direction, wherein the target object is set at a predetermined position inside the vehicle; The target object is a structure with adjustable direction and multiple three-dimensional surfaces, and the three-dimensional surfaces are marked with the object image; Identifying graphic information corresponding to the object image; determining each manipulation instruction corresponding to the graphic information; Determine the current operating state of the vehicle, and send each control instruction that meets the execution conditions in the current operating state to the vehicle execution system corresponding to the control instruction to trigger the vehicle execution system to execute the operation function corresponding to the control instruction.
2. The method according to claim 1, characterized in that The acquiring of an object image of the target object in a preset direction includes: A camera module set inside the vehicle is used to obtain an object image of the target object in a preset direction. The camera module includes at least one camera device, and each camera device is set at a corresponding position inside the vehicle according to a preset setting method within a setting range of the preset direction.
3. The method according to claim 2, characterized in that When the camera module includes a plurality of camera devices, acquiring an object image of the target object in a preset direction includes: determining an initial object image of the target object in a preset direction acquired by each of the camera devices; Extracting overlapping regions of the initial object images to determine overlapping images corresponding to the initial object images; The image region of the target object to which the overlapping images belong is used as the object image of the target object in the preset direction.
4. The method according to claim 1, wherein The identifying graphic information corresponding to the object image includes: Applying a preset image detection algorithm to perform pattern recognition on the object image to identify a pattern contained in the object image; The pattern is determined as graphic information corresponding to the object image.
5. The method according to claim 1, wherein The determining of each manipulation instruction corresponding to the graphic information includes: Traversing a set of control instructions, wherein the control instruction set is pre-set with a plurality of mapping relationships, each of the mapping relationships including preset graphic information and a control instruction corresponding to the preset graphic information; Matching the graphic information with each of the mapping relationships respectively; The manipulation instruction in the mapping relationship matching the graphic information is determined as the manipulation instruction corresponding to the graphic information.
6. The method according to claim 1, characterized in that The step of sending each control instruction that meets the execution condition in the current operating state to the vehicle execution system corresponding to the control instruction includes: For each of the control instructions, if the control function implemented by executing the control instruction does not conflict with the current operating state of the vehicle, the control instruction is determined to meet the execution conditions and the control instruction is sent to the vehicle execution system corresponding to the control instruction.
7. The method according to claim 1, characterized in that The target object is adsorbed on a predetermined position inside the vehicle by a magnet or Velcro.
8. A vehicle control device, characterized in that: include: an acquisition unit, configured to acquire an object image of a target object in a preset direction, wherein the target object is disposed at a predetermined position inside the vehicle; The target object is a structure with adjustable direction and multiple three-dimensional surfaces, and the three-dimensional surfaces are marked with the object image; an identification unit, configured to identify graphic information corresponding to the object image; a determining unit, configured to determine each manipulation instruction corresponding to the graphic information; The control unit is used to determine the current operating state of the vehicle and send each control instruction that meets the execution conditions in the current operating state to the vehicle execution system corresponding to the control instruction, so as to trigger the vehicle execution system to execute the operation function corresponding to the control instruction.
9. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the vehicle control method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: The invention comprises at least one processor, at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute the vehicle control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control system for using hand gesture for vehicle
CN103885580A
Vehicle recognizing user gesture and method for controlling the same
CN104627094A