WO2023035177A1 - Target confirmation method and apparatus, and handheld system - Google Patents

Target confirmation method and apparatus, and handheld system Download PDF

Info

Publication number
WO2023035177A1
WO2023035177A1 PCT/CN2021/117414 CN2021117414W WO2023035177A1 WO 2023035177 A1 WO2023035177 A1 WO 2023035177A1 CN 2021117414 W CN2021117414 W CN 2021117414W WO 2023035177 A1 WO2023035177 A1 WO 2023035177A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
marked
screen
targets
processor
Prior art date
Application number
PCT/CN2021/117414
Other languages
French (fr)
Chinese (zh)
Inventor
程正喜
胡晓翔
封旭阳
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2021/117414 priority Critical patent/WO2023035177A1/en
Publication of WO2023035177A1 publication Critical patent/WO2023035177A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods

Definitions

  • the present application relates to the technical field of video shooting, and in particular to a target confirmation method, device and handheld system.
  • the embodiment of the present application provides a target confirmation method, device and handheld system, which are used to at least solve the lack of intelligence caused by manually selecting the target of interest on the screen when the user selects the target of interest in the prior art , issues affecting user experience.
  • the embodiment of the present application provides a target confirmation method, including:
  • the external instruction is used to select a second target in the scene image
  • the confirmed target is used for target tracking, so that the confirmed target remains within a predetermined range of a screen for displaying the scene image and the marked target.
  • an embodiment of the present application provides a target confirmation device, including: a memory, a processor, and a screen;
  • said memory for storing a computer program capable of running on said processor
  • the processor is configured to perform the following operations when running the computer program:
  • the external instruction is used to select a second target in the scene image
  • the screen is used to display the scene image and the marked target.
  • the embodiment of the present application provides a handheld system, including: a handheld device, a memory, a processor, and a screen, the memory and the processor are arranged in the handheld device, and the screen communicates with the handheld device connect;
  • the hand-held device includes a hand-held part for being held by a user;
  • said memory for storing a computer program capable of running on said processor
  • the processor is configured to perform the following operations when running the computer program:
  • the external instruction is used to select a second target in the scene image
  • the screen is used to display the scene image and the marked target.
  • Embodiments of the present application provide a target confirmation method, device, and handheld system. After obtaining the selected target according to the feature information of the first target in the scene image, the obtained selected target can be marked to associate the selected target with the scene. The other targets in the image are distinguished, and the user can select the second target in the scene image by issuing an external command. Finally, the final tracked target can be confirmed based on the marked target and the external command, and the tracked target is always Stay within the bounds of the screen presets.
  • This target tracking method is different from the existing technology that can only manually select the target to be tracked by the user touching the screen, but it can intelligently recommend and mark the target that the user may be interested in, and then combined with external instructions to confirm the final use for tracking The goal. Therefore, when the user needs to confirm the target, the machine can intelligently recommend some targets for the user, which improves the user experience.
  • Fig. 1 is the basic frame diagram of two-handed pan-tilt
  • Fig. 2 is a schematic flow chart of a target confirmation method provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a target confirmation device provided by an embodiment of the present application.
  • Fig. 4 is a schematic structural diagram of a target confirmation device provided in another embodiment of the present application.
  • the development of shooting technology has made people have higher requirements for shooting.
  • the target confirmation is usually performed by the user touching the screen of the device, and this target confirmation method is not smart enough.
  • the embodiments of the present application provide a target confirmation method, device and handheld system.
  • some targets can be selected and marked for the user according to the feature information of the target in the scene image, and the user can issue an external command to select the target in the scene, and then combine the marked target with the external The command confirms the target to be tracked, and the final confirmed target will always be kept within the predetermined range of the screen to complete the target tracking task.
  • the method provided in the embodiment of the present application can intelligently recommend the target that the user may be interested in, combined with external instructions, the recommended target can be Confirm the final target of interest, you can also confirm the final target of interest in addition to the recommended target, enrich the confirmation method of tracking target, and solve the problem that the user cannot select the target of interest by touching the screen in some special cases The problem.
  • a method for confirming a target provided in the embodiment of the present application may include but not limited to be applied to a scene where a mobile platform or a mobile platform is used in cooperation with a control device.
  • the mobile platform includes devices that can move freely or artificially and collect external images, such as handheld pan-tilts, unmanned aerial vehicles, unmanned vehicles, and unmanned ships.
  • the control device can be used to control the movable platform, and the control device can be provided with a screen, which can display some targets in the acquired scene image and the recommended scene image.
  • the control device includes but is not limited to a remote When using a controller, the screen can be integrated into the remote control, or it can be designed separately from the remote control), mobile phone, tablet computer, wearable device, etc.
  • the mobile platform when applied to a mobile platform, can be equipped with a screen, and the screen can be integrated in the mobile platform or separately installed on the mobile platform, and the user can issue an external command based on the display content of the screen, so as to follow the recommended target Confirm the target that needs to be tracked and shot with the actual target that you are interested in; when it is applied to the scene where the movable platform is used in conjunction with the control device, the movable platform is far away from the control device, and the user can send a message based on the display content of the screen at the control device.
  • the external instruction confirms the final target that needs to be tracked and shot based on the recommended target and the actual target of interest.
  • a typical application scenario of a target confirmation method and device provided in the embodiments of the present application is a handheld system, especially a dual-handheld system, such as a dual-handheld pan-tilt, and a dual-handheld remote controller used in conjunction with a mobile platform.
  • a dual-handheld system such as a dual-handheld pan-tilt
  • a dual-handheld remote controller used in conjunction with a mobile platform.
  • the method provided by the embodiment of the present application is applied to a two-handed system, it can bring additional beneficial effects.
  • the application of the method and device provided by the application to the two-handed pan-tilt is described as an example. As shown in FIG. No. 2 hand-held part 12 , wherein No. 1 hand-held part 11 and No.
  • 2 hand-held part 12 are connected to both sides of the pan-tilt main body 13 , and the screen 14 is detachably connected to the pan-tilt main body 13 .
  • the user's hands hold No. 1 hand-held part 11 and No. 2 hand-held part 12 respectively, and the image acquisition device carried by the pan/tilt main body 13 shoots the object to be photographed, and The captured image is transmitted to the screen 14 to present the captured scene image, and the user can monitor the captured scene through the screen 14 and also adjust the shooting parameters.
  • the user can use the two-handed pan-tilt by holding the No. 1 hand-held part 11 and No.
  • the area that can be operated by the finger selects the target of interest by controlling the operating part (such as selecting and switching the target of interest in the selected target by pressing a button or a knob), and the user can also select the target of interest through his own gesture, or Users can also select objects of interest by issuing voice commands.
  • the method provided by the embodiment of the present application is applied to the two-handed pan/tilt, it can not only bring a novel target confirmation mode to the user, but also does not require the user to free up one hand to select the target, which brings certain benefits. Convenience and improved user experience.
  • beneficial effects brought by the method provided by the present application are only described above by taking the two-handed pan-tilt as an example, but it does not mean that only the application of the method provided by the application on the two-handed pan-tilt can bring For the above beneficial effects, it should be understood that when the method provided by the present application is applied to a dual handheld device similar to a dual handheld pan/tilt, it will also bring the same or similar beneficial effects.
  • Fig. 2 is a schematic flowchart of a target confirmation method provided by an embodiment of the present application. As shown in Figure 2, the method of this embodiment can include:
  • Step S0201 acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
  • Step S0202 marking the selected target to obtain the marked target
  • Step S0203 acquiring an external command, and performing target confirmation based on the external command and the marked target, the external command is used to select a second target in the scene image;
  • Step S0204 using the confirmed target to track the target, so that the confirmed target remains within a predetermined range of the screen, and the screen is used to display the scene image and the marked target.
  • the method provided in this embodiment can be specifically described as: Obtaining the first target in the scene image according to the target recognition algorithm, for example, after using the target contour extraction algorithm to extract the target area in the scene image, and then using the deep learning algorithm to identify the target area in the target area target identification.
  • the processor selects some targets from the first targets for the user according to at least one feature information of the first target.
  • the processor can use the identifier to mark the selected target to obtain the marked target, and display the marked target and the scene image on the screen.
  • the user can also issue an external instruction to select a second object in the scene image.
  • the processor can combine the marked first target and the second target indicated by the external instruction to perform final target confirmation, and after the target is confirmed, use the confirmed target for target tracking, and make the confirmed target always Stay within the predetermined range of the screen.
  • the final target confirmation is performed by combining the marked target and the target indicated by the external instruction, which may be to confirm that the first target among the selected targets is used for tracking, or to confirm the selected target selected by the user.
  • a second target other than is the target used for tracking. That is, the marked first target and the second target indicated by the external instruction have corresponding priorities, and the priorities may vary according to specific application scenarios. Under normal circumstances, the priority of the second target indicated by the user instruction will be higher than the first marked target. For example, when the second target indicated by the user command is different from the marked first target, the first target indicated by the user command will be The second target is the final target for tracking. However, when the confirmed target is lost and the user no longer indicates the second target through external instructions, the first marked target has the highest priority.
  • the tracked target when the tracked target is lost, the tracked target can automatically Switches to one of the marked first targets.
  • the priority of the marked first target may also be higher than that of the second target indicated by the external instruction, which can be designed according to needs. , not specifically limited here.
  • the second goal may be the first goal, may also include the first goal and goals other than the first goal, and may also be a goal different from the first goal.
  • the method provided in this embodiment can actively provide the user with the target that the user may be interested in according to the characteristic information of the first target in the scene, and combine the external command instruction
  • the second goal can finally be confirmed according to the first goal and the second goal.
  • the method provides a more intelligent target confirmation method for the user, liberates the hands of the user in some cases, and improves the user experience of the user.
  • the feature information of the first object in the scene image may be various, such as the depth of field of the object, the size of the object, the distance between the object on the screen and the preset position of the scene image, or one or more of the category of the object. Various combinations.
  • the feature information includes the distance between the target on the screen and the preset position of the scene image.
  • the distance between the object in the scene image can be The center distance of the scene image is used as the feature information of the target.
  • the preset position of the scene image includes but not limited to the center of the scene image.
  • the distance between targets A and O can be expressed as AO
  • the distance between targets B and O The distance can be expressed as BO
  • the distance between target C and O can be expressed as CO
  • the processor can select target C as the first target recommended to users.
  • the user needs to track and shoot a specific target.
  • a specific target For example, when studying the living habits of a dog, it is necessary to observe the movement track of a dog.
  • the user hopes that the processor can directly capture the dog in the scene image.
  • the processor may also use the category of the target as the reference feature information of the selected target.
  • the category of the target is not just animals, plants, human beings and other categories with large differences.
  • the category of the target can also be men, women, old people, young people, children, etc., and the processor can
  • the demand scenario recommends different targets that the user may be interested in for the user. For example, there are three targets D, E, and F in the scene image.
  • the D target is a human
  • the E target is a cat
  • the F target is a dog.
  • the processor may select target D as the first recommended target to the user.
  • D1 is an elderly person
  • E1 is a young person
  • F1 is a child. If the user request received by the processor at this time is a monitoring scene If there is a child in the image, the processor may select the target F1 as the first recommended target to the user.
  • Depth of field refers to the relatively clear imaging range before and after the focus of the camera.
  • the depth of field of the target can be understood as the distance between the target and the imaging lens in the actual scene, that is, the farther the target is from the imaging lens, the greater the depth of field of the target, and the closer the target is to the imaging lens.
  • the depth of field is smaller.
  • the processor may select the mountain object with a large depth of field as the first choice The target is recommended to the user.
  • the processor may recommend objects that may be of interest to the user according to the size of the objects. For example, in the scene of tracking shooting, the user is interested in the more obvious objects in the scene image, that is, the objects occupying a larger area of the scene image, so compared with other objects, the objects occupying a larger area of the scene image are obviously is the more obvious target.
  • the processor receives the request, it can recommend the object occupying the largest area of the scene image to the user as the first selection target.
  • the characteristic information of the target may not only be a single piece of information, but also may be a superposition of multiple characteristic information.
  • the distance between the target and the center of the scene image in the category superimposed scene image based on the feature information of the target is taken as an example for illustration.
  • the processor can give the category information of the target a weight score of 90% (it should be understood that the proportion of the weight score can be adjusted), that is, if the target in the scene image is recognized as a human being, then the A target can get a weight score of 90%, and if the target that recognizes the scene image is a scene set, etc., the target cannot get a 90% weight score, or the target can only get less points.
  • the feature information of the distance between the object in the scene image and the center of the scene image a weight score of 10%
  • sort the objects in the scene image according to the distance from the center of the scene image the objects with small distances are ranked first, and the objects with large distances are ranked first.
  • the first goal can get all 10% of the weighted score, and the scores that can be obtained by the last goal are decreasing in turn.
  • the target that the user may be more interested in can be more accurately recommended to the user in different application scenarios.
  • the categories and combinations of feature information may be preset in advance or customized by the user, which are not specifically limited here.
  • the recommended target is determined and pushed by other electronic devices, or calculated by a processor based on feature information, which is not specifically limited here.
  • there may be various marking methods for marking the target such as a line marking method and a target area marking method.
  • the line marking method may include using straight lines, curved lines or a combination thereof to mark at least one position around the selected target, such as marking the target with a straight line or wavy line that is different from the color of the screen below the target, and for example Add a straight line to the upper left of the target and a wavy line to the lower right for target marking.
  • the method for marking the target area includes one of delineating the selected target area and adjusting the brightness of the selected target area, that is, marking a specific area in a closed manner. For example, use a rectangle, circle or triangle that is different from the color of the screen to delineate the recommended target. For another example, the overall brightness of the selected target area may be higher than other areas of the scene image.
  • the target area can be understood as but not limited to the area indicated by the target outline extracted in the target recognition algorithm. It can be understood that marking the selected target can make the selected target different from other targets in the scene image, and specific marking methods such as star-shaped and heart-shaped marking methods can also make the human-computer interaction interface on the screen more beautiful.
  • the external instruction may be an instruction of contact with the screen, an instruction of non-contact with the screen, or a combination of an instruction of contact with the screen and an instruction of non-contact with the screen.
  • the instruction of touching the screen refers to an instruction issued by the user through the touch screen, for example, the user may select a second object by framing or circling the object on the screen.
  • a non-contact instruction with the screen refers to an instruction issued by the user through a non-touch screen, which includes at least one of voice instructions, gesture instructions, and instructions based on operating elements.
  • the user may select the second target by issuing a voice command such as "left, right" to switch the logo marking the target to be confirmed among the selected targets.
  • the user can use a gesture command to select a second target.
  • the gesture command here can refer to a gesture command issued by a certain part of the user's body.
  • the user's head or hands can make a specific gesture to mark the target to be confirmed.
  • the identification of the switch in the recommended target can also refer to the posture of No. 1 hand-held part 11 and/or No. 2 hand-held part 22 as shown in Figure 1 (if No. 1 hand-held part 11 and/or No. 2 hand-held part 22 can Rotate relative to the pan-tilt main body 13), so as to select the second target.
  • the user can control the operating element set apart from the screen to select the second target.
  • the user can switch the logo of the target to be confirmed among the recommended targets through the button or knob set apart from the screen, so as to select the second target.
  • Two goals It can be understood that when the method of issuing a non-contact command with the screen to confirm the target is applied to a handheld system with a large mass and is inconvenient to hold with one hand, it can avoid the need for the user to free up one hand to touch the screen to select the target band. It's not convenient to come. And when the target selected by the processor for the user does not include the target that the user is interested in, the user can also issue an instruction to touch the screen to select the target that the user is interested in, so that the final confirmed target can be expressed more accurately.
  • the method in the embodiment of the present application can be applied to electronic devices that can be held in both hands.
  • the operating part that issues the operating part command is located on the electronic device where the user's fingers can operate, and the screen is located on the electronic device. The area where the user's fingers cannot operate.
  • the above-mentioned electronic devices can be diverse, such as two hand-held pan-tilts, remote control devices (such as remote controls, equipped with mobile phone with control software).
  • the electronic device is a two-handed pan-tilt, and the two-handed pan-tilt is generally a large-scale handheld pan-tilt with a certain weight, which can be used for filming and filming.
  • the side, and the screen for the user to monitor the screen is generally located above the main body of the gimbal, where the user's eyes can directly observe.
  • the user holds the two-handed pan-tilt with both hands, and when a target of interest appears in the scene image on the screen, the user can obtain some targets recommended according to the feature information of the target in the scene image.
  • the user can select the target for tracking and shooting by controlling the operating elements (such as buttons and knobs) located in the surrounding area of the two-handed pan-tilt for the user to hold.
  • this technical solution can not only bring a novel target confirmation method to the user, but also the user does not need to free up a hand to select the target for tracking and shooting on the screen through touch, thus solving the problem of selecting and tracking the target. Inconvenience caused by holding the above-mentioned cloud platform with one hand when aiming.
  • the recommended target may be one target, or multiple targets, which may be specifically designed according to needs.
  • the selected target is a target at the first preset ranking position among multiple targets, and the identifier used to mark the target at the first preset ranking position is the first specific mark, and multiple The sorting of objects is determined according to the characteristic information of the objects. That is, when the selected target is a target, the first target can be sorted according to the characteristic information of the first target, and the first target at the first preset sorting position can be recommended to the user, and the selected target can be sorted with the first specific mark.
  • the first preset bit can be the highest bit or any preset bit.
  • the first specific mark may be a mark described in the target marking method mentioned in the above embodiment, for example, a red line is used to frame the target area, or a wavy line is used to mark the target area.
  • the distance between the first object in the scene image and the center of the scene image is used as the feature information of the first object to sort the first objects. The shorter the distance, the higher the order of the first object.
  • the sort bit is used as the first preset sort bit, then the processor can select and mark the target with the shortest distance from the center of the scene image among the first targets for the user and mark it with the first specific mark. This selection method can straight-forwardly select the target that the user is most likely to be interested in, and give the user a clear indication of the target.
  • At least two selected targets can be marked to obtain marked targets, wherein the marking method of the target at the first preset ranking position is the same as that at the non-th
  • the marking methods of objects at a preset ranking position are different.
  • the mark used to mark the target at the first preset ranking position is the first specific mark, and the ranking of multiple targets is determined according to the feature information of the targets.
  • the first specific mark can be the mark described in the target notation method mentioned in the above embodiment, but the first specific mark can be distinguished from other marks, for example, the target of the non-first preset sorting position is framed by a green line Mark the target area, and the first specific mark is to frame the target area with a red line, or the target that is not the first preset sort position is to use a green line to frame the target area mark, and the first specific mark is to frame the target area with a green line Add a star marker to the upper left.
  • the processor may select and mark a plurality of selected targets within a preset sorting range, and may use a first specific flag to mark a target at a first preset sorting position, wherein the preset sorting range consists of the first preset A plurality of sorting bits including the sorting bit is formed.
  • the distance between the first object in the scene image and the center of the scene image is used as the feature information of the first object to sort the first objects, the shorter the distance, the higher the order of the first object, the default sorting
  • the range is set to the top five sorted targets, and the first preset sort bit is set to the first sorted target.
  • the processor can recommend the top five goals for the user, wherein the goal ranked first can be circled by a red line, and the goals ranked second to fourth can be circled by a green line.
  • the processor can recommend the top five goals for the user, wherein the goal ranked first can be circled by a red line, and the goals ranked second to fourth can be circled by a green line.
  • Using different tags to mark the goals in the first ranking position can more clearly show the user a series of goals that the processor may be interested in and the most likely goals that the processor recommends for the user in this series of goals.
  • a target of interest Such a selection method can bring more choices to users and improve user experience.
  • the objects not in the first preset sorting position also include the objects outside the preset sorting range, such as the second target different from the first target indicated by the external instruction.
  • At least two recommended targets are marked, and after the marked targets are obtained, the user is prompted to confirm the targets by using an instruction of touching the screen.
  • the processor may select five targets for the user, wherein the target at the first ranking position is marked with the first specific mark, and the remaining four targets are marked with non-first specific marks.
  • the processor may pass Displaying text on the screen or prompting the user through sound may select the second target by using an instruction of contact with the screen (for example, a way of selecting a target). This method can prompt the user to take the next action after getting the marked target, and in case the marked target does not include the target that the user is really interested in, it can guide the user to perform the corresponding operation to select the target that the user is really interested in, increasing user experience.
  • the first specific mark of the target at the first preset sorting position can be transferred to the target not at the first preset sorting position, and the target corresponding to the first specific mark is the target to be confirmed.
  • the above-mentioned targets not in the first preset sorting position may be targets located in the non-first preset sorting position among the marked targets, such as targets in the second preset sorting position or other sorting positions, or it may be a target set by the user through A target other than the marked target obtained by the command to make contact with the screen.
  • the processor may transfer the first specific mark to a target other than the marked target according to an external instruction.
  • the processor can set the first preset sort position to the first target according to an instruction sent by the user through the touch screen, such as touching the target on the screen or selecting a frame on the screen.
  • the specific mark is transferred to the target selected by the user through the touch screen, and then the target selected by the user through the touch screen is used as a new target to be confirmed.
  • the processor may transfer the first specific mark to the corresponding target based on an external instruction, wherein the corresponding target may be one of the marked targets or a marked target on a target other than the following target, such as a target selected by the user with an on-screen touch.
  • the marked target is a plurality of targets, among which the target in the first preset sort position has the first specific mark
  • the user can issue an external instruction to transfer the first specific mark to the marked target Targets located in other sort positions
  • the user can also issue an external command to contact the screen to select a target other than the target after the mark, such as selecting a target other than the target after the mark on the screen to transfer the first specific mark to On a target other than the marked target above.
  • the first specific mark indicates the target to be confirmed, and the user can control the transfer of the first specific mark, which means that the user can select the target to be confirmed and specify which target is currently selected to be confirmed.
  • the corresponding object includes an object selected by touch on the screen.
  • the case where the corresponding object includes the object selected by touch on the screen has been explained.
  • the target of the first preset ranking position may be the target that the machine selects to be most likely to be of interest to the user, and the first specific mark is used to mark the target of the first preset ranking position, so that the first preset ranking position
  • the goal of the bit is the goal that the user first needs to be confirmed.
  • the target that the user is interested in may not be the target of the first preset ranking position, so that the first specific mark of the target to be confirmed can be switched among different targets, which can better The user is prompted which target is currently to be confirmed, and at the same time, the first specific mark is reused to indicate the target that the user may be most interested in, especially after the user actively selects a target other than the target in the first preset ranking position.
  • the target to be confirmed can be marked with an identifier different from the first specific mark, so that in any case, the target of the first preset sort can be clearly indicated, and it is also clear which target to be confirmed is.
  • the confirmed target may have a second specific mark
  • the second specific mark mentioned may be the mark made by the above-mentioned marking method
  • the second specific mark may be different from the non-first preset sorting
  • the mark of the target of the position and the mark of the first specific mark for example, the mark of the target of the non-first preset sorting position is framed by a green line outside the target, the first specific mark is framed by a red line outside the target, and the second specific mark To add a star marker in the target area.
  • the second specific mark may also be the same as the first specific mark, for example, the confirmed target is the target marked by the first specific mark.
  • the first specific mark is used to mark the target at the second preset ranking position.
  • the method provided in this embodiment describes another transfer rule of the first specific flag when the currently confirmed target is lost.
  • the currently confirmed target may be the target being tracked and photographed, and the currently confirmed target is the target at the first preset sort position when sorting the targets in the scene image, if the target is lost, Then use the first specific mark to mark the target located in the second preset sorting position in the original scene image, such as using the feature information of No. 1, 2, and 3 targets in the scene image to sort No. 1, 2, and 3 targets , the sequence from front to back is No. 1 target, No.
  • No. 1 target is the target with the first specific mark and is currently confirmed, then after No. 1 target is lost, the No. 1 target can be used
  • performing target confirmation based on the external instruction and the marked target includes: determining one of the marked targets as the currently confirmed target based on the external command.
  • the user can issue an external command not in contact with the screen or an external command in contact with the screen to select a target among the marked targets as the final confirmed target for target tracking.
  • target confirmation is performed in the application scenario of a handheld pan/tilt
  • the user can select among the marked targets by issuing key instructions such as A target as the currently confirmed target. It is understandable that selecting a currently confirmed target for tracking from the marked targets makes the target confirmation process more intelligent.
  • the user's hands can be freed, that is, the user can operate without leaving the finger
  • the target area can be confirmed, which brings a certain degree of convenience to the user.
  • performing target confirmation based on the external instruction and the marked target includes: determining a target other than the marked target as the currently confirmed target based on the external command.
  • the user can issue an external command to touch the screen and touch on the screen to select a target other than the marked target as the currently confirmed target.
  • the user can select another target by frame-selecting the target on the screen , and make that target the current confirmed target.
  • the target confirmation method when the target confirmation method is applied to the target selected and marked for the user is not the target that the user is really interested in, the user can select the target that the user is really interested in in the scene image as the target to track. To a certain extent, this method can correct some deviations caused by the intelligent selection algorithm, and can allow users to confirm targets more accurately.
  • the currently confirmed target is lost, it is determined that one of the marked targets is the currently reconfirmed target.
  • the target in the scene image at this time can be acquired (because the target is lost, the scene image at this time and the confirmed The scene image at the time of the target is not the same), and the scene image target at this time is sorted according to the feature information of the target, and the target at the first preset sorting position is selected, marked and determined as the current reconfirmation , and then switch to target tracking on the currently redefined target.
  • the currently confirmed target is a target other than the marked target, and when the target is lost, the target in the scene image at this time can also be obtained, and the target at this time can be determined according to the characteristic information of the target Sorting is performed, and the target at the first preset sorting position at this time is selected, marked and determined as the current reconfirmed target.
  • the method provided in this embodiment provides the user with a method when the tracked target is lost, so that the user does not need to go through the process of confirming the target again when the target is lost, which brings certain convenience to the user , improving the user experience.
  • one of the marked targets is switched back to the currently confirmed target. That is, after the lost target is recovered, the tracked object is switched back to the recovered lost target.
  • the target H is the currently confirmed target for tracking and shooting.
  • the tracking object will be switched to the target I selected and marked in the current scene image. If the target H is in the current scene image is retrieved, the tracking object is switched from target I to target H.
  • the process of recovering the target is based on the next improvement of the process of losing the target.
  • the lost target is often the target that the user is most interested in. This target If it appears in the scene image after being lost, the user will probably want to continue to track the retrieved object.
  • the method provided by this embodiment solves the problem that the user needs to manually re-determine the retrieved object as the tracking object. inconvenient problem.
  • FIG. 3 is a schematic structural diagram of a target confirmation device provided by an embodiment of the present application.
  • the target confirmation device 30 may include: a memory 31 , a processor 32 and a screen 33 .
  • Memory 31 used to store computer programs that can run on the processor 32;
  • the processor 32 is configured to perform the following operations when running the computer program:
  • the confirmed target is used for target tracking, so that the confirmed target remains within a predetermined range of the screen, and the screen is used to display the scene image and the marked target.
  • the target confirmation device provided in this embodiment can be used to implement the technical solutions of all the above-mentioned method embodiments, and its implementation principle and technical effect are similar to those of the method embodiments, and will not be repeated here.
  • the embodiment of the present application also provides a handheld system 40 as shown in FIG. 4, including a handheld device 41, a memory 42, a processor 43, and a screen 44. Handheld device 41 communication connection;
  • the hand-held device 41 includes a hand-held part, and the hand-held part is used for being held by the user;
  • Memory 42 used for storing the computer program that can run on processor 43;
  • the processor 43 is configured to perform the following operations when running the computer program:
  • the external instruction is used to select a second target in the scene image
  • the handheld system provided in this embodiment can be used to implement the technical solutions of all the above-mentioned method embodiments, and its implementation principle and technical effect are similar to those of the method embodiments, and will not be repeated here.
  • the screen is detachably connected to the handheld device.
  • the handheld system is a mobile phone stabilizer
  • the mobile phone stabilizer when the mobile phone stabilizer is working, the mobile phone will generally be fixed on the mobile phone stabilizer to play the role of the screen.
  • the user can also disassemble the mobile phone and use it.
  • the handheld device includes one of a handheld pan-tilt and a control device; wherein the control device is used to control a movable platform.
  • the form of the handheld device can be various, for example, the handheld device can be a hand-held pan-tilt (hand-held pan-tilt can include a mobile phone stabilized pan-tilt, a camera-stabilized pan-tilt) or a mobile platform (such as an unmanned platform) machine, unmanned vehicle, unmanned ship), such as a remote control to control a movable platform or a mobile phone equipped with software to control a movable platform.
  • the target confirmation methods mentioned above can all be applied to the handheld system with the above-mentioned handheld device, and bring corresponding beneficial effects.
  • the handheld system further includes an image acquisition device, which is installed on the handheld device or remotely communicated with the handheld device; the image acquisition device is used to acquire scene images.
  • the hand-held part of the handheld device provided in this embodiment is used for the user to hold when operating the hand-held system.
  • the hand-held part can be integrated with the image acquisition device, or can be integrated with the image acquisition device are physically separated.
  • the image acquisition device and the handheld component are physically integrated, such as a camera stabilizer, a mobile phone stabilizer, and an electronic device in which the camera and the stabilizer are integrated.
  • the user can obtain the target that the user may be interested in selected and marked by the above-mentioned electronic device, the user sends an external instruction to confirm the target of interest, and the processor uses the confirmed target for target tracking.
  • the handheld system is a system in which a mobile platform such as an unmanned aerial vehicle, an unmanned vehicle, or an unmanned ship is matched with a control device.
  • a mobile platform such as an unmanned aerial vehicle, an unmanned vehicle, or an unmanned ship
  • the image acquisition device and the control device are physically separated.
  • the user can hold the handheld device to control the movable platform.
  • the shape of the handheld device can be diverse, such as the above-mentioned unmanned vehicle,
  • the handheld system is a system composed of a drone equipped with an image acquisition device and its supporting remote control. When the system is working, the image acquisition device and the remote control are separated.
  • the target confirmation method mentioned above can be applied to this system.
  • the present application also provides a computer program, which can be used to implement any one of the above methods when the computer program is executed by a computer device.
  • the computer device may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server.
  • a computer device may include, but is not limited to, a processor, memory.
  • the processor and memory are just examples of computer devices, and do not constitute a limitation to computer devices, and may include more or less components, or combine certain components, or different components, such as computer
  • the device may also include input and output devices, network access devices, buses, and so on.
  • the aforementioned program can be stored in a computer-readable storage medium.
  • the program executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

Abstract

A target confirmation method and apparatus, and a handheld system. The method comprises: obtaining a recommendation target, wherein the recommendation target is determined according to feature information of a first target in a scene image; marking the recommendation target to obtain a marked target; obtaining an external instruction, and performing target confirmation on the basis of the external instruction and the marked target, wherein the external instruction is used for selecting a second target in the scene image; and performing target tracking by using the confirmed target, so that the confirmed target is kept within a predetermined range of a screen, and the screen is configured to display the scene image and the marked target. The method can solve the problem in the prior art that when a user selects a target of interest, the user can only manually select the target of interest on the screen, thereby causing being not intelligent enough and affecting the user experience.

Description

一种目标确认方法、装置及手持系统A target confirmation method, device and handheld system 技术领域technical field
本申请涉及视频拍摄技术领域,尤其涉及一种目标确认方法、装置及手持系统。The present application relates to the technical field of video shooting, and in particular to a target confirmation method, device and handheld system.
背景技术Background technique
随着拍摄技术的跨越式发展,人们针对特定目标的连续追踪拍摄有了更高的需求,从原始的人力追踪到电子设备的智能追踪,目标跟踪技术日臻完善。With the leapfrog development of shooting technology, people have a higher demand for continuous tracking and shooting of specific targets. From the original human tracking to the intelligent tracking of electronic equipment, the target tracking technology is becoming more and more perfect.
通常情况下,用户使用电子设备对特定目标进行跟踪拍摄时,往往需要提前在显示屏幕上框选出感兴趣的特定目标。Usually, when a user uses an electronic device to track and shoot a specific target, he often needs to select a specific target of interest on a display screen in advance.
发明内容Contents of the invention
本申请实施例提供一种目标确认方法、装置及手持系统,用于至少解决现有技术中用户选定感兴趣的目标时,只能在屏幕上手动选择出感兴趣的目标带来的不够智能,影响用户体验的问题。The embodiment of the present application provides a target confirmation method, device and handheld system, which are used to at least solve the lack of intelligence caused by manually selecting the target of interest on the screen when the user selects the target of interest in the prior art , issues affecting user experience.
第一方面,本申请实施例提供一种目标确认方法,包括:In the first aspect, the embodiment of the present application provides a target confirmation method, including:
获取推选目标,其中,所述推选目标为根据场景图像中第一目标的特征信息确定;Acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
对所述推选目标进行标记,得到标记后的目标;Marking the selected target to obtain the marked target;
获取外部指令,并基于所述外部指令和所述标记后的目标进行目标确认,所述外部指令用于对所述场景图像中的第二目标进行选择;Acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
利用确认后的目标进行目标跟踪,以使得所述确认后的目标保持在屏幕的预定范围内,所述屏幕用于显示所述场景图像和所述标记后的目标。The confirmed target is used for target tracking, so that the confirmed target remains within a predetermined range of a screen for displaying the scene image and the marked target.
第二方面,本申请实施例提供一种目标确认装置,包括:存储器、处理器、屏幕;In a second aspect, an embodiment of the present application provides a target confirmation device, including: a memory, a processor, and a screen;
所述存储器,用于存储能够在所述处理器上运行的计算机程序;said memory for storing a computer program capable of running on said processor;
所述处理器,用于在运行所述计算机程序时,执行以下操作:The processor is configured to perform the following operations when running the computer program:
获取推选目标,其中,所述推选目标为根据场景图像中第一目标的特征信息确定;Acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
对所述推选目标进行标记,得到标记后的目标;Marking the selected target to obtain the marked target;
获取外部指令,并基于所述外部指令和所述标记后的目标进行目标确认,所述外部指令用于对所述场景图像中的第二目标进行选择;Acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
利用确认后的目标进行目标跟踪,以使得所述确认后的目标保持在屏幕的预定范围内;performing target tracking by using the confirmed target, so that the confirmed target remains within a predetermined range of the screen;
所述屏幕,用于显示所述场景图像和所述标记后的目标。The screen is used to display the scene image and the marked target.
第三方面,本申请实施例提供一种手持系统,包括:手持装置、存储器、处理器、屏幕,所述存储器与所述处理器设于所述手持装置,所述屏幕与所述手持装置通信连接;In the third aspect, the embodiment of the present application provides a handheld system, including: a handheld device, a memory, a processor, and a screen, the memory and the processor are arranged in the handheld device, and the screen communicates with the handheld device connect;
所述手持装置包括手持部件,所述手持部件用于供用户握持;The hand-held device includes a hand-held part for being held by a user;
所述存储器,用于存储能够在所述处理器上运行的计算机程序;said memory for storing a computer program capable of running on said processor;
所述处理器,用于在运行所述计算机程序时,用于执行以下操作:The processor is configured to perform the following operations when running the computer program:
获取推选目标,其中,所述推选目标为根据场景图像中第一目标的特征信息确定;Acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
对所述推选目标进行标记,得到标记后的目标;Marking the selected target to obtain the marked target;
获取外部指令,并基于所述外部指令和所述标记后的目标进行目标确认,所述外部指令用于对所述场景图像中的第二目标进行选择;Acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
利用确认后的目标进行目标跟踪,以使得所述确认后的目标保持在屏幕的预定范围内;performing target tracking by using the confirmed target, so that the confirmed target remains within a predetermined range of the screen;
所述屏幕,用于显示所述场景图像和所述标记后的目标。The screen is used to display the scene image and the marked target.
从以上技术方案可以看出,本申请实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
本申请实施例提供一种目标确认方法、装置及手持系统,在根据场景图像中第一目标的特征信息获得推选的目标后,可以将获得的推选的目标进行标记,以将推选的目标与场景图像中的其他目标区分开来,且用户可以通过施放外部指令对场景图像中的第二目标进行选择,最后可以基于标记后的目标以及外部指令确认最终跟踪的目标,并使 得被跟踪的目标始终保持在屏幕预设的范围内。这种目标跟踪方法不同于现有技术只能通过用户接触屏幕手动选择被跟踪的目标,而是能够为用户智能地推荐并标记出用户可能感兴趣的目标,再结合外部指令确认最终用于跟踪的目标。由此,在用户需要进行目标确认的情况下,机器可以智能地为用户推荐部分目标,使得用户体验感得以提升。Embodiments of the present application provide a target confirmation method, device, and handheld system. After obtaining the selected target according to the feature information of the first target in the scene image, the obtained selected target can be marked to associate the selected target with the scene. The other targets in the image are distinguished, and the user can select the second target in the scene image by issuing an external command. Finally, the final tracked target can be confirmed based on the marked target and the external command, and the tracked target is always Stay within the bounds of the screen presets. This target tracking method is different from the existing technology that can only manually select the target to be tracked by the user touching the screen, but it can intelligently recommend and mark the target that the user may be interested in, and then combined with external instructions to confirm the final use for tracking The goal. Therefore, when the user needs to confirm the target, the machine can intelligently recommend some targets for the user, which improves the user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1为双手持云台的基本构架图;Fig. 1 is the basic frame diagram of two-handed pan-tilt;
图2为本申请一实施例提供的一种目标确认方法的流程示意图;Fig. 2 is a schematic flow chart of a target confirmation method provided by an embodiment of the present application;
图3为本申请一实施例提供的目标确认装置的结构示意图;FIG. 3 is a schematic structural diagram of a target confirmation device provided by an embodiment of the present application;
图4为本申请又一实施例提供的目标确认装置的结构示意图。Fig. 4 is a schematic structural diagram of a target confirmation device provided in another embodiment of the present application.
附图标记说明:Explanation of reference signs:
11、1号手持部件;12、2号手持部件;13、云台主体;14、屏幕;11. No. 1 hand-held part; 12. No. 2 hand-held part; 13. Main body of the gimbal; 14. Screen;
40、手持系统;41、手持装置;42、存储器;43、处理器;44、屏幕。40. Handheld system; 41. Handheld device; 42. Memory; 43. Processor; 44. Screen.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于说明类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present application and the above drawings are used to describe similar objects and do not necessarily use Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
拍摄技术的发展使得人们对于拍摄有了更高的需求,在图像或视频拍摄领域中,存在诸多需要对感兴趣的目标进行确认的情况,例如对目标进行跟踪拍摄、对拍摄图像中的感兴趣目标进行对焦或是对感兴趣的目标进行变焦拍摄。但在目前的现有技术中,通常是由用户接触设备屏幕来进行目标确认,这种目标确认手段不够智能。为使得目标确认方法更加智能化以提高用户体验,本申请实施例提供了一种目标确认方法、装置及手持系统。The development of shooting technology has made people have higher requirements for shooting. In the field of image or video shooting, there are many situations that need to confirm the target of interest, such as tracking and shooting the target, and interested in the captured image. Focus on the target or zoom in on the target of interest. However, in the current prior art, the target confirmation is usually performed by the user touching the screen of the device, and this target confirmation method is not smart enough. In order to make the target confirmation method more intelligent and improve user experience, the embodiments of the present application provide a target confirmation method, device and handheld system.
示例性的,在本申请实施例中,可以根据场景图像中目标的特征信息为用户推选并标记出部分目标,用户能够施放外部指令对场景中的目标进行选择,进而结合标记后的目标和外部指令确认需要跟踪的目标,最终确认后的目标将始终保持在屏幕的预定范围内,以完成目标跟踪任务。不同于现有技术中用户通过接触屏幕的方式对感兴趣的目标进行目标确认,本申请实施例提供的方法可以智能地为用户推荐用户可能感兴趣的目标,结合外部指令可以在推荐的目标中确认最终感兴趣的目标,也可以在推荐的目标以外确认最终感兴趣的目标,丰富了跟踪目标的确认方式,且在某些特殊情况下解决了用户无法通过接触屏幕的方式选择感兴趣的目标的问题。Exemplarily, in this embodiment of the application, some targets can be selected and marked for the user according to the feature information of the target in the scene image, and the user can issue an external command to select the target in the scene, and then combine the marked target with the external The command confirms the target to be tracked, and the final confirmed target will always be kept within the predetermined range of the screen to complete the target tracking task. Different from the prior art where the user confirms the target of interest by touching the screen, the method provided in the embodiment of the present application can intelligently recommend the target that the user may be interested in, combined with external instructions, the recommended target can be Confirm the final target of interest, you can also confirm the final target of interest in addition to the recommended target, enrich the confirmation method of tracking target, and solve the problem that the user cannot select the target of interest by touching the screen in some special cases The problem.
示例性的,本申请实施例提供的一种目标确认方法可以包括但不限于应用于可移动平台或可移动平台与控制设备配合使用的场景。其中,可移动平台包括手持云台、无人飞行器、无人车、无人船等可以自由移动或经人为移动并且可以采集外界图像的装置。控制设备可以 用于控制可移动平台,控制设备可以设有屏幕,该屏幕可以显示获取到的场景图像和推荐的场景图像中的部分目标,控制设备包括但不限于遥控器(在控制设备为遥控器时,屏幕可以集成于遥控器,也可以与遥控器分离设计)、手机、平板电脑、可穿戴设备等。其中,在应用于可移动平台时,可移动平台可以设有屏幕,该屏幕可以集成于可移动平台或分离设于可移动平台,用户能够基于屏幕的显示内容发出外部指令,以根据推荐的目标和实际自己感兴趣的目标确认最终需要跟踪拍摄的目标;在应用于可移动平台与控制设备配合使用的场景时,可移动平台远离控制设备,用户能够基于控制设备处的屏幕的显示内容,发出外部指令根据推荐的目标和实际自己感兴趣的目标确认最终需要跟踪拍摄的目标。Exemplarily, a method for confirming a target provided in the embodiment of the present application may include but not limited to be applied to a scene where a mobile platform or a mobile platform is used in cooperation with a control device. Among them, the mobile platform includes devices that can move freely or artificially and collect external images, such as handheld pan-tilts, unmanned aerial vehicles, unmanned vehicles, and unmanned ships. The control device can be used to control the movable platform, and the control device can be provided with a screen, which can display some targets in the acquired scene image and the recommended scene image. The control device includes but is not limited to a remote When using a controller, the screen can be integrated into the remote control, or it can be designed separately from the remote control), mobile phone, tablet computer, wearable device, etc. Among them, when applied to a mobile platform, the mobile platform can be equipped with a screen, and the screen can be integrated in the mobile platform or separately installed on the mobile platform, and the user can issue an external command based on the display content of the screen, so as to follow the recommended target Confirm the target that needs to be tracked and shot with the actual target that you are interested in; when it is applied to the scene where the movable platform is used in conjunction with the control device, the movable platform is far away from the control device, and the user can send a message based on the display content of the screen at the control device. The external instruction confirms the final target that needs to be tracked and shot based on the recommended target and the actual target of interest.
示例性的,本申请实施例提供的一种目标确认方法、装置典型的应用场景为手持系统,尤其是双手持系统,例如双手持云台、和可移动平台配合使用的双手持遥控器。特别地,当本申请实施例提供的方法应用于双手持系统时,可以带来额外的有益效果。在此以本申请提供的方法、装置应用于双手持云台为例进行说明,如图1所示为双手持云台的基本构架,包括云台主体13、屏幕14、1号手持部件11、2号手持部件12,其中,1号手持部件11、2号手持部件12连接于云台主体13的两侧,屏幕14可拆卸连接于云台主体13。当用户使用如图1所示的双手持云台时,用户的双手分别握持1号手持部件11、2号手持部件12,云台主体13承载的图像采集装置拍摄需要拍摄的对象,并将拍摄到的图像传输给屏幕14,用以呈现出拍摄到的场景图像,用户则可以通过屏幕14监视拍摄到的场景,还可以对拍摄参数进行调整。在实际应用中,用户可以通过拿持如图1所示的1号手持部件11、2号手持部件12使用该双手持云台,但在确认跟踪目标时,用户需要腾出一只手来在显示有场景图像的屏幕14上通过诸如触碰、框选等方式确认感兴趣的目标。然而通常情况下,单手拿持双手持云台往往会为用户带来不便捷的使用体验。例如,当用户正双手拿持双手持云台时,图像采集装置摄取到的场景图像中突然出现用户感兴趣的需要跟踪拍摄的目标,若用户仅靠一只手拿持云台,并腾出 一只手来在屏幕14上触控选择需要跟踪的目标,则由于需要双手持的云台往往自身就存在一定的重量,这种突然需要用户单手拿持双手持云台的情况会为用户带来一定的不便捷性,如无法稳定使用双手持云台,导致双手持云台出现抖动而使得场景图像异常。然而,当本申请实施例提供的方法应用于如图1示例的双手持云台时,在用户需要进行目标确认的场景下,屏幕14上可以显示场景图像以及为用户推选出的场景图像中用户可能感兴趣的目标。用户可以在不需要腾出一只手接触屏幕14的情况下,发出外部指令在推选的目标中确认自己感兴趣的目标,例如用户可以在1号手持部件11和/或2号手持部件13的手指能够操作的区域通过控制操作件(如通过按键或旋钮在推选目标中选择对感兴趣的目标进行切换)来选择感兴趣的目标,用户也可以通过自身的姿态来选择感兴趣的目标,或者用户还可以通过发出声音指令来选择感兴趣的目标。如此,当本申请实施例提供的方法应用于双手持云台时,不仅可以为用户带来一种新颖的目标确认模式,更不需要用户腾出一只手来进行目标选择,带来了一定的便捷性,提高了用户体验。Exemplarily, a typical application scenario of a target confirmation method and device provided in the embodiments of the present application is a handheld system, especially a dual-handheld system, such as a dual-handheld pan-tilt, and a dual-handheld remote controller used in conjunction with a mobile platform. In particular, when the method provided by the embodiment of the present application is applied to a two-handed system, it can bring additional beneficial effects. Here, the application of the method and device provided by the application to the two-handed pan-tilt is described as an example. As shown in FIG. No. 2 hand-held part 12 , wherein No. 1 hand-held part 11 and No. 2 hand-held part 12 are connected to both sides of the pan-tilt main body 13 , and the screen 14 is detachably connected to the pan-tilt main body 13 . When the user uses the two-handed pan/tilt as shown in Figure 1, the user's hands hold No. 1 hand-held part 11 and No. 2 hand-held part 12 respectively, and the image acquisition device carried by the pan/tilt main body 13 shoots the object to be photographed, and The captured image is transmitted to the screen 14 to present the captured scene image, and the user can monitor the captured scene through the screen 14 and also adjust the shooting parameters. In practical application, the user can use the two-handed pan-tilt by holding the No. 1 hand-held part 11 and No. 2 hand-held part 12 as shown in Figure 1, but when confirming the tracking target, the user needs to free up one hand to On the screen 14 where the scene image is displayed, the target of interest is confirmed by means such as touch, frame selection, and the like. However, under normal circumstances, holding the pan-tilt with two hands in one hand often brings an inconvenient experience to the user. For example, when the user is holding the two-handed pan-tilt with both hands, a target that needs to be tracked and shot suddenly appears in the scene image captured by the image acquisition device. If the user only holds the pan-tilt with one hand and frees up One hand touches and selects the target to be tracked on the screen 14, and the pan-tilt itself often has a certain weight due to the need for both hands. It brings a certain amount of inconvenience, such as the inability to use the two-handed gimbal stably, resulting in shaking of the two-handed gimbal and making the scene image abnormal. However, when the method provided by the embodiment of the present application is applied to the two-handed pan-tilt as shown in Figure 1, in the scene where the user needs to confirm the target, the scene image and the scene image selected for the user can be displayed on the screen 14. objects of possible interest. The user can send an external command to confirm the target of his own interest among the selected targets without freeing up a hand to touch the screen 14, for example, the user can click on the No. The area that can be operated by the finger selects the target of interest by controlling the operating part (such as selecting and switching the target of interest in the selected target by pressing a button or a knob), and the user can also select the target of interest through his own gesture, or Users can also select objects of interest by issuing voice commands. In this way, when the method provided by the embodiment of the present application is applied to the two-handed pan/tilt, it can not only bring a novel target confirmation mode to the user, but also does not require the user to free up one hand to select the target, which brings certain benefits. Convenience and improved user experience.
需要说明的是,以上只是以双手持云台为例对本申请所提供的方法所带来的有益效果进行了说明,但并不代表只有在双手持云台上应用本申请提供的方法可以带来上述的有益效果,应当可以理解的是,当本申请提供的方法应用于和双手持云台类似的双手持设备时,也会带来相同或类似的有益效果。It should be noted that the beneficial effects brought by the method provided by the present application are only described above by taking the two-handed pan-tilt as an example, but it does not mean that only the application of the method provided by the application on the two-handed pan-tilt can bring For the above beneficial effects, it should be understood that when the method provided by the present application is applied to a dual handheld device similar to a dual handheld pan/tilt, it will also bring the same or similar beneficial effects.
为便于理解,下面对本申请实施例中的具体流程进行描述,在不冲突的情况下,下述的实施例中的特征可以相互耦合或解耦,以构成不同的技术方案。For ease of understanding, the following describes the specific processes in the embodiments of the present application. If there is no conflict, the features in the following embodiments may be coupled or decoupled to form different technical solutions.
本申请提供的所有方法实施例的执行主体包括但不限于可移动平台或与可移动平台配合使用的控制设备,具体可以为其设置的处理器。图2为本申请一实施例提供的一种目标确认方法的流程示意图。如图2所示,本实施例的方法能够包括:Executors of all the method embodiments provided in this application include but are not limited to a mobile platform or a control device used in conjunction with the mobile platform, specifically a processor that may be provided therefor. Fig. 2 is a schematic flowchart of a target confirmation method provided by an embodiment of the present application. As shown in Figure 2, the method of this embodiment can include:
步骤S0201,获取推选目标,其中,推选目标为根据场景图像中第一目标的特征信息确定;Step S0201, acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
步骤S0202,对推选目标进行标记,得到标记后的目标;Step S0202, marking the selected target to obtain the marked target;
步骤S0203,获取外部指令,并基于外部指令和标记后的目标进行目标确认,外部指令用于对场景图像中的第二目标进行选择;Step S0203, acquiring an external command, and performing target confirmation based on the external command and the marked target, the external command is used to select a second target in the scene image;
步骤S0204,利用确认后的目标进行目标跟踪,以使得确认后的目标保持在屏幕的预定范围内,屏幕用于显示场景图像和标记后的目标。Step S0204, using the confirmed target to track the target, so that the confirmed target remains within a predetermined range of the screen, and the screen is used to display the scene image and the marked target.
本实施例提供的方法具体可描述为,根据目标识别算法得到场景图像中的第一目标,例如利用目标轮廓提取算法提取到场景图像中的目标区域后,再利用深度学习算法对目标区域中的目标进行识别。为进一步更加精准地推选用户可能感兴趣的目标,处理器根据第一目标的至少一种特征信息为用户在第一目标中推选出部分目标。为将推选出的目标与场景图像中的其他目标区别开来,处理器可以利用标识对推选出的目标进行标记,得到标记后的目标,并将标记后的目标和场景图像显示在屏幕上。除智能地为用户推荐可能感兴趣的目标之外,用户还可以发出外部指令对场景图像中的第二目标进行选择。如此,处理器可以结合标记后的第一目标和外部指令指示的第二目标进行最终的目标确认,并可以在目标确认后,将确认后的目标用于目标跟踪,并使得确认后的目标始终保持在屏幕的预定范围内。The method provided in this embodiment can be specifically described as: Obtaining the first target in the scene image according to the target recognition algorithm, for example, after using the target contour extraction algorithm to extract the target area in the scene image, and then using the deep learning algorithm to identify the target area in the target area target identification. In order to further more accurately select targets that may be of interest to the user, the processor selects some targets from the first targets for the user according to at least one feature information of the first target. In order to distinguish the selected target from other targets in the scene image, the processor can use the identifier to mark the selected target to obtain the marked target, and display the marked target and the scene image on the screen. In addition to intelligently recommending objects that may be of interest to the user, the user can also issue an external instruction to select a second object in the scene image. In this way, the processor can combine the marked first target and the second target indicated by the external instruction to perform final target confirmation, and after the target is confirmed, use the confirmed target for target tracking, and make the confirmed target always Stay within the predetermined range of the screen.
其中,结合标记后的目标和外部指令指示的目标进行最终的目标确认,可以是确认推选出的目标中的一个第一目标为用于跟踪的目标,也可以是确认用户选择的推选出的目标以外的一个第二目标为用于跟踪的目标。也即,标记后的第一目标和外部指令指示的第二目标具有相应的优先级,该优先级可以根据具体的应用场景变化。在一般情况下,用户指令指示的第二目标的优先级会高于标记后的第一目标,例如用户指令指示的第二目标不同于标记后的第一目标时,将以用户指令指示的第二目标为最终用于跟踪的目标。但在已经确认的目标发生丢失且用户未再通过外部指令指示第二目标的情况下,标记后的第一目标的优先级最高,例如在被跟踪的目标发生丢失时,被跟踪的目标可以自动切换至被标记的第一目标中的一个目标。当然,可以理解,在一些实施例中,在未发生被跟踪的目标发生丢失的情况下,标记后 的第一目标的优先级也可以高于外部指令指示的第二目标,具体可以根据需要设计,此处不做具体限定。Wherein, the final target confirmation is performed by combining the marked target and the target indicated by the external instruction, which may be to confirm that the first target among the selected targets is used for tracking, or to confirm the selected target selected by the user. A second target other than is the target used for tracking. That is, the marked first target and the second target indicated by the external instruction have corresponding priorities, and the priorities may vary according to specific application scenarios. Under normal circumstances, the priority of the second target indicated by the user instruction will be higher than the first marked target. For example, when the second target indicated by the user command is different from the marked first target, the first target indicated by the user command will be The second target is the final target for tracking. However, when the confirmed target is lost and the user no longer indicates the second target through external instructions, the first marked target has the highest priority. For example, when the tracked target is lost, the tracked target can automatically Switches to one of the marked first targets. Of course, it can be understood that in some embodiments, if the tracked target is not lost, the priority of the marked first target may also be higher than that of the second target indicated by the external instruction, which can be designed according to needs. , not specifically limited here.
需要说明的是,第二目标可以是第一目标,也可以包括第一目标以及第一目标以外的目标,还可以是不同于第一目标的目标。It should be noted that the second goal may be the first goal, may also include the first goal and goals other than the first goal, and may also be a goal different from the first goal.
相对在进行目标确认时需要依赖用户通过触控屏幕的方式来进行,本实施例提供的方法可以根据场景中第一目标的特征信息主动为用户提供用户可能感兴趣的目标,并结合外部指令指示的第二目标,最终可以根据第一目标和第二目标进行目标确认。该方法为用户提供了一种更加智能的目标确认方法,在某些情况下解放了用户的双手,提高了用户的用户体验。Compared with the need to rely on the user to confirm the target through the touch screen, the method provided in this embodiment can actively provide the user with the target that the user may be interested in according to the characteristic information of the first target in the scene, and combine the external command instruction The second goal can finally be confirmed according to the first goal and the second goal. The method provides a more intelligent target confirmation method for the user, liberates the hands of the user in some cases, and improves the user experience of the user.
在一实施例中,场景图像中第一目标的特征信息可以是多方面的,例如目标的景深、目标的大小、屏幕上目标距离场景图像预设位置的距离或者目标的类别中的一种或多种的结合。In an embodiment, the feature information of the first object in the scene image may be various, such as the depth of field of the object, the size of the object, the distance between the object on the screen and the preset position of the scene image, or one or more of the category of the object. Various combinations.
可选的,特征信息包括屏幕上目标距离场景图像预设位置的距离。示例性的,按照一般情况下用户的拍照习惯,用户喜欢将最感兴趣的目标置于场景图像的中间,所以为更加智能地为用户推荐可能感兴趣的目标,可以将目标在场景图像中距离场景图像的中心距离作为目标的特征信息,当然,场景图像的预设位置包括但不限于场景图像的中心。假设将场景图像的预设位置设置为场景图像的中心,如果场景图像中存在A、B、C三个目标,场景图像中心为O,目标A和O的距离可以表示为AO,目标B和O的距离可以表示为BO,目标C和O的距离可以表示为CO,如果AO>BO>CO,且将距离O最近的目标作为推选给用户的目标,那么处理器可以将目标C作为首位推选目标推选给用户。应当可以理解的是,如果将场景图像预设位置设置为非场景图像中心的其他位置,处理器推选目标的原理和上述方法类似。Optionally, the feature information includes the distance between the target on the screen and the preset position of the scene image. Exemplarily, according to the user's photographing habits in general, the user likes to place the most interesting object in the middle of the scene image, so in order to more intelligently recommend the user may be interested in the object, the distance between the object in the scene image can be The center distance of the scene image is used as the feature information of the target. Of course, the preset position of the scene image includes but not limited to the center of the scene image. Assume that the preset position of the scene image is set as the center of the scene image, if there are three targets A, B, and C in the scene image, and the center of the scene image is O, the distance between targets A and O can be expressed as AO, and the distance between targets B and O The distance can be expressed as BO, the distance between target C and O can be expressed as CO, if AO>BO>CO, and the target closest to O is selected as the target for the user, then the processor can select target C as the first target recommended to users. It should be understood that if the preset position of the scene image is set to a position other than the center of the scene image, the principle of selecting the target by the processor is similar to the above method.
可选的,在某些场景中用户需要对特定的目标进行跟踪拍摄,比如在研究犬只的生活习性时,需要观察一只狗的运动轨迹,用户希望处理器能够直接将场景图像中的狗作为推选目标推选给用户,故处理器也可以将目标的类别作为推选目标的参考特征信息。同时,需要说 明的是,目标的类别并不仅仅只是动物、植物、人类等区别较大的类别,目标的类别还可以是男人、女人或老人、青年人、小孩等,处理器可以根据不同的需求场景为用户推荐出不同的用户可能感兴趣的目标。例如场景图像中存在D、E、F三个目标,经目标识别后D目标为人类,E目标为猫,F目标为狗,如果处理器收到的用户需求为更多的关注场景图像中的人类目标,那么处理器可以将目标D作为首位推选目标推选给用户。又例如,在另一个场景图像中存在D1、E1、F1三个目标,经目标识别后D1为老年人,E1为青年人,F1为小朋友,如果此时处理器收到的用户需求为监控场景图像中的小朋友,那么处理器可以将目标F1作为首位推选目标推选给用户。Optionally, in some scenes, the user needs to track and shoot a specific target. For example, when studying the living habits of a dog, it is necessary to observe the movement track of a dog. The user hopes that the processor can directly capture the dog in the scene image. As the recommended target is recommended to the user, the processor may also use the category of the target as the reference feature information of the selected target. At the same time, it should be noted that the category of the target is not just animals, plants, human beings and other categories with large differences. The category of the target can also be men, women, old people, young people, children, etc., and the processor can The demand scenario recommends different targets that the user may be interested in for the user. For example, there are three targets D, E, and F in the scene image. After target recognition, the D target is a human, the E target is a cat, and the F target is a dog. If the user demand received by the processor is to pay more attention to the human target, then the processor may select target D as the first recommended target to the user. For another example, there are three targets D1, E1, and F1 in another scene image. After target recognition, D1 is an elderly person, E1 is a young person, and F1 is a child. If the user request received by the processor at this time is a monitoring scene If there is a child in the image, the processor may select the target F1 as the first recommended target to the user.
可选的,在某些特定的场景中可以根据目标的景深信息为用户推荐用户可能感兴趣的目标。景深指的是相机对焦点前后相对清晰的成像范围,目标的景深可以理解为实际场景中目标和成像镜头的距离,即目标距离成像镜头越远目标的景深越大,目标距离成像镜头越近目标的景深越小。示例性的,如果处理器收到的需求是拍摄远处的风景照,那么当场景图像中存在景深大的山峦目标和景深小的人物目标时,处理器可以将景深大的山峦目标作为首位推选目标推选给用户。Optionally, in some specific scenarios, objects that may be of interest to the user may be recommended to the user based on the depth information of the object. Depth of field refers to the relatively clear imaging range before and after the focus of the camera. The depth of field of the target can be understood as the distance between the target and the imaging lens in the actual scene, that is, the farther the target is from the imaging lens, the greater the depth of field of the target, and the closer the target is to the imaging lens. The depth of field is smaller. Exemplarily, if the request received by the processor is to take pictures of distant landscapes, then when there are mountain objects with a large depth of field and human objects with a small depth of field in the scene image, the processor may select the mountain object with a large depth of field as the first choice The target is recommended to the user.
可选的,在又一示例中,处理器可以根据目标的大小为用户推荐可能感兴趣的目标。例如,在跟踪拍摄的场景中,用户感兴趣的是场景图像中更明显的目标,即占据场景图像的面积更大的对象,因此相比于其他目标,占据场景图像的面积更大的对象显然是更为明显的目标。处理器收到该需求后,便可以将占据场景图像的面积最大的对象作为首位推选目标推选给用户。Optionally, in yet another example, the processor may recommend objects that may be of interest to the user according to the size of the objects. For example, in the scene of tracking shooting, the user is interested in the more obvious objects in the scene image, that is, the objects occupying a larger area of the scene image, so compared with other objects, the objects occupying a larger area of the scene image are obviously is the more obvious target. After the processor receives the request, it can recommend the object occupying the largest area of the scene image to the user as the first selection target.
当然,目标的特征信息可以不仅仅是单一的信息,其特征信息也可以是多个特征信息的叠加。以目标的特征信息为目标的类别叠加场景图像中目标距离场景图像中心的距离为例进行阐释。示例性的,在特定场景中,如跟踪拍摄舞蹈表演时,人们可能更愿意关注场景图像中心的领舞目标,那么显然目标的类别信息是最基础的信息,其他特征信息都是基于类别信息基础上的进一步修饰,因此处理器可以给予目标的类别信息90%的权重分数(应当可以理解的是,该权重分数的 比例是可以调整的),即如果识别到场景图像中的目标为人类,则该目标可以获得90%的权重分数,如果识别到场景图像的目标是场景布景等,则该目标无法获得90%的权重分数,或者该目标只能获得较少的分数。进一步,给予场景图像中目标距离场景图像中心的距离的特征信息10%的权重分数,将场景图像中的目标按照离场景图像中心的距离大小排序,距离小的目标排在前面,距离大的目标排在后面,排在首位的目标可以获得全部10%的权重分数,排在后面的目标可以获得的分数依次递减。最终将目标在类别信息部分获得的得分和在离场景图像中心的距离部分获得的得分相加得到目标的最终得分,最后为用户推荐最终得分最高的目标,或者处理器可以为用户推荐最终得分较高的一系列目标,最后由用户自行确认。应当可以理解的是,除了示例所举的具体实施例外,赋予目标的不同特征信息不同的权重分数,最后根据目标所有的特征信息的叠加总分进行目标推选的方法同样适用于两个或更多的目标的其他特征信息组合的情况。Of course, the characteristic information of the target may not only be a single piece of information, but also may be a superposition of multiple characteristic information. The distance between the target and the center of the scene image in the category superimposed scene image based on the feature information of the target is taken as an example for illustration. For example, in a specific scene, such as tracking and shooting a dance performance, people may be more willing to pay attention to the lead dancer target in the center of the scene image, then obviously the category information of the target is the most basic information, and other feature information is based on the category information Therefore, the processor can give the category information of the target a weight score of 90% (it should be understood that the proportion of the weight score can be adjusted), that is, if the target in the scene image is recognized as a human being, then the A target can get a weight score of 90%, and if the target that recognizes the scene image is a scene set, etc., the target cannot get a 90% weight score, or the target can only get less points. Further, give the feature information of the distance between the object in the scene image and the center of the scene image a weight score of 10%, sort the objects in the scene image according to the distance from the center of the scene image, the objects with small distances are ranked first, and the objects with large distances are ranked first. Ranked in the back, the first goal can get all 10% of the weighted score, and the scores that can be obtained by the last goal are decreasing in turn. Finally, add the score obtained by the target in the category information part and the score obtained in the distance from the center of the scene image to get the final score of the target, and finally recommend the target with the highest final score for the user, or the processor can recommend the target with the highest final score for the user. A series of high goals, and finally confirmed by the user. It should be understood that, except for the specific examples cited in the example, different weight scores are given to different feature information of the target, and finally the method of target selection based on the superimposed total score of all feature information of the target is also applicable to two or more The combination of other feature information of the target.
可以理解的是,将场景图像中目标的特征信息具体化,可以在不同应用场景中更准确地为用户推荐用户可能更感兴趣的目标。其中,特征信息的类别以及结合方式,可以是在提前预设,也可以由用户自定义,此处不做具体限定。It can be understood that by concretizing the feature information of the target in the scene image, the target that the user may be more interested in can be more accurately recommended to the user in different application scenarios. The categories and combinations of feature information may be preset in advance or customized by the user, which are not specifically limited here.
需要说明的是,推选目标是由其它电子设备确定后推送的,也可以是由处理器基于特征信息计算得到的,此处不做具体限定。It should be noted that the recommended target is determined and pushed by other electronic devices, or calculated by a processor based on feature information, which is not specifically limited here.
在又一实施例中,对目标进行标记的标记方法可以是多样性的,例如线条标记法、目标区域标记法。In yet another embodiment, there may be various marking methods for marking the target, such as a line marking method and a target area marking method.
可选的,线条标记法可以包含用直线、曲线或其组合在推选目标的诸如四周的至少一个方位进行标记,例如在目标的下方用区别于屏幕颜色的直线或波浪线进行目标标记,再例如在目标的左上方添加直线、右下方添加波浪线用于目标标记。Optionally, the line marking method may include using straight lines, curved lines or a combination thereof to mark at least one position around the selected target, such as marking the target with a straight line or wavy line that is different from the color of the screen below the target, and for example Add a straight line to the upper left of the target and a wavy line to the lower right for target marking.
可选的,目标区域标记法包括圈定推选目标区域、对推选目标区域亮度进行调整中的一种,即对特定区域进行封闭式的标记。例如,用区别于屏幕颜色的矩形、圆形或三角形圈定推选目标。又例如,可以使得推选目标区域的整体亮度高于场景图像其他区域。其中,目标 区域可以理解为但不限于目标识别算法中提取出的目标轮廓所指代的区域。可以理解的是,对推选目标进行标记可以使得推选目标区别于场景图像中的其他目标,特定的标记方法诸如星形、心形标记法等还可以使得屏幕上的人机交互界面更加美观。Optionally, the method for marking the target area includes one of delineating the selected target area and adjusting the brightness of the selected target area, that is, marking a specific area in a closed manner. For example, use a rectangle, circle or triangle that is different from the color of the screen to delineate the recommended target. For another example, the overall brightness of the selected target area may be higher than other areas of the scene image. Wherein, the target area can be understood as but not limited to the area indicated by the target outline extracted in the target recognition algorithm. It can be understood that marking the selected target can make the selected target different from other targets in the scene image, and specific marking methods such as star-shaped and heart-shaped marking methods can also make the human-computer interaction interface on the screen more beautiful.
在一另外实施例中,外部指令可以是与屏幕接触的指令,也可以是与屏幕非接触的指令,或者是与屏幕接触的指令以及与屏幕非接触的指令的结合。与屏幕接触的指令是指用户通过触控屏幕下发的指令,例如用户可以通过在屏幕上框定或圈定目标的方式来选择第二目标。与屏幕非接触的指令是指用户通过非触控屏幕的方式下发的指令,其至少包括声音指令、姿态指令、基于操作件的指令中的一种。示例性的,用户可以通过发出“左、右”等声音指令将标记待确认的目标的标识在推选的目标中进行切换,从而选择第二目标。又例如用户可以利用姿态指令来选择第二目标,此处的姿态指令可以指用户的身体某部分发出的姿态指令,比如用户的头部或手部可以做出特定的姿态将标记待确认的目标的标识在推选的目标中进行切换,也可以指如图1所示的1号手持部件11和/或2号手持部件22的姿态(若1号手持部件11和/或2号手持部件22能够相对于云台主体13转动),从而选择第二目标。再例如,用户可以控制与屏幕分离设置的操作件来选择第二目标,如用户可以通过与屏幕分离设置的按键或旋钮将标记待确认的目标的标识在推选的目标中进行切换,从而选择第二目标。可以理解的是,发出与屏幕非接触的指令从而进行目标确认的方法应用于质量较大、不便单手拿持的手持系统时,可以避免需要用户腾出一只手来触控屏幕选择目标带来的不便捷。而当处理器为用户推选的目标中不包含用户感兴趣的目标时,用户也可以发出与屏幕接触的指令选择自己感兴趣的目标,使得最终确认的目标可以更精准地表达出来。In another embodiment, the external instruction may be an instruction of contact with the screen, an instruction of non-contact with the screen, or a combination of an instruction of contact with the screen and an instruction of non-contact with the screen. The instruction of touching the screen refers to an instruction issued by the user through the touch screen, for example, the user may select a second object by framing or circling the object on the screen. A non-contact instruction with the screen refers to an instruction issued by the user through a non-touch screen, which includes at least one of voice instructions, gesture instructions, and instructions based on operating elements. Exemplarily, the user may select the second target by issuing a voice command such as "left, right" to switch the logo marking the target to be confirmed among the selected targets. Another example is that the user can use a gesture command to select a second target. The gesture command here can refer to a gesture command issued by a certain part of the user's body. For example, the user's head or hands can make a specific gesture to mark the target to be confirmed. The identification of the switch in the recommended target can also refer to the posture of No. 1 hand-held part 11 and/or No. 2 hand-held part 22 as shown in Figure 1 (if No. 1 hand-held part 11 and/or No. 2 hand-held part 22 can Rotate relative to the pan-tilt main body 13), so as to select the second target. For another example, the user can control the operating element set apart from the screen to select the second target. For example, the user can switch the logo of the target to be confirmed among the recommended targets through the button or knob set apart from the screen, so as to select the second target. Two goals. It can be understood that when the method of issuing a non-contact command with the screen to confirm the target is applied to a handheld system with a large mass and is inconvenient to hold with one hand, it can avoid the need for the user to free up one hand to touch the screen to select the target band. It's not convenient to come. And when the target selected by the processor for the user does not include the target that the user is interested in, the user can also issue an instruction to touch the screen to select the target that the user is interested in, so that the final confirmed target can be expressed more accurately.
其中,本申请实施例中的方法可以应用于能够双手持的电子设备,在双手持电子设备时,发出操作件指令的操作件位于电子设备上用户的手指能够操作的区域,屏幕位于电子设备上用户的手指不能够操作的区域。可以理解的是,上述电子设备可以是多样性的,例如双手持云台、与可移动平台(如无人车、无人机、无人船)搭配使用的遥控 设备(如遥控器、装有控制软件的手机)。示例性的,电子设备为双手持云台,双手持云台一般为有一定重量的大型手持云台,可以用于影视剧组的拍摄,其供用户拿持的手持部分一般位于云台主体的两侧,而供用户进行画面监测的屏幕一般位于云台主体的上方,用户眼睛可以直接观测到的地方。使用时,用户双手握持双手持云台,当有感兴趣的目标出现在屏幕上的场景图象中时,用户可以获得根据场景图象中目标的特征信息推荐出的部分目标。在推荐出的部分目标中,用户可以通过控制位于双手持云台供用户拿持部分周围区域的操作件(如按键、旋钮)来选择进行跟踪拍摄的目标。在该实施例中,该技术方案不仅可以为用户带来一种新颖的目标确认方法,同时用户不需要腾出一只手来在屏幕上通过触控选择跟踪拍摄的目标,从而解决了在选择目标时单手拿持上述云台带来的不便。在又一实施例中,推选目标可以是一个目标,也可以是多个目标,具体可以根据需要设计。Among them, the method in the embodiment of the present application can be applied to electronic devices that can be held in both hands. When the electronic device is held in both hands, the operating part that issues the operating part command is located on the electronic device where the user's fingers can operate, and the screen is located on the electronic device. The area where the user's fingers cannot operate. It can be understood that the above-mentioned electronic devices can be diverse, such as two hand-held pan-tilts, remote control devices (such as remote controls, equipped with mobile phone with control software). Exemplarily, the electronic device is a two-handed pan-tilt, and the two-handed pan-tilt is generally a large-scale handheld pan-tilt with a certain weight, which can be used for filming and filming. The side, and the screen for the user to monitor the screen is generally located above the main body of the gimbal, where the user's eyes can directly observe. When in use, the user holds the two-handed pan-tilt with both hands, and when a target of interest appears in the scene image on the screen, the user can obtain some targets recommended according to the feature information of the target in the scene image. In the recommended part of the target, the user can select the target for tracking and shooting by controlling the operating elements (such as buttons and knobs) located in the surrounding area of the two-handed pan-tilt for the user to hold. In this embodiment, this technical solution can not only bring a novel target confirmation method to the user, but also the user does not need to free up a hand to select the target for tracking and shooting on the screen through touch, thus solving the problem of selecting and tracking the target. Inconvenience caused by holding the above-mentioned cloud platform with one hand when aiming. In yet another embodiment, the recommended target may be one target, or multiple targets, which may be specifically designed according to needs.
示例性的,推选目标为一个,推选目标为多个目标中位于第一预设排序位的目标,用于标记所述位于第一预设排序位的目标的标识为第一特定标记,多个目标的排序是根据目标的特征信息确定的。即当推选目标是一个目标时,可以根据第一目标的特征信息对第一目标进行排序,将位于第一预设排序位的第一目标推选给用户,并且用第一特定标记对推选目标进行标记,以便与场景图像中的其它目标区分开来,其中,第一预设位可以是排序最靠前的位序也可以是预设的任意位序。其中,第一特定标记可以为上述实施例中提及的目标标记法所述的标记,例如用红色线条框住目标区域,或在目标下方用波浪线进行标记。例如,将场景图像中第一目标与场景图像中心的距离作为第一目标的特征信息用来给第一目标进行排序,距离越短,第一目标的位序越靠前,若将最靠前的排序位作为第一预设排序位,那么处理器便可以为用户推选并用第一特定标记标记第一目标中与场景图像中心距离最短的目标。该推选方法可以一针见血地为用户推选出用户最可能感兴趣的目标,给到用户明确的目标的指示。Exemplarily, there is one selected target, and the selected target is a target at the first preset ranking position among multiple targets, and the identifier used to mark the target at the first preset ranking position is the first specific mark, and multiple The sorting of objects is determined according to the characteristic information of the objects. That is, when the selected target is a target, the first target can be sorted according to the characteristic information of the first target, and the first target at the first preset sorting position can be recommended to the user, and the selected target can be sorted with the first specific mark. In order to distinguish it from other objects in the scene image, the first preset bit can be the highest bit or any preset bit. Wherein, the first specific mark may be a mark described in the target marking method mentioned in the above embodiment, for example, a red line is used to frame the target area, or a wavy line is used to mark the target area. For example, the distance between the first object in the scene image and the center of the scene image is used as the feature information of the first object to sort the first objects. The shorter the distance, the higher the order of the first object. If the sort bit is used as the first preset sort bit, then the processor can select and mark the target with the shortest distance from the center of the scene image among the first targets for the user and mark it with the first specific mark. This selection method can straight-forwardly select the target that the user is most likely to be interested in, and give the user a clear indication of the target.
可选的,示例性的,当推选目标为多个时,可以对至少两个推选目标进行标记,得到标记后的目标,其中,位于第一预设排序位的目 标的标记方法与位于非第一预设排序位的目标的标记方法不同,用于标记位于第一预设排序位的目标的标识为第一特定标记,多个目标的排序是根据所述目标的特征信息确定的。其中,第一特定标记可以为上述实施例中提及的目标标记法所述的标记,但第一特定标记能够区别于其它标记,例如非第一预设排序位的目标为用绿色的线条框住目标区域标记,而第一特定标记为用红色的线条框住目标区域,或者非第一预设排序位的目标为用绿色的线条框住目标区域标记,而第一特定标记为在目标的左上方添加一颗星形标记物。例如,处理器可以推选并用标记出预设排序范围内的多个推选目标,并可以用第一特定标记标记位于第一预设排序位的目标,其中,预设排序范围由包括第一预设排序位在内的多个排序位构成。示例性的,将场景图像中第一目标与场景图像中心的距离作为第一目标的特征信息用来给第一目标进行排序,距离越短,第一目标的位序越靠前,预设排序范围设置为排序前五的目标,第一预设排序位设置为排序第一的目标。那么处理器可以为用户推荐排序前五的目标,其中排序第一的目标可以用红色线条圈住,排序第二至第四的目标可以用绿色线条圈住。用不同的标记标记位于第一排序位的目标可以为用户更明确地显示出处理器为用户推选出的一系列用户可能感兴趣的目标以及这一系列目标中处理器为用户推选的用户最可能感兴趣的一个目标。这样的推选方法可以为用户带来更多的选择余地,提升用户体验。Optionally, for example, when there are multiple selected targets, at least two selected targets can be marked to obtain marked targets, wherein the marking method of the target at the first preset ranking position is the same as that at the non-th The marking methods of objects at a preset ranking position are different. The mark used to mark the target at the first preset ranking position is the first specific mark, and the ranking of multiple targets is determined according to the feature information of the targets. Wherein, the first specific mark can be the mark described in the target notation method mentioned in the above embodiment, but the first specific mark can be distinguished from other marks, for example, the target of the non-first preset sorting position is framed by a green line Mark the target area, and the first specific mark is to frame the target area with a red line, or the target that is not the first preset sort position is to use a green line to frame the target area mark, and the first specific mark is to frame the target area with a green line Add a star marker to the upper left. For example, the processor may select and mark a plurality of selected targets within a preset sorting range, and may use a first specific flag to mark a target at a first preset sorting position, wherein the preset sorting range consists of the first preset A plurality of sorting bits including the sorting bit is formed. Exemplarily, the distance between the first object in the scene image and the center of the scene image is used as the feature information of the first object to sort the first objects, the shorter the distance, the higher the order of the first object, the default sorting The range is set to the top five sorted targets, and the first preset sort bit is set to the first sorted target. Then the processor can recommend the top five goals for the user, wherein the goal ranked first can be circled by a red line, and the goals ranked second to fourth can be circled by a green line. Using different tags to mark the goals in the first ranking position can more clearly show the user a series of goals that the processor may be interested in and the most likely goals that the processor recommends for the user in this series of goals. A target of interest. Such a selection method can bring more choices to users and improve user experience.
可以理解的是,位于非第一预设排序位的目标也包括预设排序范围外的目标,如外部指令指示的不同于第一目标的第二目标。It can be understood that the objects not in the first preset sorting position also include the objects outside the preset sorting range, such as the second target different from the first target indicated by the external instruction.
在又一实施例中,对至少两个推选目标进行标记,得到标记后的目标后,提示用户能够采用与屏幕接触的指令进行目标确认。示例性的,处理器可以为用户推选五个目标,其中位于第一排序位的目标用第一特定标记,其余四个目标用非第一特定标记进行标记,标记完目标后,处理器可以通过在屏幕上显示文字或通过声音提示用户可以采用与屏幕接触的指令(如框选目标的方式)选择第二目标。该方法可以提示用户在得到标记后的目标之后的下一步动作,以防标记后目标中并未包括用户真正感兴趣的目标时,可以指导用户进行相应的操作 选择自己真正感兴趣的目标,增加用户体验。In yet another embodiment, at least two recommended targets are marked, and after the marked targets are obtained, the user is prompted to confirm the targets by using an instruction of touching the screen. Exemplarily, the processor may select five targets for the user, wherein the target at the first ranking position is marked with the first specific mark, and the remaining four targets are marked with non-first specific marks. After marking the targets, the processor may pass Displaying text on the screen or prompting the user through sound may select the second target by using an instruction of contact with the screen (for example, a way of selecting a target). This method can prompt the user to take the next action after getting the marked target, and in case the marked target does not include the target that the user is really interested in, it can guide the user to perform the corresponding operation to select the target that the user is really interested in, increasing user experience.
在又一实施例中,位于第一预设排序位的目标的第一特定标记能够转移到位于非第一预设排序位的目标上,第一特定标记对应的目标为待确认的目标。其中,上述非第一预设排序位的目标可以是标记后的目标中位于非第一预设排序位的目标,例如位于第二预设排序位或其他排序位的目标,也可以是用户通过与屏幕接触的指令获得的标记后的目标以外的目标。In yet another embodiment, the first specific mark of the target at the first preset sorting position can be transferred to the target not at the first preset sorting position, and the target corresponding to the first specific mark is the target to be confirmed. Wherein, the above-mentioned targets not in the first preset sorting position may be targets located in the non-first preset sorting position among the marked targets, such as targets in the second preset sorting position or other sorting positions, or it may be a target set by the user through A target other than the marked target obtained by the command to make contact with the screen.
可选的,标记后的目标可以为一个,处理器可以根据外部指令将第一特定标记转移至标记后的目标以外的一个目标上。例如,当标记后的目标为一个时,处理器可以根据用户通过触控屏幕发出的指令,如触击屏幕上的目标或框选屏幕上的目标,将第一预设排序位处的第一特定标记转移至用户通过触控屏幕选择的目标上,进而将用户通过触控屏幕选择的目标作为新的待确认的目标。Optionally, there may be one marked target, and the processor may transfer the first specific mark to a target other than the marked target according to an external instruction. For example, when there is only one marked target, the processor can set the first preset sort position to the first target according to an instruction sent by the user through the touch screen, such as touching the target on the screen or selecting a frame on the screen. The specific mark is transferred to the target selected by the user through the touch screen, and then the target selected by the user through the touch screen is used as a new target to be confirmed.
可选的,当标记后的目标为多个时,处理器可以基于外部指令,转移第一特定标记至相应的目标,其中相应的目标可以是标记后的目标中的一个目标,也可以是标记后的目标以外的一个目标上,如用户在屏幕上触控选择的目标。示例性的,当标记后的目标为多个目标时,其中位于第一预设排序位的目标带有第一特定标记,用户可以发出外部指令,将第一特定标记转移至标记后的目标中位于其他排序位的目标,用户也可以发出与屏幕接触的外部指令选择标记后的目标以外的一个目标,例如在屏幕上框选标记后的目标以外的一个目标,以将第一特定标记转移至上述标记后的目标以外的一个目标上。该方法中,第一特定标记指示的是待确认的目标,用户可以控制第一特定标记的转移,意味着用户可以自己选择待确认的目标以及明确目前选中的待确认的目标是哪一个,能够提高用户的用户体验。Optionally, when there are multiple marked targets, the processor may transfer the first specific mark to the corresponding target based on an external instruction, wherein the corresponding target may be one of the marked targets or a marked target on a target other than the following target, such as a target selected by the user with an on-screen touch. Exemplarily, when the marked target is a plurality of targets, among which the target in the first preset sort position has the first specific mark, the user can issue an external instruction to transfer the first specific mark to the marked target Targets located in other sort positions, the user can also issue an external command to contact the screen to select a target other than the target after the mark, such as selecting a target other than the target after the mark on the screen to transfer the first specific mark to On a target other than the marked target above. In this method, the first specific mark indicates the target to be confirmed, and the user can control the transfer of the first specific mark, which means that the user can select the target to be confirmed and specify which target is currently selected to be confirmed. Improve user experience for users.
在一实施例中,相应的目标包括在屏幕上触控选择的目标。在上述实施例中,已阐明过相应的目标包括在屏幕上触控选择的目标的情况。In one embodiment, the corresponding object includes an object selected by touch on the screen. In the above-mentioned embodiments, the case where the corresponding object includes the object selected by touch on the screen has been explained.
可以理解的是,第一预设排序位的目标可以是机选认为用户最可能感兴趣的目标,利用第一特定标记对第一预设排序位的目标进行标 记,可以将第一预设排序位的目标作为用户首要需要待确认的目标。然而,在一些情况下,用户感兴趣的目标可能并不是第一预设排序位的目标,那么使得待确认的目标带有的第一特定标记可以在不同的目标中进行切换,可以更好地提示用户当前待确认的目标是哪一个,同时也复用第一特定标记指示了用户可能最感兴趣的目标,尤其是在用户主动选择了第一预设排序位的目标之外的目标后。It can be understood that the target of the first preset ranking position may be the target that the machine selects to be most likely to be of interest to the user, and the first specific mark is used to mark the target of the first preset ranking position, so that the first preset ranking position The goal of the bit is the goal that the user first needs to be confirmed. However, in some cases, the target that the user is interested in may not be the target of the first preset ranking position, so that the first specific mark of the target to be confirmed can be switched among different targets, which can better The user is prompted which target is currently to be confirmed, and at the same time, the first specific mark is reused to indicate the target that the user may be most interested in, especially after the user actively selects a target other than the target in the first preset ranking position.
需要说明的是,待确认的目标可以采用不同于第一特定标记的标识进行标记,以在任何情况下,都能够明示第一预设排序位的目标,也清楚待确认的目标是哪一个。It should be noted that the target to be confirmed can be marked with an identifier different from the first specific mark, so that in any case, the target of the first preset sort can be clearly indicated, and it is also clear which target to be confirmed is.
在又一实施例中,确认后的目标可以带有第二特定标记,所提及的第二特定标记可以是上述标记方法作出的标记,第二特定标记可以为区别于非第一预设排序位的目标的标记和第一特定标记的标记,例如非第一预设排序位的目标的标记为目标外侧用绿线框住,第一特定标记为目标外侧用红线框住,第二特定标记为在目标区域添加星形标志物。当然,第二特定标记也可以与第一特定标记相同,例如确认后的目标即第一特定标记标记的目标。In yet another embodiment, the confirmed target may have a second specific mark, the second specific mark mentioned may be the mark made by the above-mentioned marking method, and the second specific mark may be different from the non-first preset sorting The mark of the target of the position and the mark of the first specific mark, for example, the mark of the target of the non-first preset sorting position is framed by a green line outside the target, the first specific mark is framed by a red line outside the target, and the second specific mark To add a star marker in the target area. Certainly, the second specific mark may also be the same as the first specific mark, for example, the confirmed target is the target marked by the first specific mark.
在又一实施例中,若当前确认的目标发生丢失且当前确认的目标为位于第一预设排序位的目标,则利用第一特定标记对位于第二预设排序位的目标进行标记。该实施例提供的方法阐述了当前确认的目标发生丢失时,第一特定标记的另一转移规则。示例性的,当前确认的目标可以为正在跟踪拍摄的目标,且当前确认的目标为在对场景图像中的目标进行排序时,位于第一预设排序位的目标,若该目标发生了丢失,则用第一特定标记对原场景图像中位于第二预设排序位的目标进行标记,如利用场景图像中的1、2、3号目标的特征信息对1、2、3号目标进行排序后,由前至后的排列顺序为1号目标、3号目标、2号目标,若1号目标为具有第一特定标记且为当前确认的目标,那么在1号目标发生丢失后,可以利用第一特定标记对3号目标进行标记,即3号目标为重新确认的位于第一预设排序位的目标。如此,可以始终位于第一预设排序位的目标是哪个,也完善了不同场景下跟踪目标发生丢失时第一特定标记的转移办法。In yet another embodiment, if the currently confirmed target is lost and the currently confirmed target is the target at the first preset ranking position, the first specific mark is used to mark the target at the second preset ranking position. The method provided in this embodiment describes another transfer rule of the first specific flag when the currently confirmed target is lost. Exemplarily, the currently confirmed target may be the target being tracked and photographed, and the currently confirmed target is the target at the first preset sort position when sorting the targets in the scene image, if the target is lost, Then use the first specific mark to mark the target located in the second preset sorting position in the original scene image, such as using the feature information of No. 1, 2, and 3 targets in the scene image to sort No. 1, 2, and 3 targets , the sequence from front to back is No. 1 target, No. 3 target, and No. 2 target. If No. 1 target is the target with the first specific mark and is currently confirmed, then after No. 1 target is lost, the No. 1 target can be used A specific mark marks the No. 3 target, that is, the No. 3 target is a reconfirmed target at the first preset sorting position. In this way, it can be determined which target is always in the first preset sorting position, and also improves the transfer method of the first specific mark when the tracking target is lost in different scenarios.
在又一实施例中,基于外部指令和标记后的目标进行目标确认包括:基于外部指令,确定标记后的目标中的一个目标为当前确认的目标。用户可以发出与屏幕非接触的外部指令或与屏幕接触的外部指令在标记后的目标中选择一个目标为最后确认用于目标跟踪的目标。示例性的,在手持云台的应用场景中进行目标确认时,在根据目标的特征信息为用户推选并标记出至少一个目标后,用户可以通过发出诸如按键指令的方式在标记后的目标中选择一个目标作为当前确认的目标。可以理解的是,从标记后的目标中选择出一个用于跟踪的当前确认的目标,使得目标确认流程更加智能,同时,在一些情况下,可以解放用户的双手,即不用离开手指当前可操作的区域进行目标确认,为用户带来一定的便捷性。In yet another embodiment, performing target confirmation based on the external instruction and the marked target includes: determining one of the marked targets as the currently confirmed target based on the external command. The user can issue an external command not in contact with the screen or an external command in contact with the screen to select a target among the marked targets as the final confirmed target for target tracking. Exemplarily, when target confirmation is performed in the application scenario of a handheld pan/tilt, after selecting and marking at least one target for the user according to the feature information of the target, the user can select among the marked targets by issuing key instructions such as A target as the currently confirmed target. It is understandable that selecting a currently confirmed target for tracking from the marked targets makes the target confirmation process more intelligent. At the same time, in some cases, the user's hands can be freed, that is, the user can operate without leaving the finger The target area can be confirmed, which brings a certain degree of convenience to the user.
在又一实施例中,基于外部指令和标记后的目标进行目标确认包括:基于外部指令,确定标记后的目标以外的一个目标为当前确认的目标。用户可以发出与屏幕接触的外部指令在屏幕上触控选择出标记后的目标以外的一个目标作为当前确认的目标。示例性的,在手持云台的应用场景中进行目标确认时,在根据目标的特征信息为用户推选并标记出至少一个目标后,用户可以通过在屏幕上框选目标的方式选择出另一目标,并将该目标作为当前确认的目标。应该可以理解的是,该目标确认方法应用于为用户推选并标记的目标并非用户真正感兴趣的目标时,用户在此基础上可以选择场景图像中自己真正感兴趣的目标作为跟踪的目标。该方法一定程度上可以修正智能推选算法带来的些许偏差,能够允许用户更精准地进行目标确认。In yet another embodiment, performing target confirmation based on the external instruction and the marked target includes: determining a target other than the marked target as the currently confirmed target based on the external command. The user can issue an external command to touch the screen and touch on the screen to select a target other than the marked target as the currently confirmed target. Exemplarily, when performing target confirmation in the application scenario of the handheld pan/tilt, after selecting and marking at least one target for the user according to the characteristic information of the target, the user can select another target by frame-selecting the target on the screen , and make that target the current confirmed target. It should be understood that when the target confirmation method is applied to the target selected and marked for the user is not the target that the user is really interested in, the user can select the target that the user is really interested in in the scene image as the target to track. To a certain extent, this method can correct some deviations caused by the intelligent selection algorithm, and can allow users to confirm targets more accurately.
在又一实施例中,若当前确认的目标发生丢失,则确定标记后的目标中的一个目标为当前重新确认的目标。示例性的,若当前确认的目标为标记后的目标中的一个目标,且当该目标发生丢失时,可以获取此时的场景图像中的目标(由于该目标丢失,此时的场景图像和确认该目标时的场景图像并不相同),并根据目标的特征信息对此时的场景图像目标进行排序,并将此时位于第一预设排序位的目标进行推选、标记并确定为当前重新确认的目标,而后转为对当前重新确定的目标进行目标跟踪。或者,示例性的,当前确认的目标为标记后的目 标以外的一个目标,且当该目标发生丢失时,同样可以获取此时场景图像中的目标,并根据目标的特征信息对此时的目标进行排序,并将此时位于第一预设排序位的目标进行推选、标记并确定为当前重新确认的目标。该实施例提供的方法为用户提供了当所跟踪的目标发生了丢失的情况时的做法,使得用户在目标发生丢失的情况下不必重新再次进行目标确认的流程,为用户带来了一定的便捷性,提高了用户体验。In yet another embodiment, if the currently confirmed target is lost, it is determined that one of the marked targets is the currently reconfirmed target. Exemplarily, if the currently confirmed target is one of the marked targets, and when the target is lost, the target in the scene image at this time can be acquired (because the target is lost, the scene image at this time and the confirmed The scene image at the time of the target is not the same), and the scene image target at this time is sorted according to the feature information of the target, and the target at the first preset sorting position is selected, marked and determined as the current reconfirmation , and then switch to target tracking on the currently redefined target. Or, for example, the currently confirmed target is a target other than the marked target, and when the target is lost, the target in the scene image at this time can also be obtained, and the target at this time can be determined according to the characteristic information of the target Sorting is performed, and the target at the first preset sorting position at this time is selected, marked and determined as the current reconfirmed target. The method provided in this embodiment provides the user with a method when the tracked target is lost, so that the user does not need to go through the process of confirming the target again when the target is lost, which brings certain convenience to the user , improving the user experience.
在又一实施例中,若当前确认的目标被找回后,则由标记后的目标中的一个目标切换回当前确认的目标。即丢失的目标被找回后,则将跟踪的对象切换回被找回的丢失的目标。例如,目标H为当前确认的跟踪拍摄的目标,当目标H发生丢失的情况,则跟踪对象切换为在此时的场景图像中推选并标记出的目标I,若目标H在此时的场景图像中被找回,则跟踪对象由目标I切换回目标H。可以理解的是,目标被找回的流程是基于目标丢失的流程的下一步完善,通常情况下,在用户未手动中止目标跟踪流程时,丢失的目标往往是用户最感兴趣的目标,该目标丢失后又出现在场景图像中,用户很有可能会希望能够继续跟踪该被找回的目标,该实施例提供的方法解决了用户需要手动将被找回的目标重新确定为跟踪目标所带来的不便捷的问题。In yet another embodiment, if the currently confirmed target is retrieved, one of the marked targets is switched back to the currently confirmed target. That is, after the lost target is recovered, the tracked object is switched back to the recovered lost target. For example, the target H is the currently confirmed target for tracking and shooting. When the target H is lost, the tracking object will be switched to the target I selected and marked in the current scene image. If the target H is in the current scene image is retrieved, the tracking object is switched from target I to target H. It can be understood that the process of recovering the target is based on the next improvement of the process of losing the target. Usually, when the user does not manually stop the target tracking process, the lost target is often the target that the user is most interested in. This target If it appears in the scene image after being lost, the user will probably want to continue to track the retrieved object. The method provided by this embodiment solves the problem that the user needs to manually re-determine the retrieved object as the tracking object. inconvenient problem.
上面对本发明实施例中的目标确认方法进行了说明,下面对本发明实施例中的目标确认装置进行说明:The target confirmation method in the embodiment of the present invention has been described above, and the target confirmation device in the embodiment of the present invention will be described below:
图3为本申请一实施例提供的目标确认装置的结构示意图,如图3所示,该目标确认装置30可以包括:存储器31、处理器32和屏幕33。FIG. 3 is a schematic structural diagram of a target confirmation device provided by an embodiment of the present application. As shown in FIG. 3 , the target confirmation device 30 may include: a memory 31 , a processor 32 and a screen 33 .
屏幕33,用于显示场景图像以及标记后的目标;A screen 33 for displaying scene images and marked targets;
存储器31,用于存储能够在处理器32上运行的计算机程序; Memory 31, used to store computer programs that can run on the processor 32;
处理器32,用于在运行计算机程序时,用于执行以下操作:The processor 32 is configured to perform the following operations when running the computer program:
获取推选目标,其中,推选目标为根据场景图像中第一目标的特征信息确定;Acquiring the recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
对推选目标进行标记,得到标记后的目标;Mark the selected target to obtain the marked target;
获取外部指令,并基于外部指令和标记后的目标进行目标确认, 外部指令用于对场景图像中的第二目标进行选择;acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, where the external instruction is used to select a second target in the scene image;
利用确认后的目标进行目标跟踪,以使得确认后的目标保持在屏幕的预定范围内,屏幕用于显示场景图像和标记后的目标。The confirmed target is used for target tracking, so that the confirmed target remains within a predetermined range of the screen, and the screen is used to display the scene image and the marked target.
本实施例提供的目标确认装置,可以用于执行前述所有方法实施例的技术方案,其实现原理与技术效果与方法实施例类似,在此不再赘述。The target confirmation device provided in this embodiment can be used to implement the technical solutions of all the above-mentioned method embodiments, and its implementation principle and technical effect are similar to those of the method embodiments, and will not be repeated here.
另外,本申请实施例还提供一种如图4所示的手持系统40,包括手持装置41、存储器42、处理器43以及屏幕44,存储器42与处理器43设于手持装置41,屏幕44与手持装置41通信连接;In addition, the embodiment of the present application also provides a handheld system 40 as shown in FIG. 4, including a handheld device 41, a memory 42, a processor 43, and a screen 44. Handheld device 41 communication connection;
手持装置41包括手持部件,手持部件用于供用户握持;The hand-held device 41 includes a hand-held part, and the hand-held part is used for being held by the user;
存储器42,用于存储能够在处理器43上运行的计算机程序; Memory 42, used for storing the computer program that can run on processor 43;
处理器43,用于在运行计算机程序时,执行以下操作:The processor 43 is configured to perform the following operations when running the computer program:
获取推选目标,其中,推选目标为根据场景图像中第一目标的特征信息确定;Acquiring the recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
对推选目标进行标记,得到标记后的目标;Mark the selected target to obtain the marked target;
获取外部指令,并基于外部指令和标记后的目标进行目标确认,外部指令用于对场景图像中的第二目标进行选择;Obtaining an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
利用确认后的目标进行目标跟踪,以使得确认后的目标保持在屏幕的预定范围内;Use the confirmed target to track the target so that the confirmed target remains within the predetermined range of the screen;
屏幕,用于显示所述场景图像和所述标记后的目标。a screen for displaying the scene image and the marked target.
本实施例提供的手持系统,可以用于执行前述所有方法实施例的技术方案,其实现原理与技术效果与方法实施例类似,在此不再赘述。可选的,屏幕与手持装置可拆卸连接,示例性的,当手持系统为手机增稳器时,当手机增稳器在工作时,一般情况下手机会固定在手机增稳器上起到屏幕的作用,但如果有来电或是用户需要触屏控制手机时,用户也可以将手机拆卸下来使用。The handheld system provided in this embodiment can be used to implement the technical solutions of all the above-mentioned method embodiments, and its implementation principle and technical effect are similar to those of the method embodiments, and will not be repeated here. Optionally, the screen is detachably connected to the handheld device. Exemplarily, when the handheld system is a mobile phone stabilizer, when the mobile phone stabilizer is working, the mobile phone will generally be fixed on the mobile phone stabilizer to play the role of the screen. However, if there is an incoming call or the user needs to touch the screen to control the mobile phone, the user can also disassemble the mobile phone and use it.
在一实施例中,手持装置包括手持云台、控制设备中的一种;其中,所述控制设备用于控制可移动平台。可以理解的是,手持装置的形态可以是多样的,例如手持装置可以是手持云台(手持云台可以包 括手机增稳云台、相机增稳云台)也可以是可移动平台(如无人机、无人车、无人船)的控制设备,例如控制可移动平台的遥控器或者是装有控制可移动平台的软件的手机。前文提及的目标确认方法均可应用于带有上述手持装置的手持系统,并带来相应的有益效果。In an embodiment, the handheld device includes one of a handheld pan-tilt and a control device; wherein the control device is used to control a movable platform. It can be understood that the form of the handheld device can be various, for example, the handheld device can be a hand-held pan-tilt (hand-held pan-tilt can include a mobile phone stabilized pan-tilt, a camera-stabilized pan-tilt) or a mobile platform (such as an unmanned platform) machine, unmanned vehicle, unmanned ship), such as a remote control to control a movable platform or a mobile phone equipped with software to control a movable platform. The target confirmation methods mentioned above can all be applied to the handheld system with the above-mentioned handheld device, and bring corresponding beneficial effects.
在又一实施例中,手持系统还包括图像采集装置,图像采集装置安装于手持装置或与手持装置远程通信连接;图像采集装置用于采集场景图像。In yet another embodiment, the handheld system further includes an image acquisition device, which is installed on the handheld device or remotely communicated with the handheld device; the image acquisition device is used to acquire scene images.
本实施例提供的手持装置的手持部件用于供用户在操作手持系统时进行握持,在手持系统工作的过程中,手持部件可以是与图像采集设备为一体的,也可以是与图像采集设备呈物理意义上分离的状态。The hand-held part of the handheld device provided in this embodiment is used for the user to hold when operating the hand-held system. During the operation of the hand-held system, the hand-held part can be integrated with the image acquisition device, or can be integrated with the image acquisition device are physically separated.
示例性的,手持系统在工作时,图像采集设备和手持部件是物理上为一体的状态,例如相机增稳器、手机增稳器以及相机与增稳器合为一体的电子设备,当其工作时,用户可以获得上述电子设备推选并标记的用户可能感兴趣的目标,用户发出外部指令确认感兴趣的目标,处理器将确认后的目标用于目标跟踪。Exemplarily, when the handheld system is working, the image acquisition device and the handheld component are physically integrated, such as a camera stabilizer, a mobile phone stabilizer, and an electronic device in which the camera and the stabilizer are integrated. At this time, the user can obtain the target that the user may be interested in selected and marked by the above-mentioned electronic device, the user sends an external instruction to confirm the target of interest, and the processor uses the confirmed target for target tracking.
或者,示例性的,手持系统为一无人飞行器或无人车、无人船等可移动平台搭配控制设备的系统。手持系统在工作时,图像采集装置和控制设备是物理意义上分离的状态,用户可以拿持手持装置对可移动平台进行控制,手持装置的形态可以是多样性的,例如和上述无人车、无人船匹配的遥控器或和上述无人车、无人船匹配的装有控制软件的手机。示例性的,手持系统为搭载图像采集装置的无人机和其配套的遥控器组成的系统,该系统在工作时,图像采集装置和遥控器为分离的状态,上文提及的目标确认方法均可应用于该系统。Or, exemplary, the handheld system is a system in which a mobile platform such as an unmanned aerial vehicle, an unmanned vehicle, or an unmanned ship is matched with a control device. When the handheld system is working, the image acquisition device and the control device are physically separated. The user can hold the handheld device to control the movable platform. The shape of the handheld device can be diverse, such as the above-mentioned unmanned vehicle, The remote controller matched with the unmanned ship or the mobile phone equipped with control software matched with the above-mentioned unmanned vehicle and unmanned ship. Exemplarily, the handheld system is a system composed of a drone equipped with an image acquisition device and its supporting remote control. When the system is working, the image acquisition device and the remote control are separated. The target confirmation method mentioned above can be applied to this system.
需要说明的是,本申请还提供一种计算机程序,当计算机程序被计算机装置执行时,可以用于实现上述任意一项方法。计算机装置可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。计算机装置可包括但不仅限于处理器、存储器。本领域技术人员可以理解,处理器、存储器仅仅是计算机装置的示例,并不构成对计算机装置的限定,可以包括更多或更少的部件,或者组合某些部件,或者不同的部件,例如计算机装置还可以包括输入输出设备、网络接入设备、 总线等。It should be noted that the present application also provides a computer program, which can be used to implement any one of the above methods when the computer program is executed by a computer device. The computer device may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server. A computer device may include, but is not limited to, a processor, memory. Those skilled in the art can understand that the processor and memory are just examples of computer devices, and do not constitute a limitation to computer devices, and may include more or less components, or combine certain components, or different components, such as computer The device may also include input and output devices, network access devices, buses, and so on.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

Claims (62)

  1. 一种目标确认方法,其特征在于,包括:A target confirmation method, characterized in that, comprising:
    获取推选目标,其中,所述推选目标为根据场景图像中第一目标的特征信息确定;Acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
    对所述推选目标进行标记,得到标记后的目标;Marking the selected target to obtain the marked target;
    获取外部指令,并基于所述外部指令和所述标记后的目标进行目标确认,所述外部指令用于对所述场景图像中的第二目标进行选择;Acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
    利用确认后的目标进行目标跟踪,以使得所述确认后的目标保持在屏幕的预定范围内,所述屏幕用于显示所述场景图像和所述标记后的目标。The confirmed target is used for target tracking, so that the confirmed target remains within a predetermined range of a screen for displaying the scene image and the marked target.
  2. 根据权利要求1所述的方法,其特征在于,所述外部指令包括:与屏幕接触的指令和/或与所述屏幕非接触的指令。The method according to claim 1, wherein the external instruction comprises: an instruction of contact with the screen and/or an instruction of non-contact with the screen.
  3. 根据权利要求2所述的方法,其特征在于,所述与所述屏幕非接触的指令包括声音指令、姿态指令、基于操作件的指令中的一种,所述操作件与所述屏幕分离设置。The method according to claim 2, wherein the non-contact instructions with the screen include one of voice instructions, gesture instructions, and instructions based on operating elements, and the operating elements are arranged separately from the screen. .
  4. 根据权利要求3所述的方法,其特征在于,所述方法应用于能够双手持的电子设备,在双手持所述电子设备时,发出所述操作件指令的操作件位于所述电子设备上用户的手指能够操作的区域,所述屏幕位于所述电子设备上用户的手指不能够操作的区域。The method according to claim 3, characterized in that the method is applied to an electronic device that can be held by both hands, and when the electronic device is held by both hands, the operating member that issues the operating member instruction is located on the electronic device. The area where the fingers of the user can operate, and the screen is located on the electronic device where the user's fingers cannot be operated.
  5. 根据权利要求1所述的方法,其特征在于,所述目标的特征信息包括所述目标的景深、所述目标的大小、在所述屏幕上所述目标距离所述场景图像的预设位置的距离、所述目标的类别中的至少一种。The method according to claim 1, wherein the feature information of the target includes the depth of field of the target, the size of the target, and the distance between the target and the preset position of the scene image on the screen. At least one of distance and category of the target.
  6. 根据权利要求1至5中任意一项所述的方法,其特征在于,所述推选目标为一个,所述推选目标为多个所述目标中位于第一预设排序位的目标,用于标记所述位于第一预设排序位的目标的标识为第一特定标记,多个所述目标的排序是根据所述目标的特征信息确定的。The method according to any one of claims 1 to 5, characterized in that there is one selected target, and the selected target is a target located in the first preset sorting position among a plurality of targets, which is used for marking The identifier of the object at the first preset ranking position is a first specific mark, and the ranking of the multiple objects is determined according to the feature information of the objects.
  7. 根据权利要求1至5中任意一项所述的方法,其特征在于,所述推选目标为多个,所述对所述推选目标进行标记,得到标记后的目标,包括:The method according to any one of claims 1 to 5, wherein there are multiple selected targets, and marking the selected targets to obtain marked targets includes:
    对至少两个所述推选目标进行标记,得到标记后的目标,其中, 位于第一预设排序位的目标的标记方法与位于非第一预设排序位的目标的标记方法不同,用于标记所述位于第一预设排序位的目标的标识为第一特定标记,多个所述目标的排序是根据所述目标的特征信息确定的。Mark at least two of the selected targets to obtain marked targets, wherein the marking method of the target at the first preset ranking position is different from the marking method of the target at the non-first preset ranking position, and is used for marking The identifier of the object at the first preset ranking position is a first specific mark, and the ranking of the multiple objects is determined according to the feature information of the objects.
  8. 根据权利要求7所述的方法,其特征在于,在所述对至少两个所述推选目标进行标记,得到标记后的目标之后,所述方法还包括:The method according to claim 7, characterized in that, after marking at least two of the selected targets and obtaining the marked targets, the method further comprises:
    提示用户能够采用与所述屏幕接触的指令进行目标确认。Prompting the user to enable target confirmation with an instruction to touch the screen.
  9. 根据权利要求6或7所述的方法,其特征在于,所述位于第一预设排序位的目标的第一特定标记能够转移到位于非第一预设排序位的目标上,其中,所述第一特定标记对应的目标为待确认的目标。The method according to claim 6 or 7, characterized in that the first specific mark of the object located in the first preset sort position can be transferred to the target located in the non-first preset sort position, wherein the The target corresponding to the first specific mark is the target to be confirmed.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, characterized in that the method further comprises:
    基于所述外部指令,转移所述第一特定标记至相应的目标。Transferring the first specific token to a corresponding target based on the external instruction.
  11. 根据权利要求10所述的方法,其特征在于,所述相应的目标包括在屏幕上触控选择的目标。The method according to claim 10, wherein the corresponding object comprises an object selected by touch on the screen.
  12. 根据权利要求6至11中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6 to 11, further comprising:
    若当前确认的目标发生丢失且所述当前确认的目标为所述位于第一预设排序位的目标,则利用所述第一特定标记对位于第二预设排序位的目标进行标记。If the currently confirmed target is lost and the currently confirmed target is the target at the first preset ranking position, the first specific mark is used to mark the target at the second preset ranking position.
  13. 根据权利要求1所述的方法,其特征在于,所述基于所述外部指令和所述标记后的目标进行目标确认,包括:The method according to claim 1, wherein the target confirmation based on the external instruction and the marked target comprises:
    基于所述外部指令,确定所述标记后的目标中的一个目标为当前确认的目标。Based on the external instruction, it is determined that one of the marked targets is the currently confirmed target.
  14. 根据权利要求1所述的方法,其特征在于,所述基于所述外部指令和所述标记后的目标进行目标确认,包括:The method according to claim 1, wherein the target confirmation based on the external instruction and the marked target comprises:
    基于所述外部指令,确定所述标记后的目标以外的一个目标为当前确认的目标。Based on the external instruction, it is determined that a target other than the marked target is the currently confirmed target.
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:The method according to claim 13 or 14, wherein the method further comprises:
    若所述当前确认的目标发生丢失,则确定所述标记后的目标中的 一个目标为当前重新确认的目标。If the currently confirmed target is lost, it is determined that one of the marked targets is the currently reconfirmed target.
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    若所述当前确认的目标找回,则由所述标记后的目标中的一个目标切换回所述当前确认的目标。If the currently confirmed target is retrieved, one of the marked targets is switched back to the currently confirmed target.
  17. 根据权利要求13或14所述的方法,其特征在于,所述确认后的目标具有第二特定标记。The method according to claim 13 or 14, characterized in that the confirmed target has a second specific mark.
  18. 根据权利要求1所述的方法,其特征在于,对所述推选目标进行标记的标记方法包括:线条标记法、目标区域标记法中的至少一种。The method according to claim 1, wherein the marking method for marking the proposed target comprises: at least one of a line marking method and a target area marking method.
  19. 根据权利要求18所述的方法,其特征在于,所述线条标记法中的线条形态包括直线、曲线中的至少一种;The method according to claim 18, characterized in that, the shape of the line in the line marking method includes at least one of a straight line and a curve;
    所述目标区域标记法包括圈定目标区域、调整目标区域的亮度变化中的至少一种。The method for marking the target area includes at least one of delineating the target area and adjusting brightness changes of the target area.
  20. 一种目标确认装置,其特征在于,所述装置包括:存储器、处理器、屏幕;A target confirmation device, characterized in that the device includes: a memory, a processor, and a screen;
    所述存储器,用于存储能够在所述处理器上运行的计算机程序;said memory for storing a computer program capable of running on said processor;
    所述处理器,用于在运行所述计算机程序时,执行以下操作:The processor is configured to perform the following operations when running the computer program:
    获取推选目标,其中,所述推选目标为根据场景图像中第一目标的特征信息确定;Acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
    对所述推选目标进行标记,得到标记后的目标;Marking the selected target to obtain the marked target;
    获取外部指令,并基于所述外部指令和所述标记后的目标进行目标确认,所述外部指令用于对所述场景图像中的第二目标进行选择;Acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
    利用确认后的目标进行目标跟踪,以使得所述确认后的目标保持在屏幕的预定范围内;performing target tracking by using the confirmed target, so that the confirmed target remains within a predetermined range of the screen;
    所述屏幕,用于显示所述场景图像和所述标记后的目标。The screen is used to display the scene image and the marked target.
  21. 根据权利要求20所述的装置,其特征在于,所述外部指令包括:与所述屏幕接触的指令和/或与所述屏幕非接触的指令。The device according to claim 20, wherein the external instruction comprises: an instruction of contacting the screen and/or an instruction of non-contacting the screen.
  22. 根据权利要求21所述的装置,其特征在于,所述与所述屏幕非接触的指令包括声音指令、姿态指令、基于操作件指令中的一种,所述操作件与所述屏幕分离设置。The device according to claim 21, wherein the non-contact instruction includes one of a voice instruction, a gesture instruction, and an instruction based on an operating element, and the operating element is provided separately from the screen.
  23. 根据权利要求22所述的装置,其特征在于,所述装置应用于能够双手持的电子设备,在双手持所述电子设备时,发出所述操作件指令的操作件位于所述电子设备上用户的手指能够操作的区域,所述屏幕位于所述电子设备上用户的手指不能够操作的区域,所述装置是所述电子设备的一部分。The device according to claim 22, characterized in that the device is applied to an electronic device that can be held by both hands, and when the electronic device is held by both hands, the operating part that issues the instruction of the operating part is located on the electronic device. The area where the fingers of the user can operate, the screen is located on the electronic device where the user's fingers cannot be operated, and the device is a part of the electronic device.
  24. 根据权利要求20所述的装置,其特征在于,所述目标的特征信息包括所述目标的景深、所述目标的大小、所述目标距离所述场景图像的预设位置的距离、所述目标的类别中的至少一种。The device according to claim 20, wherein the characteristic information of the target includes the depth of field of the target, the size of the target, the distance between the target and the preset position of the scene image, the target at least one of the categories.
  25. 根据权利要求20至24中任意一项所述的装置,其特征在于,所述推选目标为一个,所述推选目标为多个所述目标中位于第一预设排序位的目标,用于标记所述位于第一预设排序位的目标的标识为第一特定标记,多个所述目标的排序是根据所述目标的特征信息确定的。The device according to any one of claims 20 to 24, characterized in that there is one selected target, and the selected target is a target in the first preset ranking position among multiple targets, which is used for marking The identifier of the object at the first preset ranking position is a first specific mark, and the ranking of the multiple objects is determined according to the feature information of the objects.
  26. 根据权利要求20至24中任意一项所述的装置,其特征在于,所述推选目标为多个,所述处理器用于对所述推选目标进行标记,得到标记后的目标,具体包括:The device according to any one of claims 20 to 24, wherein there are multiple selected targets, and the processor is used to mark the selected targets to obtain marked targets, specifically comprising:
    对至少两个所述推选目标进行标记,得到标记后的目标,其中,位于第一预设排序位的目标的标记方法与位于非第一预设排序位的目标的标记方法不同,用于标记所述位于第一预设排序位的目标的标识为第一特定标记,多个所述目标的排序是根据所述目标的特征信息确定的。Mark at least two of the selected targets to obtain the marked targets, wherein the marking method of the target at the first preset ranking position is different from the marking method of the target at the non-first preset ranking position, and is used for marking The identifier of the object at the first preset ranking position is a first specific mark, and the ranking of the multiple objects is determined according to the feature information of the objects.
  27. 根据权利要求26所述的装置,其特征在于,在所述处理器用于对至少两个所述推选目标进行标记,得到标记后的目标之后,所述处理器还用于:The device according to claim 26, wherein, after the processor is configured to mark at least two of the selected targets, and after obtaining the marked targets, the processor is further configured to:
    提示用户能够采用与所述屏幕接触的指令进行目标确认。Prompting the user to enable target confirmation with an instruction to touch the screen.
  28. 根据权利要求25或26所述的装置,其特征在于,所述位于第一预设排序位的目标的第一特定标记能够转移到位于非第一预设排序位的目标上,其中,所述第一特定标记对应的目标为待确认的目标。The device according to claim 25 or 26, wherein the first specific mark of the object located in the first preset sort position can be transferred to the target located in the non-first preset sort position, wherein the The target corresponding to the first specific mark is the target to be confirmed.
  29. 根据权利要求28所述的装置,其特征在于,所述处理器还用于:The device according to claim 28, wherein the processor is further configured to:
    基于所述外部指令,转移所述第一特定标记至相应的目标。Transferring the first specific token to a corresponding target based on the external instruction.
  30. 根据权利要求29所述的装置,其特征在于,所述相应的目标包括在所述屏幕上触控选择的目标。The apparatus according to claim 29, wherein the corresponding object comprises an object selected by touch on the screen.
  31. 根据权利要求25至30中任意一项所述的装置,其特征在于,所述处理器还用于:The device according to any one of claims 25 to 30, wherein the processor is further configured to:
    若当前确认的目标发生丢失且所述当前确认的目标为所述位于第一预设排序位的目标,则利用所述第一特定标记对位于第二预设排序位的目标进行标记。If the currently confirmed target is lost and the currently confirmed target is the target at the first preset ranking position, the first specific mark is used to mark the target at the second preset ranking position.
  32. 根据权利要求20所述的装置,其特征在于,所述处理器用于基于所述外部指令和所述标记后的目标进行目标确认,具体包括:The device according to claim 20, wherein the processor is configured to perform target confirmation based on the external instruction and the marked target, specifically comprising:
    基于所述外部指令,确定所述标记后的目标中的一个目标为当前确认的目标。Based on the external instruction, it is determined that one of the marked targets is the currently confirmed target.
  33. 根据权利要求20所述的装置,其特征在于,所述处理器用于基于所述外部指令和所述标记后的目标进行目标确认,具体包括:The device according to claim 20, wherein the processor is configured to perform target confirmation based on the external instruction and the marked target, specifically comprising:
    基于所述外部指令,确定所述标记后的目标以外的一个目标为当前确认的目标。Based on the external instruction, it is determined that a target other than the marked target is the currently confirmed target.
  34. 根据权利要求32或33所述的装置,其特征在于,所述处理器还用于:The device according to claim 32 or 33, wherein the processor is further configured to:
    若所述当前确认的目标发生丢失,则确定所述标记后的目标中的一个目标为当前重新确认的目标。If the currently confirmed target is lost, it is determined that one of the marked targets is the currently reconfirmed target.
  35. 根据权利要求34所述的装置,其特征在于,所述处理器还用于:The device according to claim 34, wherein the processor is further configured to:
    若所述当前确认的目标找回,则由所述标记后的目标中的一个目标切换回所述当前确认的目标。If the currently confirmed target is retrieved, one of the marked targets is switched back to the currently confirmed target.
  36. 根据权利要求32或33所述的装置,其特征在于,所述确认后的目标具有第二特定标记。The device according to claim 32 or 33, wherein the confirmed object has a second specific mark.
  37. 根据权利要求20所述的装置,其特征在于,对所述推选目标进行标记的标记方法包括:线条标记法、目标区域标记法中的至少一种。The device according to claim 20, wherein the marking method for marking the proposed target comprises: at least one of a line marking method and a target area marking method.
  38. 根据权利要求37所述的装置,其特征在于,所述线条标记法中的线条形态包括直线、曲线中的至少一种;The device according to claim 37, wherein the shape of the line in the line notation method includes at least one of a straight line and a curve;
    所述目标区域标记法包括目标区域的亮度变化、目标区域添加标记物中的至少一种。The method of marking the target area includes at least one of brightness change of the target area and adding markers to the target area.
  39. 一种手持系统,其特征在于,包括:手持装置、存储器、处理器、屏幕,所述存储器与所述处理器设于所述手持装置,所述屏幕与所述手持装置通信连接;A handheld system, characterized in that it includes: a handheld device, a memory, a processor, and a screen, the memory and the processor are set on the handheld device, and the screen is connected in communication with the handheld device;
    所述手持装置包括手持部件,所述手持部件用于供用户握持;The hand-held device includes a hand-held part for being held by a user;
    所述存储器,用于存储能够在所述处理器上运行的计算机程序;said memory for storing a computer program capable of running on said processor;
    所述处理器,用于在运行所述计算机程序时,执行以下操作:The processor is configured to perform the following operations when running the computer program:
    获取推选目标,其中,所述推选目标为根据场景图像中第一目标的特征信息确定;Acquiring a recommended target, wherein the selected target is determined according to the feature information of the first target in the scene image;
    对所述推选目标进行标记,得到标记后的目标;Marking the selected target to obtain the marked target;
    获取外部指令,并基于所述外部指令和所述标记后的目标进行目标确认,所述外部指令用于对所述场景图像中的第二目标进行选择;Acquiring an external instruction, and performing target confirmation based on the external instruction and the marked target, the external instruction is used to select a second target in the scene image;
    利用确认后的目标进行目标跟踪,以使得所述确认后的目标保持在屏幕的预定范围内;performing target tracking by using the confirmed target, so that the confirmed target remains within a predetermined range of the screen;
    所述屏幕,用于显示所述场景图像和所述标记后的目标。The screen is used to display the scene image and the marked target.
  40. 根据权利要求39所述的手持系统,其特征在于,所述外部指令包括:与所述屏幕接触的指令和/或与所述屏幕非接触的指令。The handheld system according to claim 39, wherein the external instruction includes: an instruction of contact with the screen and/or an instruction of non-contact with the screen.
  41. 根据权利要求40所述的手持系统,其特征在于,所述与所述屏幕非接触的指令包括声音指令、姿态指令、基于操作件指令中的一种,所述操作件与所述屏幕分离设置。The handheld system according to claim 40, wherein the non-contact instructions with the screen include one of voice instructions, gesture instructions, and instructions based on operating elements, and the operating elements are arranged separately from the screen. .
  42. 根据权利要求41所述的手持系统,其特征在于,在双手持所述手持装置时,发出所述操作件指令的操作件位于所述手持装置上用户的手指能够操作的区域,所述屏幕位于所述手持装置上用户的手指不能够操作的区域。The handheld system according to claim 41, characterized in that, when the handheld device is held in both hands, the operating part that issues the operating part command is located on the handheld device where the user's fingers can be operated, and the screen is located at An area of the hand-held device that cannot be manipulated by the user's fingers.
  43. 根据权利要求39所述的手持系统,其特征在于,所述目标的特征信息包括所述目标的景深、所述目标的大小、所述目标距离所述场景图像的中心点的距离、所述目标的类别中的至少一种。The handheld system according to claim 39, wherein the feature information of the target includes the depth of field of the target, the size of the target, the distance between the target and the center point of the scene image, the target at least one of the categories.
  44. 根据权利要求39至43中任意一项所述的手持系统,其特征在于,所述推选目标为一个,所述推选目标为多个所述目标中位于第一 预设排序位的目标,多个所述目标的排序是根据所述目标的特征信息确定的。According to the handheld system according to any one of claims 39 to 43, it is characterized in that there is one selected target, and the selected target is a target located in the first preset sorting position among multiple targets, and multiple The sorting of the objects is determined according to the feature information of the objects.
  45. 根据权利要求39至43中任意一项所述的手持系统,其特征在于,所述推选目标为多个,所述处理器用于对所述推选目标进行标记,得到标记后的目标,具体包括:The handheld system according to any one of claims 39 to 43, wherein there are multiple selected targets, and the processor is used to mark the selected targets to obtain marked targets, specifically comprising:
    对至少两个所述推选目标进行标记,得到标记后的目标,其中,位于第一预设排序位的目标的标记方法与位于非第一预设排序位的目标的标记方法不同,多个所述目标的排序是根据所述目标的特征信息确定的。Mark at least two of the selected targets to obtain the marked targets, wherein the marking method of the target at the first preset ranking position is different from the marking method of the target at the non-first preset ranking position, and multiple selected targets The ranking of the objects is determined according to the characteristic information of the objects.
  46. 根据权利要求45所述的手持系统,其特征在于,所述处理器用于对至少两个所述推选目标进行标记,得到标记后的目标之后,所述处理器还用于提示用户能够采用与屏幕接触的指令进行目标确认。The handheld system according to claim 45, wherein the processor is used to mark at least two of the selected targets, and after obtaining the marked targets, the processor is also used to prompt the user to use the The command to contact carries out target confirmation.
  47. 根据权利要求44或45所述的手持系统,其特征在于,所述处理器还用于将所述位于第一预设排序位的目标的第一特定标记转移到位于非第一预设排序位的目标上,其中,所述第一特定标记对应的目标为待确认的目标。The hand-held system according to claim 44 or 45, wherein the processor is further configured to transfer the first specific mark of the object located at the first preset sorting position to a position other than the first preset sorting position. on the target, wherein the target corresponding to the first specific mark is the target to be confirmed.
  48. 根据权利要求47所述的手持系统,其特征在于,所述处理器还用于基于所述外部指令,转移所述第一特定标记至相应的目标。The handheld system according to claim 47, wherein the processor is further configured to transfer the first specific marker to a corresponding target based on the external command.
  49. 根据权利要求48所述的手持系统,其特征在于,所述相应的目标包括在所述屏幕上触控选择的目标。The handheld system of claim 48, wherein said corresponding object comprises an object selected by touch on said screen.
  50. 根据权利要求47至49中任意一项所述的手持系统,其特征在于,所述处理器还用于:The handheld system according to any one of claims 47 to 49, wherein the processor is further used for:
    若当前确认的目标发生丢失且所述当前确认的目标为所述位于第一预设排序位的目标,则利用所述第一特定标记对位于第二预设排序位的目标进行标记。If the currently confirmed target is lost and the currently confirmed target is the target at the first preset ranking position, the first specific mark is used to mark the target at the second preset ranking position.
  51. 根据权利要求39所述的手持系统,其特征在于,所述处理器用于基于所述外部指令和所述标记后的目标进行目标确认,具体包括:The handheld system according to claim 39, wherein the processor is configured to perform target confirmation based on the external instruction and the marked target, specifically comprising:
    基于所述外部指令,确定所述标记后的目标中的一个目标为当前确认的目标。Based on the external instruction, it is determined that one of the marked targets is the currently confirmed target.
  52. 根据权利要求39所述的手持系统,其特征在于,所述处理器 用于基于所述外部指令和所述标记后的目标进行目标确认,具体包括:The handheld system according to claim 39, wherein the processor is configured to perform target confirmation based on the external instruction and the marked target, specifically comprising:
    基于所述外部指令,确定所述标记后的目标以外的一个目标为当前确认的目标。Based on the external instruction, it is determined that a target other than the marked target is the currently confirmed target.
  53. 根据权利要求51或52所述的手持系统,其特征在于,所述处理器还用于:The handheld system according to claim 51 or 52, wherein the processor is also used for:
    若所述当前确认的目标发生丢失,则确定所述标记后的目标中的一个目标为当前重新确认的目标。If the currently confirmed target is lost, it is determined that one of the marked targets is the currently reconfirmed target.
  54. 根据权利要求53所述的手持系统,其特征在于,所述处理器还用于:The handheld system according to claim 53, wherein the processor is further used for:
    若所述当前确认的目标找回,则由所述标记后的目标中的一个目标切换回所述当前确认的目标。If the currently confirmed target is retrieved, one of the marked targets is switched back to the currently confirmed target.
  55. 根据权利要求51或52所述的手持系统,其特征在于,确认后的目标具有第二特定标记。The hand-held system according to claim 51 or 52, characterized in that the identified object has a second specific mark.
  56. 根据权利要求39所述的手持系统,其特征在于,对所述推选目标进行标记的标记方法包括:线条标记法、目标区域标记法中的至少一种。The hand-held system according to claim 39, wherein the marking method for marking the proposed target includes at least one of a line marking method and a target area marking method.
  57. 根据权利要求56所述的手持系统,其特征在于,所述线条标记法中的线条形态包括直线、曲线中的至少一种;The handheld system according to claim 56, characterized in that, the shape of the line in the line notation method includes at least one of a straight line and a curve;
    所述目标区域标记法包括目标区域的亮度变化、目标区域添加标记物中的至少一种。The method of marking the target area includes at least one of brightness change of the target area and adding markers to the target area.
  58. 根据权利要求39所述的手持系统,其特征在于,所述屏幕与所述手持装置可拆卸连接。The handheld system according to claim 39, wherein the screen is detachably connected to the handheld device.
  59. 根据权利要求39所述的手持系统,其特征在于,所述手持装置包括手持云台、控制设备中的一种;The handheld system according to claim 39, wherein the handheld device includes one of a handheld pan-tilt and a control device;
    其中,所述控制设备用于控制可移动平台。Wherein, the control device is used to control the movable platform.
  60. 根据权利要求39所述的手持系统,其特征在于,所述手持系统还包括图像采集装置,所述图像采集装置安装于所述手持装置或与所述手持装置远程通信连接;The handheld system according to claim 39, characterized in that, the handheld system further comprises an image acquisition device, and the image acquisition device is installed on the handheld device or remotely connected with the handheld device;
    所述图像采集装置用于采集所述场景图像。The image acquisition device is used to acquire the scene image.
  61. 一种计算机可读存储介质,其特征在于,所述计算机可读存 储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行权利要求1-19任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, and the at least one piece of code can be executed by a computer to control the computer to perform the claims The method described in any one of 1-19.
  62. 一种计算机程序,其特征在于,当所述计算机程序被计算机装置执行时,用于实现权利要求1-19任一项所述的方法。A computer program, characterized in that, when the computer program is executed by a computer device, it is used to realize the method described in any one of claims 1-19.
PCT/CN2021/117414 2021-09-09 2021-09-09 Target confirmation method and apparatus, and handheld system WO2023035177A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/117414 WO2023035177A1 (en) 2021-09-09 2021-09-09 Target confirmation method and apparatus, and handheld system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/117414 WO2023035177A1 (en) 2021-09-09 2021-09-09 Target confirmation method and apparatus, and handheld system

Publications (1)

Publication Number Publication Date
WO2023035177A1 true WO2023035177A1 (en) 2023-03-16

Family

ID=85507092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117414 WO2023035177A1 (en) 2021-09-09 2021-09-09 Target confirmation method and apparatus, and handheld system

Country Status (1)

Country Link
WO (1) WO2023035177A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150121204A1 (en) * 2013-10-28 2015-04-30 Kobo Incorporated Method and system for a visual indicator a displayed page enablement for guided reading
CN109583347A (en) * 2018-11-22 2019-04-05 华南理工大学 A method of it is tracked for a long time for mobile platform
CN112119427A (en) * 2019-06-28 2020-12-22 深圳市大疆创新科技有限公司 Method, system, readable storage medium and movable platform for object following

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150121204A1 (en) * 2013-10-28 2015-04-30 Kobo Incorporated Method and system for a visual indicator a displayed page enablement for guided reading
CN109583347A (en) * 2018-11-22 2019-04-05 华南理工大学 A method of it is tracked for a long time for mobile platform
CN112119427A (en) * 2019-06-28 2020-12-22 深圳市大疆创新科技有限公司 Method, system, readable storage medium and movable platform for object following

Similar Documents

Publication Publication Date Title
CN110168618B (en) Augmented reality control system and method
CN105027033B (en) Method, device and computer-readable media for selecting Augmented Reality object
EP3345379B1 (en) Method for electronic device to control object and electronic device
EP2924539B1 (en) Display device and operating method thereof using gestures
US9639940B2 (en) Imaging apparatus and methods for generating a guide display showing a photographing technique for approximating a composition of a subject image to that of a sample image
US11170580B2 (en) Information processing device, information processing method, and recording medium
US10564712B2 (en) Information processing device, information processing method, and program
CN105320262A (en) Method and apparatus for operating computer and mobile phone in virtual world and glasses thereof
JP7143847B2 (en) Information processing system, information processing method, and program
WO2021035646A1 (en) Wearable device and control method therefor, gesture recognition method, and control system
CN105518579A (en) Information processing device and information processing method
CN109981944A (en) Electronic device and its control method
WO2022227393A1 (en) Image photographing method and apparatus, electronic device, and computer readable storage medium
JP2014048937A (en) Gesture recognition device, control method thereof, display equipment, and control program
CN111970456B (en) Shooting control method, device, equipment and storage medium
TW202127319A (en) Method of a state recognition, apparatus thereof, electronic device and computer readable storage medium
US10971152B2 (en) Imaging control method and apparatus, control device, and imaging device
CN112153468A (en) Method, computer readable medium and system for synchronizing video playback with user motion
US20230405435A1 (en) Home training service providing method and display device performing same
EP2939411B1 (en) Image capture
WO2017104089A1 (en) Collaborative head-mounted display system, system including display device and head-mounted display, and display device
KR101662740B1 (en) Apparatus and method for inputting korean based on a motion of users fingers
JP6516464B2 (en) Wearable search system
WO2023035177A1 (en) Target confirmation method and apparatus, and handheld system
JP6621165B2 (en) Image display device, image display method, and image display program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21956363

Country of ref document: EP

Kind code of ref document: A1