Method and device for shooting through mobile vehicle and mobile vehicle
The touch screen of the mobile vehicle displays the virtual vehicle image and receives the matching camera, which solves the problem of inconvenience in shooting during driving, realizes convenient and safe shooting operations, and improves user experience and shooting efficiency.
Patent Information
- Application Number
- CN202510828330.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-09-05
AI Technical Summary
During driving a mobile vehicle, it is difficult for the driver to perform shooting operations in an easy way, especially when the vehicle is moving, the situation cannot be captured in time, and the prior art requires manual adjustment of the camera to cause distraction.
Display virtual vehicle images through the touch screen of the mobile vehicle, receive clicks, long presses or swipes to match and enable the camera, obtain pictures or videos, and display the shooting results on the screen.
It improves the convenience and intuitiveness of user operations, reduces the driver's distraction, improves driving safety and shooting efficiency, and allows flexible shooting options.
Smart Images

Figure CN120602765A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of mobile vehicles, and in particular to a method and device for photographing via a mobile vehicle, and a mobile vehicle. Background Art
[0002] When driving a vehicle or other moving vehicle, the driver's hands are restricted from the steering wheel, making it difficult for them to do other things, such as taking photos of the scenery around the vehicle. Alternatively, even if the driver can free their hands to take photos, such as when stopping at a traffic light, the vehicle's location may not be the best place to take photos.
[0003] In addition, due to the high speed of the vehicle, when the desired scenery is seen and the shooting is actually ready, the vehicle may have passed the best shooting location and the beautiful scenery cannot be captured. Summary of the Invention
[0004] In view of this, the present application provides a method, device and mobile vehicle for shooting via a mobile vehicle to solve the problem of inconvenience and delay in starting the camera to shoot during the driving of a mobile vehicle.
[0005] In the first aspect, the present application provides a method for shooting through a mobile vehicle, the method comprising: if a first trigger instruction is received, controlling the touch screen of the mobile vehicle to display a virtual mobile vehicle image according to the first trigger instruction; based on the virtual mobile vehicle image, receiving a click operation, a long press operation or a sliding touch operation on the touch screen of the mobile vehicle; matching at least one corresponding first camera on the mobile vehicle according to the position of the click operation, the position of the long press operation or the trajectory of the sliding touch operation, and enabling at least one first camera to shoot; obtaining at least one picture or video taken by the matched at least one first camera; displaying at least one picture frame or video frame through the touch screen, wherein the picture frame or video frame is used to display the picture or video currently taken by the corresponding camera.
[0006] Optionally, the first trigger instruction includes: a voice instruction, or an operation instruction for a virtual button on a touch screen of a mobile vehicle.
[0007] In conjunction with the first aspect, in one possible implementation, a virtual moving vehicle image displayed on a touch screen of a moving vehicle includes multiple virtual cameras; and matching at least one corresponding first camera based on a click operation position, a long press operation position, or a track of a sliding touch operation includes:
[0008] Obtaining a position of a click operation on the touch screen, calculating a distance between the position and a plurality of virtual cameras, and selecting at least one camera whose distance is less than a first preset value as at least one first camera to be matched;
[0009] Alternatively, obtaining the position and long press duration of the long press operation on the touch screen, generating a range interval on the touch screen that changes with the long press duration, and selecting a camera within the range interval as the at least one first camera to be matched;
[0010] Alternatively, the position of the track of the sliding touch operation on the touch screen is obtained, the distance between the point on the track and multiple cameras is calculated, and at least one camera whose distance is less than a second preset value is selected as the at least one first camera to be matched.
[0011] In conjunction with the first aspect, in another possible implementation, the virtual mobile vehicle image displayed on the touch screen of the mobile vehicle includes multiple virtual cameras, and each virtual camera is displayed in the virtual mobile vehicle image in at least one of the following ways: each virtual camera is an expanded virtual camera image, each virtual camera is surrounded by a to-be-selected area, or each virtual camera is provided with a to-be-selected label;
[0012] Matching at least one corresponding first camera according to a position of a click operation, a position of a long press operation, or a trajectory of a sliding touch operation includes:
[0013] Obtaining a position of a click operation on the touch screen, and if the position of the click operation on the touch screen is within the expanded virtual camera image, or within the to-be-selected area of the virtual camera, or within the to-be-selected label of the virtual camera, then selecting at least one camera as the at least one first camera to be matched;
[0014] Alternatively, obtaining a position and a long press duration on the touch screen, generating a range interval on the touch screen that varies with the long press duration, and selecting all expanded virtual camera images or virtual cameras corresponding to all to-be-selected tags within the range interval as the at least one first camera to be matched;
[0015] Alternatively, the position of the trajectory of the sliding touch operation on the touch screen is obtained, and if a point on the trajectory passes through the expanded virtual camera image, the to-be-selected area of the virtual camera, or the to-be-selected label of the virtual camera, at least one camera is selected as the at least one first camera to be matched.
[0016] In combination with the first aspect, in another possible implementation, before receiving a click operation or a sliding touch operation on the touch screen of the mobile vehicle, the method further includes:
[0017] A mapping relationship between a sliding touch shortcut operation and a designated camera is pre-stored.
[0018] Matching at least one corresponding first camera according to a trajectory of the sliding touch operation includes:
[0019] If a sliding touch operation is received, the starting position, moving trajectory and ending position of the sliding touch operation are recorded, and based on a preset mapping relationship, whether the currently received sliding touch operation matches the preset shortcut operation is determined;
[0020] If there is a match, at least one designated camera associated with the shortcut operation is determined according to the mapping relationship as the at least one matched first camera.
[0021] In combination with the first aspect, in yet another possible implementation, after enabling at least one first camera to shoot, the method further includes:
[0022] Obtaining a lock operation on at least one camera or at least one picture frame or video frame; the lock operation includes a click, long press, or sliding touch operation on at least one camera or at least one picture frame or video frame;
[0023] In response to a locking operation, locking at least one target camera or at least one picture frame or video frame;
[0024] When an undo operation is received on at least one target camera or at least one picture frame or video frame on the touch screen, in response to the undo operation, if it is recognized that the undo operation includes at least one target camera or at least one picture frame or video frame that is locked, the undo operation on the at least one target camera or at least one picture frame or video frame that is locked is blocked.
[0025] In combination with the first aspect, in another possible implementation, after matching the at least one corresponding first camera according to the trajectory of the sliding touch operation, the method further includes:
[0026] Receiving a lock operation on at least one camera or at least one picture frame or video frame;
[0027] In response to the undo operation, the at least one first camera corresponding to the undo operation is turned off, and the display of the at least one picture frame or video frame corresponding to the at least one first camera is canceled on the touch screen.
[0028] In combination with the first aspect, in another possible implementation, after displaying at least one picture frame or video frame on the touch screen, the method further includes:
[0029] Obtain a camera update instruction, and in response to the update instruction, receive a new click operation, long press operation, or sliding touch operation performed on the touch screen of a mobile vehicle, and determine at least one second camera that matches the new click operation, long press operation, or sliding touch operation; if the at least one second camera is different from the at least one first camera, update the at least one first camera to the at least one second camera, and enable the at least one second camera to shoot.
[0030] In conjunction with the first aspect, in another possible implementation, after obtaining at least one picture or video captured by the at least one matched first camera, the method further includes:
[0031] During the process of saving at least one picture or video, receiving a pause save operation on the at least one picture frame or video frame, and in response to the pause save operation, continuing to display the picture or video captured by the first camera in the at least one picture frame or video frame, and pausing saving of the picture or video captured by the first camera;
[0032] If a cancel-pause-save operation for at least one picture frame or video frame is received, the save function for at least one picture or video currently captured by the first camera is restarted.
[0033] In combination with the first aspect, in yet another possible implementation, the touch screen further displays a pause area;
[0034] The pausing and saving operation includes dragging at least one picture frame or video frame to the pause area of the touch screen;
[0035] Canceling the pause saving operation includes dragging at least one picture frame or video frame in the pause area out of the pause area.
[0036] In a second aspect, the present application provides a device for photographing via a mobile vehicle, the device comprising:
[0037] A receiving module, configured to receive a first trigger instruction;
[0038] A display module is configured to control the touch screen of the mobile vehicle to display a virtual mobile vehicle image according to the first trigger instruction when the first trigger instruction is received;
[0039] The receiving module is further configured to receive a click operation, a long press operation, or a sliding touch operation on the touch screen of the mobile vehicle based on the virtual mobile vehicle image;
[0040] a processing module, configured to match at least one corresponding first camera on a mobile vehicle according to a position of a click operation, a position of a long press operation, or a trajectory of a sliding touch operation, and enable the at least one first camera;
[0041] an acquisition module, configured to acquire at least one picture or video captured by the matched at least one first camera;
[0042] The display module is further used to display at least one picture frame or video frame, which is used to show the picture or video currently captured by the corresponding camera.
[0043] In a third aspect, the present application provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for photographing through a mobile vehicle of the above-mentioned first aspect or any corresponding embodiment thereof.
[0044] In addition, the present application provides a computer program product, including computer instructions, which are used to enable a computer to execute the method for photographing through a mobile vehicle according to the above-mentioned first aspect or any corresponding embodiment.
[0045] In a fourth aspect, the present application also provides a mobile vehicle, which includes: a controller, a memory, a touch screen and at least one camera; wherein the controller is used to call computer program instructions stored in the memory to execute the method of shooting through a mobile vehicle of the above-mentioned first aspect or any corresponding embodiment thereof.
[0046] In addition, at least one camera is used to be activated according to a trigger instruction sent by the controller and to take at least one picture or video; the touch screen is used to display at least one picture frame or video frame.
[0047] Optionally, the mobile vehicle is a vehicle or a manned low-altitude aircraft.
[0048] The present application provides a method, device, and mobile vehicle for capturing images using a mobile vehicle. The touch screen of the mobile vehicle displays a virtual image of the mobile vehicle, allowing users to intuitively preview and select the desired perspective of the mobile vehicle. Clicking, long pressing, or sliding touch operations make camera selection and activation simple and quick, greatly improving the convenience and intuitiveness of user operations. This method allows users to select and activate different cameras based on actual needs through simple touch operations, thereby capturing a variety of images or videos. This flexibility ensures that users can customize the content they capture based on their personal preferences or specific needs.
[0049] Furthermore, this method eliminates the need for drivers to manually adjust or select cameras, allowing them to complete capture tasks through pre-set trigger commands and intuitive touch operations. This helps reduce driver distraction, improves driving safety, and simplifies the camera selection and capture process, allowing users to quickly obtain the desired images or videos. This is particularly important in scenarios such as mobile vehicle inspections, accident recording, or capturing beautiful scenery, improving capture efficiency and practicality.
[0050] By displaying the shooting results on the touch screen of the mobile vehicle, users can instantly review and evaluate the content they have captured. This immediate visual feedback helps users adjust shooting parameters or angles in time to achieve higher quality shooting results. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0052] Figure 1 is a flowchart of a method for photographing using a mobile vehicle according to an embodiment of the present application;
[0053] Figure 2 is a schematic diagram of a virtual vehicle image according to an embodiment of the present application;
[0054] Figure 3 is a schematic diagram of a virtual camera shooting range according to an embodiment of the present application;
[0055] Figure 4a is a schematic diagram of a long press operation according to an embodiment of the present application;
[0056] Figure 4b is a schematic diagram of a sliding touch operation according to an embodiment of the present application;
[0057] Figure 5 is a flowchart of another method for photographing by a mobile vehicle according to an embodiment of the present application;
[0058] Figure 6a is a schematic diagram of determining a matching virtual camera according to an embodiment of the present application;
[0059] Figure 6b is a schematic diagram of another method for determining a matching virtual camera according to an embodiment of the present application;
[0060] Figure 7 is a schematic diagram of an expanded virtual camera image or a region to be selected of a virtual camera according to an embodiment of the present application;
[0061] Figure 8 is a schematic diagram of a process for determining at least one first camera to match according to an embodiment of the present application;
[0062] Figure 9 is a schematic diagram of a quick operation according to an embodiment of the present application;
[0063] Figure 10a is a schematic diagram of a revocation operation according to an embodiment of the present application;
[0064] Figure 10b is a schematic diagram of another revocation operation according to an embodiment of the present application;
[0065] Figure 11 is a schematic diagram of dragging an image to a selection box according to an embodiment of the present application;
[0066] Figure 12 is a flowchart of another method for photographing by a mobile vehicle according to an embodiment of the present application;
[0067] Figure 13 is a schematic diagram of a new sliding touch operation based on an update instruction according to an embodiment of the present application;
[0068] Figure 14 is a structural block diagram of a device for photographing via a mobile vehicle according to an embodiment of the present application;
[0069] Figure 15 It is a structural schematic diagram of a vehicle according to an embodiment of the present application. DETAILED DESCRIPTION
[0070] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.
[0071] Unless otherwise defined, technical or scientific terms used in this disclosure should have the ordinary meaning understood by a person of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and similar expressions used in this disclosure do not indicate any order, quantity, or importance, but are simply used to distinguish different components. Similarly, terms such as "a," "an," or "the" do not indicate a quantitative limitation, but rather indicate the presence of at least one. The numbers in the drawings in this specification merely distinguish between various functional components or modules and do not indicate a logical relationship between the components or modules. Terms such as "include" or "comprising" mean that the element or object preceding the term includes the elements or objects listed after the term, and their equivalents, without excluding other elements or objects. Terms such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0072] Hereinafter, various embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Note that, in the accompanying drawings, the same reference numerals are given to components having substantially the same or similar structures and functions, and repeated descriptions thereof will be omitted.
[0073] Mobile transportation includes vehicles or aircraft, such as a low-altitude aircraft. For the convenience of description, the following embodiments of the present application use vehicles as examples and descriptions of mobile transportation.
[0074] Regarding the shooting scene during the vehicle driving process, the surroundings of the vehicle being shot may be dynamic targets, such as a high-speed moving vehicle, or static environments, such as a certain landscape, etc., and this embodiment does not impose any restrictions on this.
[0075] An embodiment of the present application provides an embodiment of a vehicle photographing method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0076] In this embodiment, a vehicle shooting method is provided, which can be used for a vehicle controller or a controller, a control chip, etc. Figure 1 is a flow chart of a vehicle photographing method according to an embodiment of the present application, such as Figure 1 As shown, the method includes:
[0077] Step S101: If a first trigger instruction is received, the touch screen of the mobile vehicle is controlled to display a virtual mobile vehicle image according to the first trigger instruction.
[0078] The first trigger instruction is used to control the touch screen of the mobile vehicle to display the virtual mobile vehicle image. The touch screen of the mobile vehicle can be a large screen or a display screen of the vehicle, and the large screen or the display screen is a touch screen.
[0079] Optionally, the virtual mobile vehicle image may be a virtual vehicle or a virtual low-altitude aircraft.
[0080] In one possible implementation, Figure 2 As shown, this embodiment takes a virtual vehicle as an example, and the virtual vehicle includes multiple virtual cameras. Figure 2 The figure shows 10 virtual cameras, ① to ⑩. The two rearview mirrors are each equipped with a virtual camera of the same type and symmetrically positioned. For example, virtual cameras ④, ⑤, ⑥, and ⑩, ⑨, and ⑧ are symmetrically positioned on either side of the rearview mirror. There is a virtual camera ⑦ at the front of the vehicle, two virtual cameras ① and ② at the rear, and a virtual camera ③ on the roof. Furthermore, the virtual cameras can be magnified to facilitate user clicks, long presses, or swipes on the touchscreen.
[0081] like Figure 3 As shown, it is a schematic diagram of enlarging and displaying virtual cameras ① to ⑩. In addition, Figure 3 The touch screen of the mobile vehicle also displays the coverage area that each virtual camera can capture.
[0082] It should be understood that in the above Figure 2 or Figure 3 In the embodiment, more or fewer virtual cameras may be set, and this embodiment does not limit this.
[0083] It should be understood that, for the convenience of selection, the positions of the virtual camera and the actual camera on the virtual vehicle may not be completely consistent, but they may also be completely consistent, and this embodiment does not limit this.
[0084] The first trigger instruction may be a voice instruction or an operation instruction. For example, if a voice instruction is received from a user, the voice instruction may be used as the first trigger instruction. For example, the first trigger instruction (voice instruction) is: activate the virtual camera on the right side of the vehicle to shoot. When the vehicle controller receives the voice instruction, it controls the touch screen of the mobile vehicle to display a virtual vehicle image and at least one virtual camera ① to ⑩.
[0085] Alternatively, in another embodiment, the operation instruction is an instruction to operate a virtual button on a touch screen of a mobile vehicle. For example, a virtual button is illuminated on the touch screen of the mobile vehicle, and when a user clicks or long presses the virtual button, a first trigger instruction is generated, which is used to activate a shooting function of at least one camera.
[0086] It should be noted that in this step, the virtual camera may not be displayed in the displayed virtual vehicle image, for example, only the virtual vehicle may be displayed. The virtual vehicle may be located on an electronic map or a navigation map, which is not limited in this embodiment.
[0087] Step S102: receiving a click operation, a long press operation or a sliding touch operation on the touch screen of the mobile vehicle.
[0088] The click operation may be an operation of clicking a certain virtual camera at a certain position of the virtual vehicle, for example, clicking one or more virtual cameras in the virtual vehicle image shown in FIG2 .
[0089] Optionally, the click operation includes but is not limited to single-click, double-click and other operations.
[0090] The long press operation can be a user long pressing a virtual camera operation at a certain position on the virtual vehicle image. Specifically, Figure 4a As shown, one implementation method is that the user long presses the virtual camera ⑩ in the virtual vehicle image. Long pressing the virtual camera ⑩ will form a gradually larger range frame (which can be a circular frame or a rectangular frame, etc.), and the virtual camera within the range frame is the camera selected by the user.
[0091] In addition, it should be understood that the above-mentioned click operation or long press operation can be an operation performed by the user using a single finger or an operation performed using two fingers, and this embodiment does not limit this. In this embodiment, a single finger operation is used as an example.
[0092] The sliding touch operation is a sliding touch operation performed by the user on at least one virtual camera on the virtual vehicle image. Figure 4b As shown, a user performs a sliding touch operation on the touch screen, and the sliding touch operation generates a sliding track. The camera covered by the sliding track can be used as the camera selected by the user.
[0093] Optionally, the sliding touch operation may be a single-finger operation or a two-finger operation of the user, which is not limited in this embodiment.
[0094] Step S103: matching at least one corresponding first camera on the mobile vehicle according to the position of the click operation, the position of the long press operation or the trajectory of the sliding touch operation, and enabling the at least one first camera to shoot.
[0095] In the above Figure 4a or Figure 4b In the schematic diagram of FIG, if the virtual vehicle image displayed on the touch screen includes multiple virtual cameras, this step is as follows Figure 5 As shown, step S103 specifically includes:
[0096] In one embodiment, step S1031: obtaining the position of the click operation on the touch screen, calculating the distance between the position and multiple virtual cameras, and selecting at least one camera whose distance is less than a first preset value as the at least one first camera to be matched.
[0097] Specifically, the position of the click operation on the touch screen is obtained, and the user selects a position on the touch screen of the mobile vehicle by clicking a button, etc. After the vehicle controller captures this click operation or long press operation, it records the coordinates of the click position or long press position. Calculate the distance between the position of the click operation and multiple virtual cameras. There are multiple virtual cameras in the virtual vehicle image. These virtual cameras have certain positions on the screen or in the virtual space (which may be predefined or dynamically calculated according to a preset algorithm). This step requires calculating the distance between the position where the user clicks or long presses and the position of each virtual camera. Specifically, the distance can be the straight-line distance between the click position or long press position and the virtual camera.
[0098] For example, Figure 6a As shown, the user clicks on a position P on the touch screen. The position P corresponds to a coordinate position on the touch screen of the mobile vehicle, such as P(x0, y0). Virtual cameras ① to ⑩ correspond to preset coordinate positions on the touch screen of the mobile vehicle. For example, P1 to P10 are 10 coordinate positions corresponding to virtual cameras ① to ⑩. The straight-line distance between the position P and the 10 virtual cameras can be calculated based on the position P and P1 to P10. Figure 6a As shown in FIG, the straight-line distance between position P and virtual camera ⑦ is d1, the distance between position P and virtual camera ⑧ is d2, the straight-line distance between position P and virtual camera ⑨ is d3, the distance between position P and virtual camera ⑩ is d4, the straight-line distance between position P and virtual camera ⑨ is d3, the distance between position P and virtual camera ① is d1, and so on. Then, the straight-line distances of d1, d2, d3, d4, and d5 relative to the first preset value (d 预设1 ) is less than the first preset value, the virtual camera corresponding to the distance is used as the matching first camera.
[0099] In this step, at least one camera whose distance is less than the first preset value is selected as the at least one first camera to be matched. In this example, after comparison, the above distances d2 to d4 are all less than d 预设1 , d1>d 预设1 , d5>d 预设1 , then select at least one matching first camera as the virtual camera ⑧⑨⑩.
[0100] Among them, the first preset value (d 预设1 ) is a preset distance threshold used to determine whether the click location is sufficiently close to a camera. If the distance between a camera and the user's click location is less than a first preset value, the camera is considered a matching first camera. If multiple cameras meet this condition, the number of matching cameras may be one or more, resulting in at least one first camera.
[0101] Similarly, step S1032: obtaining the position and long press time of the long press operation on the touch screen, and generating a range interval that changes with the long press time on the touch screen, and selecting a camera within the range interval as the at least one first camera to be matched.
[0102] Specifically, if a long press operation of the user on the touch screen is received, such as Figure 4a As shown, the long press position is the position of the virtual camera ⑩, for example, long press for 2 seconds or more, as time goes by, the clicked position will gradually expand from a point to a range frame, such as a circular frame. The virtual camera contained in the circular frame serves as the at least one first camera matched. Figure 4a In the embodiment shown, the virtual cameras ⑧⑨⑩ are covered in the circular frame at the position long pressed by the user, so the at least one first camera matched is determined to be the virtual camera ⑧⑨⑩. The specific implementation process is similar to the aforementioned step S1031, and reference may be made to the description of the aforementioned embodiment.
[0103] Alternatively, another embodiment, such as Figure 5 As shown, the above step S103 specifically includes:
[0104] Step S1033: obtaining the position of the track of the sliding touch operation on the touch screen, calculating the distance between the point on the track and multiple cameras, and selecting at least one camera whose distance is less than a second preset value as the at least one first camera to be matched.
[0105] The specific judgment and matching process of step S1033 is the same as the process of the aforementioned steps S1031 and S1032. The only difference is that step S1033 is the trajectory of the sliding touch operation, such as Figure 3As shown, the trajectory can be understood as consisting of multiple points. Each point corresponds to a position coordinate. By calculating the distance between each point and the camera, each distance is compared with a second preset value. The camera with a distance less than the second preset value is selected as the matching first camera. If multiple cameras meet this condition, the number of matching cameras may be one or more, that is, at least one first camera is obtained.
[0106] For example, Figure 6b As shown, a track generated by a sliding touch operation can be composed of multiple position points, such as A1 to An, where the set of position points located in the range covered by the virtual camera ⑧ is A1 to A5. Assuming that the track covers 5 position points, the distance between each position point A1 to A5 and the position coordinate P8 of the virtual camera ⑧ is determined, and 5 straight-line distances can be calculated between A1 to A5 and the position coordinate P8. Then, each straight-line distance is compared with the second preset value (d 预设2 ), if one of the five straight-line distances is smaller than d 预设2 , then the virtual camera⑧ is determined to be a matching first camera. Similarly, it is determined whether the straight-line distance between each virtual camera and the point set on the trajectory is less than d 预设2 , when the distance is less than d 预设2 When d is equal to d, the virtual camera is determined to be the first camera that meets the preset conditions. 预设2 , it is determined that the virtual camera does not match. Figure 6b In the example shown, after comparison and judgment, the multiple straight-line distances calculated by the virtual cameras ⑦⑧⑨⑩ all contain one or more straight-line distances that are less than d 预设2 , so it is determined that the at least one first camera that matches includes the virtual cameras ⑦⑧⑨⑩.
[0107] It should be noted that the first preset value (d 预设1 ) and the second preset value (d 预设2 ) can be the same or different, and this embodiment does not limit this. Moreover, for different virtual camera distance judgments, the second preset value (d 预设2 ) can be the same value or multiple different values, and this embodiment does not limit this.
[0108] Step S104: Acquire at least one picture or video captured by the matched at least one first camera.
[0109] In the above step S103, after selecting and determining at least one first camera, the shooting and recording function of the at least one first camera is enabled. At the same time, the at least one enabled first camera captures pictures or videos of the vehicle's surrounding environment and transmits these pictures or videos back to the vehicle controller.
[0110] Step S105: displaying at least one picture frame or video frame via the touch screen.
[0111] The picture frame or video frame is used to display the picture or video currently captured by the corresponding camera.
[0112] After receiving the information, the vehicle controller displays at least one picture frame or video frame through the touch screen of the mobile vehicle.
[0113] Specifically, one embodiment of displaying images or videos is to display thumbnails of each image or compressed video on the touch screen of a mobile vehicle. For example, while filming the surrounding environment, suppose a sports car passes by the right side of the vehicle, or a sports car is parked on the right side of the vehicle. After the sports car is filmed by the virtual cameras ⑦⑧⑨⑩, a series of thumbnails of the sports car images or a recorded video are displayed on the touch screen.
[0114] Furthermore, the vehicle controller uses the internal Linux or Android operating system to decode and play at least one image or video. For example, in the Android system, videos are played using the MediaPlayer class, and images are displayed using the ImageView class. Alternatively, another implementation is based on a middleware platform. For example, GENIVI (Global In-Vehicle Infotainment Association) provides a series of open source middleware that includes components related to multimedia processing and display. The vehicle controller uses this middleware to implement image and video display functions, thereby reducing development workload and difficulty.
[0115] Optionally, in one embodiment, the above method step S105 also includes: post-processing of the picture or video, such as synthesizing at least one picture or video, and the user can select the desired picture or video from at least one picture or video, and then synthesize these pictures or videos to obtain a panoramic picture or a synthesized video stream.
[0116] The vehicle photography method provided in this embodiment displays a virtual vehicle image on the touchscreen of a mobile vehicle, allowing users to intuitively preview and select the desired vehicle perspective. Clicking or sliding touch operations make camera selection and activation simple and quick, greatly improving the convenience and intuitiveness of user operation. This method allows users to select and activate different cameras based on their actual needs through simple touch operations, thereby capturing a variety of images or videos. This flexibility ensures that users can customize the content they capture based on their personal preferences or specific needs.
[0117] Furthermore, this method eliminates the need for drivers to manually adjust or select cameras, allowing them to complete capture tasks through pre-set trigger commands and intuitive touch operations. This helps reduce driver distraction, improves driving safety, and simplifies the camera selection and capture process, allowing users to quickly obtain the desired images or videos. This is particularly important in scenarios such as vehicle inspections, accident recording, or capturing beautiful scenery, improving capture efficiency and practicality.
[0118] By displaying the shooting results on the touch screen of the mobile vehicle, users can instantly review and evaluate the content they have captured. This immediate visual feedback helps users adjust shooting parameters or angles in time to achieve higher quality shooting results.
[0119] Optionally, in a possible implementation of this embodiment, the virtual vehicle image displayed on the touch screen of the mobile vehicle includes multiple virtual cameras, and each virtual camera is displayed in the virtual vehicle image in at least one of the following ways: an expanded virtual camera image, a to-be-selected area around each virtual camera, and a to-be-selected label for each virtual camera.
[0120] In this embodiment, the aforementioned step S103, in the implementation of selecting the position of the virtual camera based on the touch trajectory, also includes the case of capturing images. For example, the user can continuously perform sliding touch operations on the touch screen of the mobile vehicle, generating a sliding trajectory in real time. Based on the method flow of the aforementioned step S1032, the virtual camera matching the current sliding trajectory is continuously updated. The user then uses the real-time updated virtual camera to capture or record the external environment, generating and updating the captured images or videos, and displaying the images or videos captured by the new camera in real time on the touch screen of the mobile vehicle.
[0121] For example, if a sports car is traveling in the same direction as the current vehicle and is located to the right of the current vehicle, the relative position of the vehicle and the sports car will change in real time. Therefore, the user may need to continuously update the camera to reflect these changes, including updating the camera through multiple sliding touch operations or blindly selecting and updating the camera. For example, at a first moment t1, the virtual cameras matched to the first sliding trajectory generated by the user operation may include virtual cameras ①⑧⑨⑩. At the first moment t1, virtual cameras ①⑧⑨⑩ are activated to capture or record a video, obtaining a first image set or a first video media stream of the sports car. At this time, the sports car is located behind the current vehicle. When the sports car passes the current vehicle and is located to the right front of the current vehicle, for example at a second moment t2, the user operation generates a second sliding trajectory. The virtual cameras matched to this second sliding trajectory may include virtual cameras ⑦⑧⑨⑩. At the second moment t2, virtual cameras ⑦⑧⑨⑩ are activated to capture or record a video, obtaining a second image set or a second video media stream of the sports car.
[0122] In this embodiment, based on the real-time changes in the photographed object or environmental scenery and the position of the vehicle, the user updates the sliding trajectory in real time, and then updates the started virtual camera, and continuously shoots through the updated virtual camera, thereby achieving tracking shooting of the shooting target (such as a sports car), and saving the image set or video media stream of the shooting target to achieve the effect of real-time tracking shooting.
[0123] It should be understood that in addition to the above-mentioned tracking and shooting of the sports car (target object or moving object), this embodiment is also suitable for shooting static environmental scenery. At this time, the user can generate a new sliding trajectory in real time according to preference, update different cameras for shooting, or randomly select a virtual camera to shoot the surrounding environment. This embodiment does not limit this.
[0124] Furthermore, in another possible implementation, the user pre-selects one or more target virtual cameras for enabling capture; the remaining cameras can be determined by a sliding trajectory generated by the user. For example, among virtual cameras ① to ⑩, virtual cameras ①, ②, and ⑦ are pre-selected as the target virtual cameras for enabling capture. The user can then select which of the remaining virtual cameras ③ to ⑨ to be enabled as the target virtual cameras. For example, the virtual cameras can be determined and updated by a sliding trajectory generated by a user sliding touch operation, or by a single click or long press operation. The specific update process is described in step S103 above and will not be further described in this embodiment.
[0125] like Figure 7 As shown, in this embodiment, a partially expanded virtual camera image is also shown, wherein the expanded virtual camera image is more convenient for the user to click, long press or slide touch operation on the touch screen of the mobile vehicle. Figure 7It is also shown that some virtual cameras are surrounded by areas to be selected, such as Figure 7 As shown in the dotted box, within the area to be selected, the camera corresponding to the area included in the user's click, long press or sliding touch operation is the first camera selected.
[0126] In addition, you can also set a tag to be selected on each virtual camera. Figure 7 Not shown, it should be noted that the form of the above-mentioned label to be selected includes but is not limited to text, characters, icons, etc.
[0127] In step S103, at least one corresponding first camera is matched based on the location of the click or long press operation or the trajectory of the touch sliding operation. Another possible implementation method is to obtain the location of the click or long press operation on the touch screen. If the location is within the expanded virtual camera image, within the to-be-selected area of the virtual camera, or within the to-be-selected label of the virtual camera, the virtual camera is selected as a first camera for matching. Conversely, if the location is not within the expanded virtual camera image, not within the to-be-selected area, or the to-be-selected label is not selected, the location is not matched.
[0128] Optionally, another possible implementation of the above step S103 is: obtaining the position of the trajectory of the sliding touch operation on the touch screen, if the point on the trajectory passes through the expanded virtual camera image, or the area to be selected of the virtual camera, or the label to be selected of the virtual camera, then the virtual camera is used as a first camera for matching.
[0129] The method provided in this embodiment makes camera selection more intuitive and convenient by matching it with a user's click, long press, or touch-swipe gesture. Users can quickly select the desired camera with a simple click, long press, or touch-swipe gesture, eliminating the need for tedious menu navigation or settings, significantly improving the user experience. Furthermore, by determining whether the click or swipe gesture is within the expanded virtual camera image, the selection area, or the label to be selected, the user's desired camera can be accurately matched, avoiding misoperations and improving the accuracy of camera selection.
[0130] Design elements like the expanded virtual camera image, selection area, and labels make the camera selection interface more intuitive and easy to understand. Users can easily identify and select the desired camera through visual feedback, further optimizing the interface layout and user experience.
[0131] Optionally, in another possible implementation of this embodiment, as Figure 8 As shown, before step S101: receiving a click operation, a slide operation or a slide touch operation on the touch screen of a mobile vehicle, the method further includes:
[0132] Step S100: pre-store a mapping relationship between a quick operation of sliding touch and a designated camera.
[0133] Among them, the designated cameras include at least: virtual cameras ①~⑩. There can be one or more mapping relationships between each virtual camera and the click operation or sliding touch shortcut operation. For example, the first mapping relationship <Quick Operation 1, Virtual Cameras ④~⑦>, the second mapping relationship <Quick Operation 2, Virtual Cameras ①~② and ⑦~⑩>, and so on. Quick Operation 1 can be a sliding touch operation with a V-shaped trajectory, and Quick Operation 2 can be a sliding touch operation with an S-shaped trajectory. Specifically, the trajectories or gestures of Quick Operations 1 and 2 can be customized by the user, for example, they can also be sliding touch operations with trajectories of other shapes such as triangles and circles, which will not be described one by one in this embodiment. After these mapping relationships are established, they are pre-stored in the memory unit or storage unit as preset mapping relationships.
[0134] For example, taking the aforementioned embodiment of photographing a sports car on the right side of a vehicle, when the target object (sports car) is located on the right side of the vehicle, the user performs a V-shaped sliding touch operation on the touch screen of the mobile vehicle. This operation corresponds to quick operation 2. After detecting quick operation 2, the vehicle controller determines and enables virtual cameras ①~② and ⑦~⑩ according to the second mapping relationship <Quick operation 2, virtual cameras ①~② and ⑦~⑩> to photograph the target object (sports car).
[0135] Furthermore, in combination with the above step S103, this embodiment provides a quick operation, specifically including:
[0136] Step S103-1: If a sliding touch operation is received, the starting position, moving trajectory and ending position of the sliding touch operation are recorded. Figure 9 As shown, the vehicle controller receives a V-shaped sliding touch operation on the touch screen by the user, and analyzes the operation to obtain the starting position of the sliding touch operation, such as point A, the movement trajectory, and the end position, such as point B. The trajectory between point A and point B is the movement trajectory.
[0137] Step S103 - 2 : judging whether the currently received sliding touch operation matches the preset shortcut operation according to the preset mapping relationship.
[0138] In combination with the at least one mapping relationship pre-stored in the above step S100 , it is determined whether the current movement trajectory from point A to point B matches the aforementioned set shortcut operation 1 or shortcut operation 2.
[0139] Step S103 - 3 : If there is a match, determining at least one designated camera associated with the shortcut operation according to the mapping relationship as the at least one matched first camera.
[0140] Matching can be understood as the current movement trajectory from point A to point B being identical to, or having substantially identical movement trajectories to, at least one of the shortcut operations in step S100. For example, if Quick Action 2 is a V-shaped sliding trajectory, then based on at least one pre-set mapping relationship, the cameras corresponding to Quick Action 2 are determined to include virtual cameras ① through ② and ⑦ through ⑩. Therefore, the at least one first camera matching the current sliding touch operation is determined to be virtual cameras ① through ② and ⑦ through ⑩.
[0141] It should be noted that in addition to the first and second mapping relationships described above, more or fewer other mapping relationships may also be included, such as third and fourth mapping relationships. For example, the third mapping relationship is the mapping relationship between quick operation 3, such as a C-shaped sliding track, and virtual cameras ⑧⑨⑩, i.e., the third mapping relationship <Quick Operation 3, Virtual Cameras ⑧⑨⑩>. The fourth mapping relationship is quick operation 4, such as the mapping relationship between a C-shaped sliding track and virtual cameras ①②, i.e., the fourth mapping relationship <Quick Operation 3, Virtual Cameras ①②>.
[0142] The aforementioned step S103-3 specifically further includes: based on the pre-stored third mapping relationship or the fourth mapping relationship, upon detecting a user's operation gesture on the touch screen of the mobile vehicle, including: at a third moment t3, when a quick operation 3 is performed to generate a V-shaped sliding track on the right side of the vehicle, activating and calling virtual cameras ⑧⑨⑩ for filming according to the aforementioned third mapping relationship. Similarly, at a fourth moment t4, when receiving a C-shaped sliding track generated by the user operation, when the determiner corresponds to quick operation 4, activating and calling virtual cameras ①② for filming according to the aforementioned fourth mapping relationship, while simultaneously pausing the activation of virtual cameras ⑧⑨⑩, at which point only virtual cameras ①② are activated. The solution of this embodiment is applicable to the aforementioned process of filming a sports car. For example, when a sports car decelerates and the vehicle speed remains unchanged, the virtual cameras ⑧⑨⑩ are first used to capture an image or video of the sports car relative to the direction of the sports car. Then, when the sports car decelerates and is located behind the vehicle, the camera is updated, and the virtual cameras ①② behind the vehicle are used to film the sports car using quick operation 4, thereby achieving the purpose of real-time tracking and capturing images or videos of the sports car.
[0143] In this embodiment, by setting a mapping relationship between the quick operation of clicking or sliding touch and the specified camera, the user can quickly switch or control the camera through simple touch operations without entering a complex setting menu or performing multiple clicks, thereby greatly improving the convenience and efficiency of the operation.
[0144] In addition, this method allows users to customize the mapping relationship between quick operations and cameras, which means that users can set quick operations according to their own usage habits and needs, thereby improving the flexibility and personalization of the system.
[0145] Optionally, in another implementation of this embodiment, after matching the at least one first camera corresponding to the click operation, the position of the long press operation, or the trajectory of the sliding touch operation in step S103, the method further includes: updating the operation of selecting the at least one first camera. The updating of the at least one first camera includes the at least one updated second camera being completely different from the at least one previously determined first camera, or being partially the same and partially different from the previously determined first camera.
[0146] Specifically, one implementation method is, after the above step S104, further comprising:
[0147] Obtain a lock operation on at least one camera or at least one picture frame or video frame; the lock operation includes a click, long press, or slide touch operation on the at least one camera or at least one picture frame or video frame. In response to the lock operation, lock the at least one target camera or at least one picture frame or video frame.
[0148] When an undo operation is received on at least one target camera or at least one picture frame or video frame on the touch screen, in response to the undo operation, if it is recognized that the undo operation includes at least one target camera or at least one picture frame or video frame that is locked, the undo operation on the at least one target camera or at least one picture frame or video frame that is locked is blocked.
[0149] The undo operation may be a click operation, a long press operation, or a sliding touch operation. The undo operation is used to block at least one target camera or at least one picture frame or video frame that matches the click operation, long press operation, or sliding touch operation. Figure 10a As shown, for example, a cross (×) is drawn on the picture or video that the user wants to cancel. In response to the cancellation operation, at least one target camera corresponding to the cancellation operation is determined and these target cameras are blocked.
[0150] like Figure 10a As shown, the sliding touch operation generates a cross (×)-shaped sliding track, which includes virtual cameras ⑧⑨⑩. Therefore, the virtual cameras ⑧⑨⑩ are used as the three revoked target cameras, and the pictures or videos taken by these three target cameras are shielded.
[0151] Optionally, the method further includes: after determining the target camera, painting the color of the blocked target camera gray or black to clearly display the currently blocked target camera.
[0152] In addition, the sliding track corresponding to the above undo operation includes but is not limited to a cross (×) type, a strikethrough type, a slash ( / ) type, or a selection box (box selection), etc. If the user's undo operation is a selection box, such as Figure 10b As shown, the virtual camera covered by the selection box is the target camera to be blocked. Figure 10b In the selection box, there are three virtual cameras, namely: virtual cameras ⑧⑨⑩, which are the target cameras to be blocked.
[0153] Similarly, the above-mentioned undo operation can also be a confirmation operation on at least one displayed picture frame or video frame. After confirmation, the camera corresponding to at least one picture frame or video frame is associated as the target camera to be blocked, and finally the target camera to be blocked is blocked.
[0154] In another possible implementation, after matching the at least one first camera corresponding to the sliding touch operation trajectory in step S103, the following steps may be further performed:
[0155] Receiving a cancel operation on at least one camera or at least one picture frame or video frame; in response to the cancel operation, turning off at least one first camera corresponding to the cancel operation, and canceling display of at least one picture frame or video frame corresponding to the at least one first camera on the touch screen.
[0156] The difference between this embodiment and the aforementioned embodiment is that this embodiment does not lock the camera in advance, directly receives the user's cancellation operation, and then responds to the cancellation operation, blocks the corresponding at least one first camera, and cancels the display of the corresponding at least one picture frame or video frame.
[0157] In addition, in another possible implementation of this embodiment, after the above step S104, the following steps are further included:
[0158] During the process of saving at least one picture or video, a pause save operation on at least one picture frame or video frame is received. In response to the pause save operation, the picture or video taken by the first camera continues to be displayed in the at least one picture frame or video frame, and the saving of the picture or video taken by the first camera is paused.
[0159] If a cancel-pause-save operation for at least one picture frame or video frame is received, the save function for at least one picture or video currently captured by the first camera is restarted.
[0160] In addition, further, a pause area is also displayed on the touch screen, such as Figure 11 The above-mentioned pause and save operation includes: dragging at least one picture frame or video frame to the pause area of the touch screen.
[0161] Similarly, canceling the pause saving operation includes: dragging the at least one picture frame or video frame in the pause area out of the pause area.
[0162] Specifically, if Figure 11 As shown, the pause save operation is an operation in which the user selects picture frame 3 from picture frames 1 to 9 displayed on the touch screen and drags picture frame 3 (as the target picture frame) to the pause area. If it is detected that picture frame 3 was captured by virtual camera ③, the capture and recording function of virtual camera ③ is paused in response to this operation. At the same time, the saving of picture frame 3 is paused.
[0163] In addition, since the picture frames or video frames captured by the remaining virtual cameras are not dragged to the pause box, the remaining virtual cameras continue to perform the shooting task and display and save the currently captured picture frames and video frames.
[0164] This method involves a scenario in which, after selecting at least one matching first camera and receiving pictures or videos captured by the at least one first camera, the user re-screens the at least one picture or video, retaining desired picture frames or video frames and placing undesirable picture frames or video frames (e.g., those with defects or poor quality) in a pause area. Accordingly, the virtual camera corresponding to the picture frame or video frame in the pause area is turned off or its recording function is paused. The at least one picture frame or video frame placed in the pause area is not saved. This embodiment does not limit the further processing of the picture frame or video frame in the pause area.
[0165] Optionally, in this embodiment, the above step S105, after enabling at least one first camera, further includes an operation of updating the enabled camera, such as Figure 12 As shown, specifically including:
[0166] Step S106: Obtain the camera update instruction.
[0167] The update instruction is used to update the at least one first camera selected last time. Optionally, the update instruction includes but is not limited to a voice instruction, an instruction generated by clicking or long pressing a virtual button, and other forms of instructions.
[0168] Step S107: In response to the update instruction, receive a new click operation, long press operation or sliding touch operation performed on the touch screen of the mobile vehicle, and determine at least one second camera that matches the new click operation, long press operation or sliding touch operation.
[0169] For example Figure 13The following is a track generated by a new sliding touch operation. The specific implementation of the new sliding touch operation refers to the description of steps S102 and S103 in the above embodiment, which will not be repeated here in this embodiment.
[0170] Step S108: updating the at least one first camera to the at least one second camera, and enabling the at least one second camera to shoot.
[0171] For example, in steps S102 and S103, the at least one first camera determined to be enabled includes virtual cameras ⑦, ⑧, ⑨, and ⑩. In steps S107 and S108, the matching cameras are determined based on the new sliding touch operation as virtual cameras ①, ②, ⑧, ⑨, and ⑩, serving as the second cameras. The five second cameras determined by the new sliding touch operation are partially identical to the four first cameras determined previously. In this case, the five newly determined second cameras replace the original virtual cameras ⑦, ⑧, ⑨, and ⑩, pausing virtual camera ⑦ and enabling virtual cameras ① and ②.
[0172] Optionally, if all the re-determined second cameras are different from the first cameras determined last time, all of them are replaced with the second cameras for shooting, and all the first cameras are temporarily suspended.
[0173] Optionally, in another possible implementation, the above method further includes: if there are some cameras that are different and some that are the same between at least one second camera and at least one first camera, then adding and enabling some of the different cameras to shoot together with the at least one first camera.
[0174] For example, if at least one second camera that matches the user's new sliding touch operation is determined to be a virtual camera ①②⑧⑨⑩, compared with the virtual camera ⑦⑧⑨⑩ determined for the first time, the same camera includes the virtual camera ⑧⑨⑩, and the different camera includes the virtual camera ①②, then the different virtual camera ①② is added to the enabled cameras and enabled together with the virtual camera ⑦⑧⑨⑩ to shoot the surrounding environment.
[0175] At least one updated picture or video captured by the at least one second camera is received and displayed on the touch screen.
[0176] The method provided in this embodiment allows users to quickly adjust the activation or suspension of the camera according to real-time needs. This is particularly important for recording scenery, accident scenes or specific scenes while driving, and increases the practicality and adaptability of the system.
[0177] Furthermore, when switching cameras, the system automatically updates or switches, partially or fully updating the first camera and enabling at least one second camera. This dynamic management strategy effectively avoids unnecessary resource usage, optimizes system performance, and ensures a smooth user experience and efficient resource utilization. Instant camera switching and immediate start of image or video capture with the new camera reduces waiting time and improves the efficiency of capture tasks.
[0178] This embodiment also provides a device for photographing images using a mobile vehicle. This device is used to implement the above-mentioned embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0179] This embodiment provides a device for shooting by a mobile vehicle, such as Figure 14 As shown, the device includes: a receiving module 110, a display module 120, a processing module 130 and an acquisition module 140. In addition, the device may also include other more or fewer modules, such as a storage module, etc., which is not limited in this embodiment.
[0180] The receiving module 110 is configured to receive a first trigger instruction.
[0181] The display module 120 is configured to control the touch screen of the mobile vehicle to display a virtual vehicle image according to the first trigger instruction when the first trigger instruction is received.
[0182] The receiving module 110 is further configured to receive a click operation, a long press operation, or a sliding touch operation on the touch screen of the mobile vehicle based on the virtual vehicle image.
[0183] The processing module 130 is used to match at least one corresponding first camera on the mobile vehicle according to the position of the click operation, the position of the long press operation or the trajectory of the sliding touch operation, and enable the at least one first camera to shoot.
[0184] The acquisition module 140 is configured to acquire at least one picture or video captured by the matched at least one first camera.
[0185] The display module 120 is further configured to display at least one picture frame or video frame, where the picture frame or video frame is configured to display a picture or video currently captured by a corresponding camera.
[0186] In some optional implementations, the virtual vehicle image displayed on the touch screen of the mobile vehicle includes multiple virtual cameras.
[0187] The processing module 130 is specifically configured to obtain a position of a click operation on the touch screen, calculate a distance between the position of the click operation and multiple virtual cameras, and select at least one camera whose distance is less than a first preset value as the at least one first camera to be matched.
[0188] Alternatively, the processing module 130 is specifically used to obtain the position and long press time of the long press operation on the touch screen, and generate a range interval on the touch screen that changes with the long press time, and select a camera within the range interval as at least one first camera to be matched.
[0189] Alternatively, the processing module 130 is specifically configured to obtain the position of the track of the sliding touch operation on the screen, calculate the distance between the point on the track and multiple cameras, and select at least one camera whose distance is less than a second preset value as the at least one first camera to be matched.
[0190] In some further optional embodiments, the virtual vehicle image displayed on the touch screen of the mobile vehicle includes multiple virtual cameras, and each virtual camera is displayed in the virtual vehicle image in at least one of the following ways: each of the virtual cameras is an expanded virtual camera image, each virtual camera is surrounded by an area to be selected, or each virtual camera is provided with a label to be selected.
[0191] The processing module 130 is further specifically configured to obtain a position of a click operation on the touch screen. If the position is within the expanded virtual camera image, or within the to-be-selected area of the virtual camera, or within the to-be-selected label of the virtual camera, then at least one camera is selected as the at least one first camera to be matched.
[0192] Alternatively, the processing module 130 is further specifically configured to obtain the position and long press time of the long press operation on the touch screen, and generate a range interval on the touch screen that changes with the long press time, and select all expanded virtual camera images contained in the range interval, or all virtual cameras corresponding to the tags to be selected, as at least one first camera to be matched.
[0193] Alternatively, the processing module 130 is further specifically used to obtain the position of the trajectory of the sliding touch operation on the screen. If a point on the trajectory passes through the expanded virtual camera image, the area to be selected of the virtual camera, or the label to be selected of the virtual camera, then at least one camera is selected as the at least one first camera to be matched.
[0194] In some other optional embodiments, the processing module 130 is further used to pre-store a mapping relationship between a sliding touch shortcut operation and a designated camera before receiving a click operation, a long press operation or a sliding touch operation on the touch screen of the mobile vehicle.
[0195] The processing module 130 is specifically used to record the starting position, movement trajectory and end position of the sliding touch operation if a sliding touch operation is received, and determine whether the currently received sliding touch operation matches the preset shortcut operation based on a preset mapping relationship; if it matches, determine at least one specified camera associated with the shortcut operation based on the mapping relationship as the at least one first camera to be matched.
[0196] In some other optional embodiments, the acquisition module 140 is further used to obtain a locking operation on at least one camera or at least one picture frame or video frame; wherein the locking operation includes a click, long press or sliding touch operation on at least one camera or at least one picture frame or video frame.
[0197] The processing module 130 is further configured to lock at least one target camera or at least one picture frame or video frame in response to the locking operation; when receiving an undo operation on at least one target camera or at least one picture frame or video frame on the touch screen, in response to the undo operation, if it is recognized that the undo operation includes at least one locked target camera or at least one picture frame or video frame, the undo operation on the at least one locked target camera or at least one picture frame or video frame is shielded.
[0198] In some further optional implementations, the receiving module 110 is further configured to receive a cancel operation on at least one camera or at least one picture frame or video frame.
[0199] The processing module 130 is further configured to, in response to the undo operation, turn off at least one first camera corresponding to the undo operation, and cancel display of at least one picture frame or video frame corresponding to the at least one first camera on the touch screen.
[0200] In some further optional implementations, the acquisition module 140 is further configured to acquire an update instruction of the camera.
[0201] The receiving module 110 is further configured to receive a new click operation, long press operation or sliding touch operation performed on the touch screen of the mobile vehicle in response to the update instruction.
[0202] The processing module 130 is further configured to determine at least one second camera that matches a new click operation, long press operation, or sliding touch operation; and to update at least one first camera to at least one second camera, and enable shooting with the at least one second camera.
[0203] In some further optional implementations, the receiving module 110 is further configured to receive a pause saving operation on at least one picture frame or video frame during the process of saving at least one picture or video.
[0204] The processing module 130 is further configured to, in response to the pause saving operation, continue to display the picture or video taken by the first camera in at least one picture frame or video frame, and pause saving of the picture or video taken by the first camera.
[0205] The processing module 130 is further configured to restart the saving function of the at least one picture or video currently captured by the first camera if a cancel-pause-save operation of the at least one picture frame or video frame is received.
[0206] Optionally, a pause area is also displayed on the touch screen; the pause and save operation includes dragging at least one picture frame or video frame to the pause area of the touch screen; and the cancel pause and save operation includes dragging at least one picture frame or video frame in the pause area out of the pause area.
[0207] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0208] The vehicle's shooting device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0209] In addition, an embodiment of the present application also provides a computer-readable storage medium, and the above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as a computer code that can be recorded on a storage medium, or downloaded via a network and originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware.
[0210] The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may include a combination of the aforementioned types of memory. It is understood that a computer, processor, microprocessor, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the method for photographing a mobile vehicle shown in the above embodiment is implemented.
[0211] The embodiments of the present application may also provide a computer program product, including computer program instructions, which, when executed by a processor, cause the processor to perform the steps in the above method. The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present disclosure, wherein the programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as "C" language 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.
[0212] In addition, this embodiment also provides a mobile vehicle. In this embodiment, the mobile vehicle is taken as an example of a vehicle. Figure 15 As shown, the vehicle includes: a controller 121, a touch screen 122 and at least one camera 123. The at least one camera 123 includes camera 1, camera 2 and camera 3.
[0213] The controller 121 may be a central processing unit (CPU) or a combination thereof. Optionally, the controller 121 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CPLD), a field programmable gate array (FPGA), a general purpose array logic (GAL), or any combination thereof.
[0214] In addition, a memory is also included, which can be configured in the controller 121 or outside the controller 121. In this embodiment, the memory is configured in the controller 121.
[0215] The memory is used to store computer program instructions and related data or information, such as voice commands and update instructions. Furthermore, the memory may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the vehicle controller. Furthermore, the memory may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0216] The controller 121 may be the aforementioned Figure 15 The structure shown is used to execute the aforementioned Figure 1 、 Figure 5 、 Figure 8 、 Figure 12The method of filming by moving vehicle is shown.
[0217] The at least one camera 123 is configured to be activated according to a trigger instruction sent by the controller and to capture at least one image or video. The touch screen 122 of the mobile vehicle is configured to display the at least one image or video captured by the at least one camera 123 .
[0218] The at least one camera 123 may be a vehicle-mounted camera, or a camera installed by the user specifically for shooting.
[0219] In addition, the vehicle may include more input devices and output devices, such as a touch screen, a trackpad, a touch pad, an indicator rod, one or more joysticks, etc. The output device may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices.
[0220] It should be noted that, in addition to a vehicle, this embodiment may also include a low-altitude aircraft or a low-altitude flying device.
[0221] The device, controller, and vehicle provided in this application display a virtual vehicle image on the touchscreen of a mobile vehicle, allowing users to intuitively preview and select the desired vehicle perspective. Clicking or sliding touch operations make camera selection and activation simple and quick, greatly improving the convenience and intuitiveness of user operation. This method allows users to select and activate different cameras based on actual needs through simple touch operations, thereby capturing a variety of images or videos. This flexibility ensures that users can customize the content they capture based on their personal preferences or specific needs.
[0222] Furthermore, drivers no longer need to manually adjust or select cameras, instead completing capture tasks through pre-set trigger commands and intuitive touch operations. This helps reduce driver distraction, improves driving safety, and simplifies the camera selection and capture process, allowing users to quickly capture the desired images or videos. This is particularly important in scenarios such as vehicle inspections, accident recording, or capturing beautiful scenery, improving capture efficiency and practicality.
[0223] The touch screen displays the shooting results, allowing users to instantly review and evaluate the content they have captured. This immediate visual feedback helps users adjust shooting parameters or angles in a timely manner, thereby achieving higher quality shooting results.
[0224] The above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the embodiments of the present invention have been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for photographing by a mobile vehicle, characterized in that: The method comprises: If a first trigger instruction is received, controlling the touch screen of the mobile vehicle to display a virtual mobile vehicle image according to the first trigger instruction; Receiving a click operation, a long press operation, or a sliding touch operation on the touch screen of the mobile vehicle; Matching at least one corresponding first camera on a mobile vehicle according to a location of a click operation, a location of a long press operation, or a trajectory of a sliding touch operation, and enabling the at least one first camera to shoot; Obtaining at least one picture or video captured by the at least one matched first camera; At least one picture frame or video frame is displayed through the touch screen, and the picture frame or video frame is used to display the picture or video currently captured by the corresponding camera.
2. The method according to claim 1, characterized in that The first trigger instruction includes: Voice instructions, or operation instructions for virtual buttons on the touch screen of the mobile vehicle.
3. The method according to claim 1, characterized in that The virtual mobile vehicle image displayed on the touch screen of the mobile vehicle includes multiple virtual cameras; The matching of the at least one corresponding first camera according to the position of the click operation, the position of the long press operation, or the trajectory of the sliding touch operation includes: Obtaining a position of the click operation on the touch screen, calculating a distance between the position and the multiple virtual cameras, and selecting at least one camera whose distance is less than a first preset value as the at least one first camera to be matched; Alternatively, obtaining the position and long press duration of the long press operation on the touch screen, generating a range interval on the touch screen that varies with the long press duration, and selecting a camera within the range interval as the at least one first camera to be matched; Alternatively, the position of the trajectory of the sliding touch operation on the touch screen is obtained, the distance between the point on the trajectory and the multiple cameras is calculated, and at least one camera whose distance is less than a second preset value is selected as the at least one first camera to be matched.
4. The method according to claim 1, wherein The virtual mobile vehicle image displayed on the touch screen of the mobile vehicle includes a plurality of virtual cameras, and the virtual cameras are displayed in the virtual mobile vehicle image in at least one of the following ways: Each of the virtual cameras is an expanded virtual camera image, a to-be-selected area is provided around each of the virtual cameras, or each of the virtual cameras is provided with a to-be-selected label; The matching of the at least one corresponding first camera according to the position of the click operation, the position of the long press operation, or the trajectory of the sliding touch operation includes: Obtaining a position of the click operation on the touch screen, and if the position is within the expanded virtual camera image, or within the to-be-selected area of the virtual camera, or within the to-be-selected label of the virtual camera, selecting at least one camera as the at least one first camera to be matched; or, Obtaining a position and a long press duration of the long press operation on the touch screen, generating a range interval on the touch screen that varies with the long press duration, and selecting all expanded virtual camera images or virtual cameras corresponding to all to-be-selected tags within the range interval as at least one first camera to be matched; or, Obtaining a position of a trajectory of the sliding touch operation on the touch screen, and if a point on the trajectory passes through the expanded virtual camera image, or the area to be selected of the virtual camera, or the label to be selected of the virtual camera, at least one camera is selected as the at least one first camera to be matched.
5. The method according to claim 1, characterized in that Before receiving the sliding touch operation on the touch screen of the mobile vehicle, the method further includes: A mapping relationship between a sliding touch shortcut operation and a specified camera is pre-stored; The matching of at least one corresponding first camera according to the trajectory of the sliding touch operation includes: If a sliding touch operation is received, the starting position, moving trajectory and ending position of the sliding touch operation are recorded, and based on the preset mapping relationship, whether the currently received sliding touch operation matches the preset shortcut operation is determined; If there is a match, at least one designated camera associated with the shortcut operation is determined according to the mapping relationship as the matched at least one first camera.
6. The method according to claim 1, characterized in that After enabling the at least one first camera to shoot, the method further includes: Acquiring a locking operation on the at least one camera or the at least one picture frame or the video frame; the locking operation includes a click, long press, or sliding touch operation on the at least one camera or the at least one picture frame or the video frame; In response to the locking operation, locking at least one target camera or at least one picture frame or video frame; When an undo operation is received on the at least one target camera or the at least one picture frame or video frame on the touch screen, in response to the undo operation, if it is recognized that the undo operation includes at least one locked target camera or the at least one picture frame or video frame, the undo operation on the at least one locked target camera or the at least one picture frame or video frame is blocked.
7. The method according to claim 1, characterized in that After matching the at least one first camera corresponding to the sliding touch operation trajectory, the method further includes: receiving a cancel operation on the at least one camera or on the at least one picture frame or video frame; In response to the undo operation, the at least one first camera corresponding to the undo operation is turned off, and the display of the at least one picture frame or video frame corresponding to the at least one first camera is canceled on the touch screen.
8. The method according to any one of claims 1 to 7, characterized in that After displaying the at least one picture frame or video frame on the touch screen, the method further includes: Get the camera's update instructions; In response to the update instruction, receiving a new click operation, a long press operation, or a sliding touch operation performed on the touch screen of the mobile vehicle, and determining at least one second camera that matches the new click operation, the long press operation, or the sliding touch operation; The at least one first camera is updated to the at least one second camera, and the at least one second camera is enabled to shoot.
9. The method according to any one of claims 1 to 7, characterized in that After obtaining at least one picture or video captured by the at least one first camera that is matched, the method further includes: During the process of saving the at least one picture or video, receiving a pause saving operation on the at least one picture frame or video frame, and in response to the pause saving operation, continuing to display the picture or video captured by the first camera in the at least one picture frame or video frame, and pausing saving of the picture or video captured by the first camera; If a cancel-pause-save operation for the at least one picture frame or video frame is received, the save function for the at least one picture or video currently captured by the first camera is restarted.
10. The method according to claim 9, characterized in that The touch screen also displays a pause area; The pause and save operation includes dragging the at least one picture frame or video frame to the pause area of the touch screen; The canceling of the pause saving operation includes dragging the at least one picture frame or video frame in the pause area out of the pause area.
11. A device for photographing via a mobile vehicle, characterized in that: The device comprises: A receiving module, configured to receive a first trigger instruction; a display module configured to control the touch screen of the mobile vehicle to display a virtual mobile vehicle image according to the first trigger instruction upon receiving the first trigger instruction; The receiving module is further configured to receive a click operation, a long press operation, or a sliding touch operation on the touch screen of the mobile vehicle; a processing module, configured to match at least one corresponding first camera on a mobile vehicle according to a location of a click operation, a location of a long press operation, or a trajectory of a sliding touch operation, and enable shooting by the at least one first camera; an acquisition module, configured to acquire at least one picture or video captured by the matched at least one first camera; The display module is further configured to display the at least one picture frame or video frame, wherein the picture frame or video frame is configured to display the picture or video currently captured by the corresponding camera.
12. A mobile vehicle, characterized in that: The mobile vehicle comprises: a controller, a memory, a touch screen and at least one camera; The controller is configured to call computer program instructions stored in the memory to execute the method for photographing by a mobile vehicle according to any one of claims 1 to 10; The at least one camera is configured to be activated according to a trigger instruction sent by the controller and to capture at least one picture or video; The touch screen is used to display at least one picture frame or video frame.
13. The mobile vehicle according to claim 12, characterized in that: The mobile vehicle is a vehicle or a manned low-altitude aircraft.
Citation Information
Patent Citations
Video acquisition method, video acquisition equipment and video acquisition system
CN103491339A
Intelligent monitoring method and system based on fingerprint and pressure under multi-camera condition
CN105491342A
Method and device of switching display image
CN107885446A
Photographing method and device for mobile terminal, mobile terminal, and storage medium
CN107948496A
Monitoring management method and device and storage medium
CN111147812A