CN115396590A - Gun and ball linkage equipment control method and device, terminal equipment and storage medium - Google Patents

Gun and ball linkage equipment control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115396590A
CN115396590A CN202210798805.XA CN202210798805A CN115396590A CN 115396590 A CN115396590 A CN 115396590A CN 202210798805 A CN202210798805 A CN 202210798805A CN 115396590 A CN115396590 A CN 115396590A
Authority
CN
China
Prior art keywords
holder
preset
adjusting
pan
tilt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210798805.XA
Other languages
Chinese (zh)
Inventor
蒋茹
隋小波
汤娅楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202210798805.XA priority Critical patent/CN115396590A/en
Publication of CN115396590A publication Critical patent/CN115396590A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The application discloses a control method, a control device, terminal equipment and a storage medium based on gun and ball linkage equipment, wherein the method comprises the following steps: responding to an adjusting instruction of a user, and acquiring a preset point of the adjusting instruction, wherein the preset point comprises a first preset coordinate of a first holder and a second preset coordinate of a second holder; adjusting the first holder and the second holder to a first adjusting position according to a first preset coordinate; and adjusting the second holder to a second adjusting position according to a second preset coordinate. Through the mode, the preset point scheduling of the multi-cloud-platform equipment with the linked structure can be realized.

Description

Gun and ball linkage equipment control method and device, terminal equipment and storage medium
Technical Field
The application relates to the technical field of security monitoring, in particular to a gun and ball linkage device based control method and device, terminal equipment and a storage medium.
Background
The gun and ball linkage equipment adopts advanced image recognition and processing technology, realizes panoramic monitoring of a large scene, simultaneously cooperates with a moving target detection algorithm, sequentially carries out single and continuous close-up tracking and capturing target detail characteristic information on any moving target in a monitoring range, and records the moving track and the process of the whole target through video. The practicality and the efficiency of security protection system have been improved greatly, have solved "seeing in traditional video monitoring effectively, have seen incompletely, see the problem of unclear".
The gun and ball linkage equipment is mainly divided into a global component and a slave component, and in the common gun and ball linkage equipment at present, a gun camera is a master control component, and a ball machine is a slave control component. The main control unit of the novel gun-ball linkage equipment gradually develops towards the ball machine, and a holder assembly is carried, namely the main control unit and the slave control unit are the ball machine. When the main control holder of the novel gun and ball linkage equipment moves horizontally, the driven control holder is driven to move horizontally, and the horizontal angle difference value of the main control holder and the driven control holder is unchanged.
Each road pan-tilt of the ball machine equipment can be provided with a plurality of preset points, and the preset points correspond to a certain PTZ position (P: horizontal coordinate T: vertical coordinate Z: multiplying power) of the road pan-tilt. At a certain moment, the master control cloud platform and the slave control cloud platform are arranged at a first preset point and face to the same direction; and at another moment, the master control holder moves horizontally by a certain angle and is provided with a second preset point, and at this moment, the slave control holder is still at the first preset point and faces the same direction with the first holder, namely, the preset point and the actual position of the slave control holder have the problem of deviation.
Disclosure of Invention
The technical problem that this application mainly solved is to solve between many cloud platform cameras because there is the problem of the deviation of preset point that the structure linkage caused.
In order to solve the technical problem, the application adopts a technical scheme that: a control method based on a gun and ball linkage device is disclosed, wherein the gun and ball linkage device at least comprises a first cloud platform and a second cloud platform, and the second cloud platform moves along with the movement of the first cloud platform; the control method comprises the following steps: responding to an adjusting instruction of a user, and acquiring a preset point of the adjusting instruction, wherein the preset point comprises a first preset coordinate of a first holder and a second preset coordinate of a second holder; adjusting the first holder and the second holder to a first adjusting position according to a first preset coordinate; and adjusting the second holder to a second adjusting position according to a second preset coordinate.
Before the second holder is adjusted to the second adjustment position according to the second preset coordinate, the control method further comprises the steps of obtaining a first current position of the first holder and a second current position of the second holder; and adjusting the first holder from the first current position to the first adjustment position according to the first preset coordinate, and adjusting the second holder from the second current position to the third current position along with the first holder.
And adjusting the second holder to a second adjusting position according to the second preset coordinate, wherein the adjusting of the second holder from the third current position to the second adjusting position according to the second preset coordinate is included.
And the position of the preset point is not overlapped with the current position of the first holder and the current position of the second holder in the horizontal direction.
Wherein, in response to a movement instruction of a user, the first holder and/or the second holder are moved based on the movement instruction; and responding to a saving instruction of a user, and saving the new preset point based on the current position of the first holder and the current position of the second holder.
The method comprises the steps of responding to a saving instruction of a user, saving a new preset point based on the current position of a first holder and the current position of a second holder, and generating a new preset point based on the current position of the first holder and the current position of the second holder; the new preset points and the stored preset points are compared; and deleting the new preset point when the new preset point is completely consistent with any one of the stored preset points.
The panoramic camera is configured on the first holder, and the detail camera is configured on the second holder; the coordinates of the first pan-tilt at least comprise horizontal coordinates and vertical coordinates, and the coordinates of the panoramic camera at least comprise horizontal coordinates, vertical coordinates and multiplying power; the coordinates of the second pan-tilt comprise at least a horizontal coordinate and a vertical coordinate, and the coordinates of the detail camera comprise at least a horizontal coordinate, a vertical coordinate and a multiplying power.
In order to solve the above technical problem, another technical solution adopted by the present application is: a control device based on gun and ball linkage equipment comprises a preset point module, a first adjusting module and a second adjusting module; the system comprises a preset point module, a control module and a control module, wherein the preset point module is used for responding to an adjusting instruction of a user and acquiring a preset point of the adjusting instruction, and the preset point comprises a first preset coordinate of a first holder and a second preset coordinate of a second holder; the first adjusting module is used for adjusting the first holder and the second holder to a first adjusting position according to a first preset coordinate; and the second adjusting module is used for adjusting the second holder to a second adjusting position according to a second preset coordinate.
In order to solve the above technical problem, the present application adopts another technical solution: a terminal device comprising a memory and a processor coupled to the memory; the memory is used for storing program data, and the processor is used for executing the program data to realize the steps of any one of the control methods based on the gun and ball linkage equipment.
In order to solve the above technical problem, the present application adopts another technical solution that: a computer storage medium for storing program data which, when executed by a computer, implement the steps of any one of the gun and ball linkage based control methods as described above.
The beneficial effect of this application is: the application discloses a control method, a control device, terminal equipment and a storage medium based on gun and ball linkage equipment, wherein the method comprises the following steps: responding to an adjusting instruction of a user, and acquiring a preset point of the adjusting instruction, wherein the preset point comprises a first preset coordinate of a first holder and a second preset coordinate of a second holder; adjusting the first holder and the second holder to a first adjusting position according to a first preset coordinate; and adjusting the second holder to a second adjusting position according to a second preset coordinate. By the mode, compared with the problem that the preset points are deviated due to structural linkage between the cradle heads of the gun and ball linkage equipment, the preset points of the multi-cradle head equipment with structural linkage are scheduled by enabling the multi-path cradle head position information to correspond to the single preset points one by one.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic illustration of a gun and ball linkage used in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating deviation of preset points of a gun and ball linkage device according to an embodiment of the present disclosure;
FIG. 3 is a step diagram of a control method of a gun and ball linkage device provided in an embodiment of the present application;
fig. 4 is a diagram illustrating steps of a control method before a gun and ball linkage device adjusts a second pan head to a second adjustment position according to an embodiment of the present disclosure;
fig. 5 is a step diagram of a control method for adjusting the second pan/tilt to the second adjustment position by the gun and ball linkage device according to the embodiment of the present application;
FIG. 6 is a diagram illustrating steps in a method for maintaining preset points for a gun and ball linkage device in accordance with an embodiment of the present disclosure;
FIG. 7 is a schematic view of a control interface for storing preset points for a gun and ball linkage device provided in an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a control device for a gun and ball linkage provided in accordance with an embodiment of the present application;
FIG. 9 is a schematic view of a control interface for adjusting preset points of a gun and ball linkage device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present application, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope claimed in the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
It should be noted that the embodiments of the present application may be combined without conflict with each other.
The first aspect of the application provides a control method based on a gun and ball linkage device, which comprises the steps of responding to an adjusting instruction of a user, and obtaining a preset point of the adjusting instruction, wherein the preset point comprises a first preset coordinate of a first cloud deck and a second preset coordinate of a second cloud deck; adjusting the first holder and the second holder to a first adjusting position according to a first preset coordinate; and adjusting the second cloud platform to a second adjusting position according to the second preset coordinate, so that the preset point setting and the preset point scheduling of the multi-cloud platform equipment with structural linkage are realized.
Referring to fig. 1, fig. 1 is a schematic view of a gun and ball linkage device used in an embodiment of the present application, where the gun and ball linkage device has two types of pan heads, a panoramic camera is configured on a first pan head, and a detail camera is configured on a second pan head; the coordinates of the first holder at least comprise horizontal coordinates and vertical coordinates, and the coordinates of the panoramic camera at least comprise horizontal coordinates, vertical coordinates and multiplying power; the coordinates of the second pan-tilt comprise at least a horizontal coordinate and a vertical coordinate, and the coordinates of the detail camera comprise at least a horizontal coordinate, a vertical coordinate and a multiplying power.
In an embodiment, a panoramic camera configured in a first pan-tilt carries out cruise shooting to obtain panoramic video information, when a suspicious target is detected, the information such as PTZ (PanTiltzoom, horizontal coordinate, vertical coordinate, magnification) information, target current position information, speed information and the like of the current panoramic camera is sent to a detail camera of a second pan-tilt, and the detail camera of the second pan-tilt adjusts the depth of field proportion, direction and speed of the detail camera according to the information, so that the suspicious target is tracked, the appearance and characteristics of the target, such as information of color, size, classification, direction, speed and the like of the target, are completely displayed, and the identification accuracy is improved.
When the panoramic camera of the first holder moves horizontally, the detail camera of the second holder is driven to move horizontally, and the horizontal angle difference between the panoramic camera and the detail camera is unchanged; when the first holder moves vertically or is static, the second holder can move freely.
Alternatively, the panoramic camera of the first pan/tilt and the detail camera of the second pan/tilt may be plural.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating deviation of a preset point of a gun and ball linkage device according to an embodiment of the present disclosure.
In one embodiment, at the time t1, the master control holder and the slave control holder of the gun and ball linkage device are both located at a preset point 1, and at this time, the master control holder camera and the slave control holder camera both face the west; and at the moment t2, the master control holder moves horizontally by 180 degrees anticlockwise, so that the master control holder reaches a preset point 2, the slave control holder moves horizontally along with the master control holder, the master control holder camera and the slave control holder camera face the same direction, at the moment, the master control holder and the slave control holder face the east, and the slave control holder is still positioned at the preset point 1 and does not accord with the actual position because the slave control holder does not move actively.
Referring to fig. 3, fig. 3 is a step diagram of a control method of a gun and ball linkage device provided in an embodiment of the present application, where the method includes:
step 100, responding to an adjustment instruction of a user, and acquiring a preset point of the adjustment instruction, wherein the preset point comprises a first preset coordinate of a first holder and a second preset coordinate of a second holder.
In one embodiment, the user selects the gun and ball linkage device to adjust from the current position to a preset position at a computer client or a mobile phone client.
The first preset coordinate of the first holder comprises the horizontal coordinate and the vertical coordinate information of the first holder, and the second preset coordinate of the second holder comprises the horizontal coordinate and the vertical coordinate information of the second holder.
And 200, adjusting the first holder and the second holder to a first adjusting position according to the first preset coordinate.
Optionally, the first pan/tilt head performs horizontal movement according to the current position and the coordinate information of the first adjustment position to be reached. The second cloud platform follows first cloud platform horizontal motion, and the horizontal angle difference of second cloud platform and first cloud platform is fixed unchangeable before and after the horizontal motion.
Optionally, the first pan/tilt head performs vertical movement according to the current position and the coordinate information of the first adjustment position to be reached. The second pan-tilt does not follow the first pan-tilt in horizontal movement.
Optionally, the first pan/tilt head performs horizontal movement and vertical movement according to the current position and the coordinate information of the first adjustment position to be reached. The second cloud platform follows first cloud platform horizontal motion, does not follow first cloud platform vertical motion, and the horizontal angle difference of second cloud platform and first cloud platform is fixed unchangeable before and after the horizontal motion.
And step 300, adjusting the second pan-tilt to a second adjusting position according to a second preset coordinate.
Optionally, the second pan/tilt head horizontally rotates according to the coordinate information of the current first adjustment position and the second adjustment position required to be reached.
Optionally, the second pan/tilt head performs vertical movement according to the coordinate information of the current first adjustment position and the second adjustment position that needs to be reached.
Optionally, the second pan/tilt head performs horizontal movement and vertical movement according to the coordinate information of the current first adjustment position and the second adjustment position that needs to be reached.
Referring to fig. 4, fig. 4 is a step diagram of a control method before a gun and ball linkage device adjusts a second pan head to a second adjustment position according to an embodiment of the present application.
Step 210, a first current position of the first pan/tilt head and a second current position of the second pan/tilt head are obtained.
The first holder and the second holder need to acquire current position information before adjusting the positions, so that a control device of the holder acquires information such as a motion direction and a motion curve of a holder control motor.
Optionally, the first current position of the first pan/tilt includes horizontal coordinate and vertical coordinate information of the first pan/tilt, and the second current position of the second pan/tilt includes horizontal coordinate and vertical coordinate information of the second pan/tilt.
And step 220, adjusting the first holder from the first current position to the first adjustment position according to the first preset coordinate, and adjusting the second holder from the second current position to the third current position along with the first holder.
In one embodiment, the first holder performs horizontal movement and is adjusted from a first current position to a first adjustment position; the second holder moves horizontally along with the first holder, reaches the third current position from the second current position, and the horizontal angle difference between the second holder and the first holder is fixed before and after the horizontal movement.
In another embodiment, the first holder performs vertical movement, and is adjusted from a first current position to a first adjustment position; the second pan/tilt head does not follow the first pan/tilt head, i.e. the second current position is the same as the third current position.
In another embodiment, the first holder performs horizontal movement and vertical movement, the first holder is adjusted from the first current position to the first adjusted position, the second holder moves horizontally along with the first holder, the second holder reaches the third current position from the second current position, and the difference between the horizontal angles of the second holder and the first holder is fixed before and after the horizontal movement.
Referring to fig. 5, fig. 5 is a step diagram of a control method for adjusting the second pan/tilt to the second adjustment position by the gun and ball linkage device according to the embodiment of the present application.
And step 400, responding to a movement instruction of a user, and moving the first holder and/or the second holder based on the movement instruction.
In one embodiment, a user sends moving instruction information to a first cradle head of the gun and ball linkage device at a computer/mobile phone client, and the gun and ball linkage device moves the first cradle head according to the moving instruction information.
In another embodiment, a user sends moving instruction information to a second cloud deck of the gun and ball linkage device at a computer/mobile phone client, and the gun and ball linkage device moves the second cloud deck according to the moving instruction information.
In another embodiment, a user sends moving instruction information to a first cloud platform and a second cloud platform of the gun and ball linkage device at a computer/mobile phone client, and the gun and ball linkage device moves the first cloud platform and the second cloud platform according to the moving instruction information.
And 500, responding to a saving instruction of a user, and saving a new preset point based on the current position of the first holder and the current position of the second holder.
The gun and ball linkage equipment stores the preset points of the current positions of the first holder and the second holder respectively.
Optionally, the preset point information of the first pan/tilt and the second pan/tilt is horizontal coordinate and vertical coordinate information.
Referring to fig. 6, fig. 6 is a step diagram of a method for storing preset points by a gun and ball linkage device provided in the embodiment of the present application.
Step 510, in response to a save instruction of a user, generating a new preset point based on the current position of the first pan/tilt and the current position of the second pan/tilt.
In an embodiment, a preset point is generated according to the position information of the first cradle head and the second cradle head of the current gun-ball linkage device, that is, the position information of the first cradle head and the second cradle head is stored, wherein the preset point information is the unique mapping of the position information of the first cradle head and the second cradle head.
Referring to fig. 7, fig. 7 is a schematic view of a control interface for storing preset points of a gun and ball linkage device provided in an embodiment of the present application.
In one embodiment, a user clicks an "add preset point" button, and preset point information is generated according to the position information of a first cradle head and a second cradle head of the current gun and ball linkage device, wherein the preset point information is unique mapping of the position information of the first cradle head and the second cradle head.
Optionally, the position information of the first pan-tilt and the second pan-tilt of the current gun-ball linkage device is respectively horizontal coordinate information and vertical coordinate information of the current first pan-tilt and the current second pan-tilt.
Step 520, compare the new preset point with the saved preset points.
And comparing the new preset point information with the stored preset point information, and judging whether any stored preset point information is the same as the new preset point information.
And step 530, deleting the new preset point when the new preset point is completely consistent with any one of the stored preset points.
When the new preset point information is the same as any one of the stored preset point information, the new preset point information is in the stored preset point information, and the new preset point information is deleted.
Optionally, the interactive interface of the client displays "the preset point information exists at the position".
Referring to fig. 8, fig. 8 is a schematic structural diagram of a control device of a gun and ball linkage apparatus according to an embodiment of the present application.
The gun and ball linkage equipment control device 50 comprises a preset point module 51, a first adjusting module 52 and a second adjusting module 53, wherein the preset point module 51 is used for responding to an adjusting instruction of a user and acquiring a preset point of the adjusting instruction, and the preset point comprises a first preset coordinate of a first cradle head and a second preset coordinate of a second cradle head; the first adjusting module 52 is configured to adjust the first pan/tilt and the second pan/tilt to a first adjusting position according to the first preset coordinate; and the second adjusting module 53 is configured to adjust the second pan/tilt head to a second adjusting position according to a second preset coordinate.
The preset points obtained by the preset point module 51 include preset horizontal coordinates and vertical coordinates information of the first pan/tilt and preset horizontal coordinates and vertical coordinates information of the second pan/tilt.
In one embodiment, the first adjusting module 52 performs horizontal movement on the first pan/tilt head according to the preset horizontal coordinate and vertical coordinate information of the first pan/tilt head, so that the first pan/tilt head reaches a specified preset point, the second pan/tilt head horizontally moves along with the first pan/tilt head in response to the horizontal movement of the first pan/tilt head, and the horizontal angle difference between the second pan/tilt head and the first pan/tilt head before and after the horizontal movement is fixed;
optionally, the second adjusting module 53 performs horizontal movement on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Optionally, the second adjusting module 53 performs vertical motion on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Optionally, the second adjusting module 53 performs horizontal and vertical motion on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
In another embodiment, the first adjusting module 52 performs vertical motion on the first pan/tilt head according to the preset horizontal coordinate and vertical coordinate information of the first pan/tilt head, so that the first pan/tilt head reaches a specified preset point, and the second pan/tilt head does not move horizontally along with the first pan/tilt head;
optionally, the second adjusting module 53 performs horizontal movement on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Optionally, the second adjusting module 53 performs vertical motion on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Optionally, the second adjusting module 53 performs horizontal and vertical motion on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
In another embodiment, the first adjusting module 52 performs horizontal and vertical movements on the first pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the first pan/tilt, so that the first pan/tilt reaches a specified preset point, the second pan/tilt horizontally moves along with the first pan/tilt, and the difference between the horizontal angles of the second pan/tilt and the first pan/tilt before and after the horizontal movement is fixed;
optionally, the second adjusting module 53 performs horizontal movement on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Optionally, the second adjusting module 53 performs vertical motion on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Optionally, the second adjusting module 53 performs horizontal and vertical motion on the second pan/tilt according to the preset horizontal coordinate and vertical coordinate information of the second pan/tilt, so that the second pan/tilt reaches the specified preset point.
Referring to fig. 9, fig. 9 is a schematic view of a control interface for adjusting a preset point of a gun and ball linkage device according to an embodiment of the present disclosure.
In one embodiment, the user clicks the application "preset point 1", the preset point module 51 responds to the adjustment instruction of the user to acquire the preset point 1 information of the adjustment instruction, and the first adjustment module 52 and the second adjustment module 53 enable the first pan/tilt and the second pan/tilt to reach the specified preset point according to the preset point 1 information.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 60 according to the embodiment of the present application is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction. For example, the server may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of a plurality of servers). As shown, the electronic device 60 includes, but is not limited to, at least a memory 61 and a processor 62. Wherein:
the memory 61 includes at least one type of computer storage medium including a Flash memory, a hard disk, a multimedia Card, a Card-type memory (e.g., SD or DX memory, etc.), a random access memory (RAM, static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. in some embodiments, the memory 61 may be an internal storage unit of the electronic apparatus 60 such as a hard disk or a memory of a computer device, in other embodiments, the memory 61 may also be an external storage device of the electronic apparatus 60 such as a plug-in hard disk provided on the electronic apparatus 60, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc. of course, the memory 61 may also include both an internal storage unit of the electronic apparatus 60 and an external storage device thereof, in this embodiment, the memory 61 is generally used to store operating systems installed in the electronic apparatus 60 and applications such as software for implementing various types of computer-based on which the computer storage device may be used to control output data temporarily or to output data.
The processor 62 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 62 is generally configured to control the overall operation of the electronic device 60, such as performing control and processing related to data interaction or communication with the electronic device 60. In this embodiment, the processor 62 is configured to run program codes or processing data stored in the memory 61, for example, a computer program for implementing the control of the gun and ball linkage device.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a storage medium according to an embodiment of the present disclosure.
The computer storage medium 70 of the embodiment of the present application stores program data 71, and the program data 71 realizes the methods provided by the above-described embodiments of the present application when executed. The program data 71 may form a program file stored in the computer storage medium 70 in the form of a software product, so as to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present application. And the aforementioned computer storage medium 70 includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or terminal devices, such as a computer, a server, a mobile phone, and a tablet.
Those of skill would further appreciate that the various illustrative components and steps described in connection with the methods disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to provide a clear illustration of interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A control method based on gun and ball linkage equipment is characterized in that the gun and ball linkage equipment at least comprises a first holder and a second holder, and the second holder moves along with the movement of the first holder; the control method comprises the following steps:
responding to an adjusting instruction of a user, and acquiring a preset point of the adjusting instruction, wherein the preset point comprises a first preset coordinate of the first holder and a second preset coordinate of the second holder;
adjusting the first holder and the second holder to a first adjustment position according to the first preset coordinate;
and adjusting the second holder to a second adjusting position according to the second preset coordinate.
2. The control method according to claim 1,
before the second pan/tilt is adjusted to the second adjustment position according to the second preset coordinate, the control method further includes:
acquiring a first current position of the first holder and a second current position of the second holder;
and adjusting the first holder from the first current position to the first adjustment position according to the first preset coordinate, and adjusting the second holder from the second current position to the third current position along with the first holder.
3. The control method according to claim 2,
adjusting the second pan-tilt to a second adjustment position according to the second preset coordinate, including:
and adjusting the second holder from the third current position to the second adjustment position according to the second preset coordinate.
4. The control method according to claim 1,
the position of the preset point is not coincident with the current position of the first holder and the current position of the second holder in the horizontal direction.
5. The control method according to claim 1, characterized by further comprising:
moving the first and/or second head based on a movement instruction of a user in response to the movement instruction;
and responding to a saving instruction of a user, and saving a new preset point based on the current position of the first cloud platform and the current position of the second cloud platform.
6. The control method according to claim 5,
the saving, in response to a saving instruction of a user, a new preset point based on the current position of the first pan/tilt and the current position of the second pan/tilt includes:
responding to a saving instruction of a user, and generating a new preset point based on the current position of the first holder and the current position of the second holder;
comparing the new preset point with the stored preset points;
and deleting the new preset point when the new preset point is completely consistent with any one of the stored preset points.
7. The control method according to claim 1,
a panoramic camera is configured on the first holder, and a detail camera is configured on the second holder; the coordinates of the first pan-tilt head at least comprise horizontal coordinates and vertical coordinates, and the coordinates of the panoramic camera at least comprise horizontal coordinates, vertical coordinates and multiplying power; the coordinates of the second pan-tilt at least comprise horizontal coordinates and vertical coordinates, and the coordinates of the detail camera at least comprise horizontal coordinates, vertical coordinates and multiplying power.
8. A control device based on gun and ball linkage equipment is characterized by comprising a preset point module, a first adjusting module and a second adjusting module; wherein the content of the first and second substances,
the preset point module is used for responding to an adjusting instruction of a user and acquiring a preset point of the adjusting instruction, wherein the preset point comprises a first preset coordinate of the first holder and a second preset coordinate of the second holder;
the first adjusting module is used for adjusting the first holder and the second holder to a first adjusting position according to the first preset coordinate;
and the second adjusting module is used for adjusting the second holder to a second adjusting position according to the second preset coordinate.
9. A terminal device, comprising a memory and a processor coupled to the memory;
wherein the memory is for storing program data and the processor is for executing the program data to implement the control method of any one of claims 1 to 7.
10. A computer storage medium for storing program data for implementing the control method according to any one of claims 1 to 7 when executed by a computer.
CN202210798805.XA 2022-07-05 2022-07-05 Gun and ball linkage equipment control method and device, terminal equipment and storage medium Pending CN115396590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210798805.XA CN115396590A (en) 2022-07-05 2022-07-05 Gun and ball linkage equipment control method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210798805.XA CN115396590A (en) 2022-07-05 2022-07-05 Gun and ball linkage equipment control method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115396590A true CN115396590A (en) 2022-11-25

Family

ID=84117414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210798805.XA Pending CN115396590A (en) 2022-07-05 2022-07-05 Gun and ball linkage equipment control method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115396590A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104483983A (en) * 2014-11-24 2015-04-01 成都新舟锐视科技有限公司 Multi-camera real-time linkage double-cloud-deck control method
CN110413011A (en) * 2019-07-15 2019-11-05 浙江大华技术股份有限公司 A kind of binocular cloud platform control method, device and storage medium
CN111385474A (en) * 2020-03-09 2020-07-07 浙江大华技术股份有限公司 Target object tracking method and device, storage medium and electronic device
CN114071069A (en) * 2020-07-31 2022-02-18 华为技术有限公司 Ball machine control method, device and equipment
CN114637342A (en) * 2022-03-17 2022-06-17 重庆紫光华山智安科技有限公司 Holder control method and device, monitoring equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104483983A (en) * 2014-11-24 2015-04-01 成都新舟锐视科技有限公司 Multi-camera real-time linkage double-cloud-deck control method
CN110413011A (en) * 2019-07-15 2019-11-05 浙江大华技术股份有限公司 A kind of binocular cloud platform control method, device and storage medium
CN111385474A (en) * 2020-03-09 2020-07-07 浙江大华技术股份有限公司 Target object tracking method and device, storage medium and electronic device
CN114071069A (en) * 2020-07-31 2022-02-18 华为技术有限公司 Ball machine control method, device and equipment
CN114637342A (en) * 2022-03-17 2022-06-17 重庆紫光华山智安科技有限公司 Holder control method and device, monitoring equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN110460772B (en) Camera automatic adjustment method, device, equipment and storage medium
US10580453B1 (en) Cataloging video and creating video summaries
WO2020151750A1 (en) Image processing method and device
US9947108B1 (en) Method and system for automatic detection and tracking of moving objects in panoramic video
US10582149B1 (en) Preview streaming of video data
CN108702464B (en) Video processing method, control terminal and mobile device
CN107404615B (en) Image recording method and electronic equipment
WO2019140621A1 (en) Video processing method and terminal device
US20200267309A1 (en) Focusing method and device, and readable storage medium
CN113194263B (en) Gun and ball linkage control method and device, computer equipment and storage medium
CN112207821B (en) Target searching method of visual robot and robot
CN113805607B (en) Unmanned aerial vehicle shooting method and device, unmanned aerial vehicle and storage medium
CN109788201B (en) Positioning method and device
US20220345628A1 (en) Method for image processing, electronic device, and storage medium
CN111526280A (en) Control method and device of camera device, electronic equipment and storage medium
CN114638885A (en) Intelligent space labeling method and system, electronic equipment and storage medium
CN109587572B (en) Method and device for displaying product, storage medium and electronic equipment
CN113077524B (en) Automatic calibration method, device and equipment for binocular fisheye camera and storage medium
CN115396590A (en) Gun and ball linkage equipment control method and device, terminal equipment and storage medium
CN116320765B (en) Method, apparatus, device, medium and program product for generating panoramic image
CN111654668A (en) Monitoring equipment synchronization method and device and computer terminal
CN112991175B (en) Panoramic picture generation method and device based on single PTZ camera
CN113853559A (en) Control method, device and equipment of movable platform and storage medium
CN115278014B (en) Target tracking method, system, computer equipment and readable medium
CN110659376A (en) Picture searching method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination