CN110087061A - A kind of video camera installation control method and device - Google Patents
A kind of video camera installation control method and device Download PDFInfo
- Publication number
- CN110087061A CN110087061A CN201910260747.3A CN201910260747A CN110087061A CN 110087061 A CN110087061 A CN 110087061A CN 201910260747 A CN201910260747 A CN 201910260747A CN 110087061 A CN110087061 A CN 110087061A
- Authority
- CN
- China
- Prior art keywords
- video camera
- installation
- parameter
- magnetic force
- currently
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M11/00—Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of video camera installation control method and devices, which comprises determines that video camera currently looks for northern completion;Obtain the first acceleration parameter of the first accelerometer detection in video camera and the second acceleration parameter of the second accelerometer detection;According to first acceleration parameter and the second acceleration parameter, the installation offset of the video camera is determined, allow the installer to the installation site according to the installation offset adjustment video camera.Due to that in embodiments of the present invention, according to the first acceleration parameter and the second acceleration parameter of acquisition, can determine the installation offset of video camera, setter can faster more accurately align video camera according to the installation offset of video camera.
Description
Technical field
The present invention relates to camcorder technology field more particularly to a kind of video camera installation control methods and device.
Background technique
In recent years, with the fast development of field of video monitoring, in the scenes such as safety-security area, market, crossing, video camera
It is more and more common.In order to guarantee that the collected picture of video camera is not inclined, it is necessary first to guarantee that the video camera of installation is not inclined.
The prior art is when installing video camera, usually by auxiliary tool, is then by the sense organ identification of setter
No dress is just.For example, when needing installs video camera vertically downward, generally by weight.Setter is hung weight with cord
It is whether parallel with cord by eye-observation video camera when installing video camera on the side of camera installation locations, by anti-
Polyphony is whole, and when observing video camera and cord is substantially parallel, confirmation video camera is installed.
Problem of the existing technology is, identifies that installation video camera subjectivity is big by sense organ, and setter is often repeatedly
Camera position is adjusted, the set-up time is longer.And for video camera installation, installation environment is different, sense organ Recognition Different
It is larger, judge whether video camera fills by sense organ identification and is just inaccurate.
Summary of the invention
The embodiment of the invention provides a kind of video camera installation control method and devices, image in the prior art to solve
The problem of machine installation site inaccuracy.
The embodiment of the invention provides a kind of video camera installation control methods, which comprises
Determine that video camera currently looks for northern completion;
It obtains the first acceleration parameter of the first accelerometer detection in video camera and the second of the second accelerometer detection accelerates
Parameter;
According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, make to install
Person adjusts the installation site of video camera according to the installation offset.
Further, the determining video camera currently look for north complete include:
The holder of control video camera is rotated according to preset step-length, and the every rotation of holder is primary, receives the x in video camera
The first currently transmitted magnetic force parameter of axis magnetometer and currently transmitted the second magnetic force parameter of y-axis magnetometer;According to described first
Magnetic force parameter and the second magnetic force parameter, determine video camera currently with the angle of direct north;
When the angle for determining video camera and direct north is 0 degree, determine that video camera currently looks for northern completion.
Further, described according to first magnetic force parameter and the second magnetic force parameter, determine video camera currently and due north
The angle in direction includes:
According to first magnetic force parameter, the second magnetic force parameter and formula θ=180*arctan2 (y/x)/π, camera shooting is determined
Machine currently with the angle of direct north;
Wherein, x be the first magnetic force parameter, y be the second magnetic force parameter, θ be video camera currently with the angle of direct north.
Further, after the determining video camera currently looks for north to complete, the method also includes:
Construct azimuthal coordinates system, wherein the direction of current camera camera lens is set as the due north of azimuthal coordinates system, and is obtained
The current horizontal coordinate of the holder and vertical coordinate, the original by the horizontal coordinate and vertical coordinate, as azimuthal coordinates system
Point coordinate;
According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, make to install
Person according to it is described installation offset adjustment video camera installation site include:
According to first acceleration parameter, the second acceleration parameter and azimuthal coordinates system, determine video camera installation disparity map and
The installation offset of the video camera allows the installer to the installation position according to the disparity map and installation offset adjustment video camera
It sets.
Further, it is determined that the method is also after the installation offset of video camera installation disparity map and the video camera
Include:
By the disparity map, the image that the installation offset of the video camera and the video camera currently acquire is folded
Add display.
On the other hand, the embodiment of the invention provides a kind of video cameras to install control device, and described device includes:
First determining module, for determining that video camera currently looks for northern completion;
Module is obtained, for obtaining the first acceleration parameter and the inspection of the second accelerometer of the detection of the first accelerometer in video camera
The second acceleration parameter surveyed;
Second determining module, for determining the video camera according to first acceleration parameter and the second acceleration parameter
Offset is installed, the installation site according to the installation offset adjustment video camera is allowed the installer to.
Further, first determining module, the holder specifically for controlling video camera are rotated according to preset step-length,
And the every rotation of holder is primary, receives the x-axis magnetometer in video camera currently transmitted the first magnetic force parameter and y-axis magnetometer and works as
Second magnetic force parameter of preceding transmission;According to first magnetic force parameter and the second magnetic force parameter, determine video camera currently and due north
The angle in direction;When the angle for determining video camera and direct north is 0 degree, determine that video camera currently looks for northern completion.
Further, first determining module, be specifically used for according to first magnetic force parameter, the second magnetic force parameter and
Formula θ=180*arctan2 (y/x)/π, determine video camera currently with the angle of direct north;Wherein, x is the first magnetic force ginseng
Number, y be the second magnetic force parameter, θ be video camera currently with the angle of direct north.
Further, described device further include:
Module is constructed, for constructing azimuthal coordinates system, wherein the direction of current camera camera lens is set as azimuthal coordinates system
Due north, and the current horizontal coordinate of the holder and vertical coordinate are obtained, by the horizontal coordinate and vertical coordinate, as side
The origin of position coordinate system;
Second determining module is specifically used for according to first acceleration parameter, the second acceleration parameter and azimuthal coordinates
System determines the installation offset of video camera installation disparity map and the video camera, allows the installer to according to the disparity map and installation
The installation site of offset adjustment video camera.
Further, described device further include:
Display module, for by the disparity map, the installation offset of the video camera and the video camera currently to be adopted
The image of collection is overlapped display.
The embodiment of the invention provides a kind of video camera installation control method and devices, which comprises determines camera shooting
Machine currently looks for northern completion;Obtain the first accelerometer detection in video camera the first acceleration parameter and the detection of the second accelerometer the
Two acceleration parameters;According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, make to pacify
Dress person adjusts the installation site of video camera according to the installation offset.Due in embodiments of the present invention, according to the of acquisition
One acceleration parameter and the second acceleration parameter, can determine the installation offset of video camera, and setter is inclined according to the installation of video camera
Shifting amount can faster more accurately align video camera.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is that the video camera that the embodiment of the present invention 1 provides installs control process schematic diagram;
Fig. 2 is that the video camera that the embodiment of the present invention 4 provides installs disparity map;
Fig. 3 is the structural schematic diagram for the video camera that the embodiment of the present invention 5 provides;
Fig. 4 is that the video camera that the embodiment of the present invention 5 provides installs control process schematic diagram;
Fig. 5 is that video camera provided in an embodiment of the present invention installs controling device structure diagram.
Specific embodiment
The present invention will be describe below in further detail with reference to the accompanying drawings, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
All other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 be video camera provided in an embodiment of the present invention install control process schematic diagram, the process the following steps are included:
S101: determine that video camera currently looks for northern completion.
Video camera installation control method provided in an embodiment of the present invention is applied to electronic equipment, which can be
The equipment such as PC, tablet computer are also possible to the video camera with control function;Wherein, which can be Pan/Tilt/Zoom camera
(holder all-around mobile and camera lens zoom Zoom control video camera, Pan TiltZoom).
Electronic equipment first has to determine that video camera looks for northern completion, video camera looks for north when carrying out video camera installation control
Process can be, and be gone to the camera lens of video camera in a northerly direction by setter, when setter goes to the camera lens of video camera toward the north
Behind direction, instruction information is sent to electronic equipment, instruction electronic equipment video camera currently looks for northern completion.
S102: the second of the first acceleration parameter that the first accelerometer in video camera detects and the detection of the second accelerometer is obtained
Acceleration parameter.
Three accelerometers are generally comprised in video camera, are x-axis accelerometer, y-axis accelerometer and z-axis accelerometer respectively.In reality
Border in application, user can be selected according to video camera installation scenario two in three accelerometers as the first accelerometer and second
Accelerometer.Such as it can be using x-axis accelerometer as the first accelerometer, using y-axis accelerometer as the second accelerometer;It can certainly
Using y-axis accelerometer as the first accelerometer, using x-axis accelerometer as the second accelerometer.In embodiments of the present invention, with x-axis plus
Speed is calculated as the first accelerometer, and y-axis acceleration is calculated as the second accelerometer and is illustrated.First accelerometer and the second accelerometer can be real-time
Detect acceleration parameter, wherein the first acceleration parameter of the first accelerometer detection is the acceleration parameter of x-axis direction, the second accelerometer
Second acceleration parameter of detection is the acceleration parameter in y-axis direction.Electronic equipment determines that video camera is currently looked for after the completion of north, obtains the
First acceleration parameter of one accelerometer detection and the second acceleration parameter of the second accelerometer detection.
S103: it according to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, makes
Setter adjusts the installation site of video camera according to the installation offset.
After electronic equipment obtains the first acceleration parameter and the second acceleration parameter, to the first acceleration parameter and the second acceleration parameter
Carry out linear transformation, then according to after linear transformation the first acceleration parameter and the second acceleration parameter determine that the installation of video camera is inclined
Shifting amount.
Specifically, linear transformation parameter can be pre-saved in electronic equipment, for example, linear transformation parameter is 0.001, the
One acceleration parameter is 1000, and the second acceleration parameter is 2000, then the first acceleration parameter after linear transformation is 1000*0.001=
1, the second acceleration parameter after linear transformation is 2000*0.001=2.First acceleration parameter is to detect to obtain by x-axis accelerometer
, for characterizing the offset of video camera eastwards, the second acceleration parameter is detected by y-axis accelerometer, is taken the photograph for characterizing
The offset of camera northwards.The first acceleration parameter after linear transformation is 1, and the second acceleration parameter after linear transformation is 2, also
The installation offset for being determining video camera is to deviate 1 eastwards, northwards deviates 2.Setter is according to the installation of determining video camera
Offset, the installation site of adjustable video camera.Such as the installation offset of determining video camera is to deviate 1 eastwards, northwards
Offset 2, then video camera is westwards adjusted 1 by setter, and adjustment 2 to the south can align video camera.
Due to that in embodiments of the present invention, according to the first acceleration parameter and the second acceleration parameter of acquisition, can determine and take the photograph
The installation offset of camera, setter can faster more accurately align video camera according to the installation offset of video camera.
Embodiment 2:
In order to which the installation site for allowing the installer to adjustment video camera is more acurrate, need to guarantee that video camera looks for north accurate, therefore
On the basis of above-described embodiment, in embodiments of the present invention, the determining video camera currently look for north complete include:
The holder of control video camera is rotated according to preset step-length, and the every rotation of holder is primary, receives the x in video camera
The first currently transmitted magnetic force parameter of axis magnetometer and currently transmitted the second magnetic force parameter of y-axis magnetometer;According to described first
Magnetic force parameter and the second magnetic force parameter, determine video camera currently with the angle of direct north;
When the angle for determining video camera and direct north is 0 degree, determine that video camera currently looks for northern completion.
It include x-axis magnetometer and y-axis magnetometer in video camera, the function of x-axis magnetometer and y-axis magnetometer is for imaging
Machine looks for north.X-axis magnetometer can acquire the first magnetic force parameter in real time, and y-axis magnetometer can acquire the second magnetic force parameter in real time.
The holder of electronic equipment control video camera is rotated according to preset step-length, preset step-length is, for example, 1 degree,
1.5 degree etc..The every rotation of holder is primary, and electronic equipment receives the first currently transmitted magnetic force parameter of the x-axis magnetometer in video camera
Second magnetic force parameter currently transmitted with y-axis magnetometer determines camera shooting then according to the first magnetic force parameter and the second magnetic force parameter
Machine currently with the angle of direct north.
Wherein, the mapping table of the first magnetic force parameter, the second magnetic force parameter and angle can be saved in electronic equipment, electricity
After sub- equipment receives the first magnetic force parameter and the second magnetic force parameter, according to the mapping table determine video camera currently with the positive north
To angle.When the angle for determining video camera and direct north is 0 degree, determine that video camera currently looks for northern completion.
Since in embodiments of the present invention, electronic equipment receives the first currently transmitted magnetic of the x-axis magnetometer in video camera
Force parameter and currently transmitted the second magnetic force parameter of y-axis magnetometer;According to the first magnetic force parameter and the second magnetic force parameter, determination is taken the photograph
Camera currently with the angle of direct north;When the angle for determining video camera and direct north is 0 degree, determine that video camera is currently looked for
It completes in north.Therefore can make to determine that video camera currently looks for north completion more acurrate.
Embodiment 3:
In order to further make to determine that it is more acurrate that video camera currently looks for north to complete, on the basis of the various embodiments described above, at this
It is described according to first magnetic force parameter and the second magnetic force parameter in inventive embodiments, determine video camera currently and direct north
Angle include:
According to first magnetic force parameter, the second magnetic force parameter and formula θ=180*arctan2 (y/x)/π, camera shooting is determined
Machine currently with the angle of direct north;
Wherein, x be the first magnetic force parameter, y be the second magnetic force parameter, θ be video camera currently with the angle of direct north.
Can be pre-saved in electronic equipment for determine video camera currently with formula θ=180* of the angle of direct north
Arctan2 (y/x)/π, electronic equipment join the first magnetic force after receiving the first magnetic force parameter x and the second magnetic force parameter y
Number x and the second magnetic force parameter y substitute into above-mentioned formulas, obtain video camera currently with the angle theta of direct north.When determine video camera with
When the angle of direct north is 0 degree, determine that video camera currently looks for northern completion.
Due in embodiments of the present invention, electronic equipment after receiving the first magnetic force parameter and the second magnetic force parameter,
According to first magnetic force parameter, the second magnetic force parameter and formula θ=180*arctan2 (y/x)/π, determine video camera currently with
The angle of direct north can make to determine that video camera is currently more acurrate with the angle of direct north, so that determining video camera
North is currently looked for complete more acurrate.
Embodiment 4:
Camera position is adjusted for the ease of setter, on the basis of the various embodiments described above, in embodiments of the present invention,
After the determining video camera currently looks for north to complete, the method also includes:
Construct azimuthal coordinates system, wherein the direction of current camera camera lens is set as the due north of azimuthal coordinates system, and is obtained
The current horizontal coordinate of the holder and vertical coordinate, the original by the horizontal coordinate and vertical coordinate, as azimuthal coordinates system
Point coordinate;
According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, make to install
Person according to it is described installation offset adjustment video camera installation site include:
According to first acceleration parameter, the second acceleration parameter and azimuthal coordinates system, determine video camera installation disparity map and
The installation offset of the video camera allows the installer to the installation position according to the disparity map and installation offset adjustment video camera
It sets.
Electronic equipment obtains holder current horizontal coordinate and vertical coordinate, so after determining that video camera looks for north to complete
Afterwards according to the direction of holder current horizontal coordinate and vertical coordinate and current camera camera lens, azimuthal coordinates can be constructed
System.Specifically, the due north for being oriented azimuthal coordinates system of current camera camera lens, horizontal coordinate and vertical coordinate are azimuthal coordinates
The origin of system.
After electronic equipment receives the first acceleration parameter and the second acceleration parameter, added according to the first acceleration parameter, second
Fast parameter and azimuthal coordinates system determine the installation offset of video camera installation disparity map and video camera.Specifically, electronic equipment connects
After receiving the first acceleration parameter and the second acceleration parameter, the first acceleration parameter and the second acceleration parameter are linearly turned first
Change, then according to after linear transformation the first acceleration parameter and the second acceleration parameter determine the installation offset of video camera.Wherein
The process of linear transformation, and determine that the process introduced is identical in the process and above-described embodiment of the installation offset of video camera,
It is no longer repeated herein.
In embodiments of the present invention, according to the first acceleration parameter and the second acceleration parameter and orientation after linear transformation
Coordinate system can also determine that video camera installs disparity map.Fig. 2 is that video camera installs disparity map.As shown in Fig. 2, the original in disparity map
Point coordinate is the horizontal coordinate and vertical coordinate of holder, and the coordinate at " ten " font in disparity map is first after linear transformation
Acceleration parameter and the corresponding coordinate of the second acceleration parameter, " ten " font characterize the current degrees of offset of video camera." ten " word
The abscissa of shape is the first acceleration parameter after linear transformation, and ordinate is the second acceleration parameter after linear transformation.According to line
Property conversion after the first acceleration parameter and the second acceleration parameter, can also determine video camera install deviation angle, i.e. α=tan
(b/a), wherein b is the second acceleration parameter after linear transformation, and a is the first acceleration parameter after linear transformation, and α is video camera
Deviation angle is installed.Video camera installation deviation angle also belongs to video camera installation offset.
Electronic equipment can deviate the installation of video camera after determining the installation offset of disparity map and video camera
Amount is added in disparity map, is then shown on the display interface of electronic equipment.Wherein it is possible to pass through OSD video superimposing technique
The installation offset of video camera is added in disparity map.The process category installation offset of video camera being added in disparity map
In the prior art, no longer the process is repeated herein.
Due in embodiments of the present invention, after electronic equipment constructs azimuthal coordinates system, according to the first acceleration parameter, second
Acceleration parameter and azimuthal coordinates system, determine video camera installation disparity map and the video camera installation offset, setter according to
The installation offset of disparity map and video camera can more intuitively know the current drift condition of video camera, consequently facilitating setter
Adjust camera position.
Embodiment 5:
On the basis of the various embodiments described above, in embodiments of the present invention, determines video camera installation disparity map and described take the photograph
After the installation offset of camera, the method also includes:
By the disparity map, the image that the installation offset of the video camera and the video camera currently acquire is folded
Add display.
In embodiments of the present invention, electronic equipment can obtain the image that video camera currently acquires in real time, and electronic equipment exists
After the installation offset for determining disparity map and video camera, the installation offset of disparity map and video camera can be superimposed upon and be worked as
On the image of preceding acquisition, wherein can also be superimposed the installation offset of disparity map and video camera by OSD video superimposing technique
On the image currently acquired.The image of video camera acquisition real-time update with the variation of camera installation locations, pacifies in this way
Dress person can know the current drift condition of video camera, in real time so that setter aligns video camera by observation image.
In addition, the installation offset of disparity map and video camera is superimposed upon on the image currently acquired, in electronic equipment or
When showing image or image reproducing in any client of person, it can see that the installation of disparity map and video camera is inclined in the picture
Shifting amount.
If the electronic equipment in the embodiment of the present invention is the video camera with control function, the structure of video camera is as schemed
Shown in 3.It include Gsensor acceleration sampling unit, that is, the first accelerometer and the second accelerometer in video camera, for detecting
First acceleration parameter and the second acceleration parameter, and it is sent to picture unit.Picture unit is for constructing disparity map and determining peace
Offset is filled, and is sent to image composing unit.Further include camera in video camera, is used for real-time image acquisition, and by image
It is sent to image composing unit, image composing unit currently acquires disparity map, the installation offset and video camera of video camera
Image be overlapped.
Fig. 4 is video camera provided in an embodiment of the present invention installation control process schematic diagram, as shown in figure 4, after program starts,
Video camera power-on self-test looks for north, looks for northern completion, and setting current angular is due north, then obtains x-axis, the parameter of y-axis accelerometer, root
Judge whether video camera fills partially according to the parameter of x-axis, y-axis accelerometer, if so, in interface display disparity map and installation offset,
After setter carries out camera position adjustment according to disparity map and installation offset, x-axis, the parameter of y-axis accelerometer are obtained again,
When judging video camera dress just, EP (end of program).
Fig. 5 is that video camera provided in an embodiment of the present invention installs controling device structure diagram, and described device includes:
First determining module 51, for determining that video camera currently looks for northern completion;
Module 52 is obtained, for obtaining the first acceleration parameter and the second accelerometer of the detection of the first accelerometer in video camera
Second acceleration parameter of detection;
Second determining module 53, for determining the video camera according to first acceleration parameter and the second acceleration parameter
Installation offset, allow the installer to according to it is described installation offset adjustment video camera installation site.
First determining module 51, the holder specifically for controlling video camera is rotated according to preset step-length, and cloud
The every rotation of platform is primary, and currently transmitted the first magnetic force parameter and y-axis magnetometer of the x-axis magnetometer in reception video camera are currently transmitted
The second magnetic force parameter;According to first magnetic force parameter and the second magnetic force parameter, determine video camera currently with direct north
Angle;When the angle for determining video camera and direct north is 0 degree, determine that video camera currently looks for northern completion.
First determining module 51, be specifically used for according to first magnetic force parameter, the second magnetic force parameter and formula θ=
180*arctan2 (y/x)/π, determine video camera currently with the angle of direct north;Wherein, x is the first magnetic force parameter, y the
Two magnetic force parameters, θ be video camera currently with the angle of direct north.
Described device further include:
Module 54 is constructed, for constructing azimuthal coordinates system, wherein the direction of current camera camera lens is set as azimuthal coordinates
The due north of system, and obtain the current horizontal coordinate of the holder and vertical coordinate, by the horizontal coordinate and vertical coordinate, as
The origin of azimuthal coordinates system;
Second determining module 53 is specifically used for being sat according to first acceleration parameter, the second acceleration parameter and orientation
Mark system determines the installation offset of video camera installation disparity map and the video camera, allows the installer to according to the disparity map and peace
Fill the installation site of offset adjustment video camera.
Described device further include:
Display module 55, for by the disparity map, the installation offset of the video camera and the video camera to be current
The image of acquisition is overlapped display.
The embodiment of the invention provides a kind of video camera installation control method and devices, which comprises determines camera shooting
Machine currently looks for northern completion;Obtain the first accelerometer detection in video camera the first acceleration parameter and the detection of the second accelerometer the
Two acceleration parameters;According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, make to pacify
Dress person adjusts the installation site of video camera according to the installation offset.Due in embodiments of the present invention, according to the of acquisition
One acceleration parameter and the second acceleration parameter, can determine the installation offset of video camera, and setter is inclined according to the installation of video camera
Shifting amount can faster more accurately align video camera.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of video camera installation control method, which is characterized in that the described method includes:
Determine that video camera currently looks for northern completion;
Obtain the first acceleration parameter of the first accelerometer detection in video camera and the second acceleration parameter of the second accelerometer detection;
According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, allow the installer to root
According to the installation site of the installation offset adjustment video camera.
2. the method as described in claim 1, which is characterized in that the determining video camera currently look for north complete include:
The holder of control video camera is rotated according to preset step-length, and the every rotation of holder is primary, receives the x-axis magnetic in video camera
The first currently transmitted magnetic force parameter of power meter and currently transmitted the second magnetic force parameter of y-axis magnetometer;According to first magnetic force
Parameter and the second magnetic force parameter, determine video camera currently with the angle of direct north;
When the angle for determining video camera and direct north is 0 degree, determine that video camera currently looks for northern completion.
3. method according to claim 2, which is characterized in that described to be joined according to first magnetic force parameter and the second magnetic force
Number, determines that video camera currently includes: with the angle of direct north
According to first magnetic force parameter, the second magnetic force parameter and formula θ=180*arctan2 (y/x)/π, determine that video camera is worked as
The preceding angle with direct north;
Wherein, x be the first magnetic force parameter, y be the second magnetic force parameter, θ be video camera currently with the angle of direct north.
4. method according to claim 2, which is characterized in that after the determining video camera currently looks for north to complete, the side
Method further include:
Construct azimuthal coordinates system, wherein the direction of current camera camera lens is set as to the due north of azimuthal coordinates system, and described in acquisition
The current horizontal coordinate of holder and vertical coordinate, by the horizontal coordinate and vertical coordinate, the origin as azimuthal coordinates system is sat
Mark;
According to first acceleration parameter and the second acceleration parameter, determines the installation offset of the video camera, allow the installer to root
Include: according to the installation site that the installation offset adjusts video camera
According to first acceleration parameter, the second acceleration parameter and azimuthal coordinates system, video camera installation disparity map and described is determined
The installation offset of video camera allows the installer to the installation site according to the disparity map and installation offset adjustment video camera.
5. method as claimed in claim 4, which is characterized in that determine the installation of video camera installation disparity map and the video camera
After offset, the method also includes:
By the disparity map, the image that the installation offset of the video camera and the video camera currently acquire is overlapped aobvious
Show.
6. a kind of video camera installs control device, which is characterized in that described device includes:
First determining module, for determining that video camera currently looks for northern completion;
Module is obtained, what the first acceleration parameter and the second accelerometer for obtaining the detection of the first accelerometer in video camera detected
Second acceleration parameter;
Second determining module, for determining the installation of the video camera according to first acceleration parameter and the second acceleration parameter
Offset allows the installer to the installation site according to the installation offset adjustment video camera.
7. device as claimed in claim 6, which is characterized in that first determining module, specifically for control video camera
Holder is rotated according to preset step-length, and the every rotation of holder is primary, receive x-axis magnetometer in video camera it is currently transmitted the
One magnetic force parameter and currently transmitted the second magnetic force parameter of y-axis magnetometer;Joined according to first magnetic force parameter and the second magnetic force
Number, determine video camera currently with the angle of direct north;When the angle for determining video camera and direct north is 0 degree, determination is taken the photograph
Camera currently looks for northern completion.
8. device as claimed in claim 7, which is characterized in that first determining module is specifically used for according to described first
Magnetic force parameter, the second magnetic force parameter and formula θ=180*arctan2 (y/x)/π, determine video camera currently with the folder of direct north
Angle;Wherein, x be the first magnetic force parameter, y be the second magnetic force parameter, θ be video camera currently with the angle of direct north.
9. device as claimed in claim 7, which is characterized in that described device further include:
Module is constructed, for constructing azimuthal coordinates system, wherein the direction of current camera camera lens is being set as azimuthal coordinates system just
North, and the current horizontal coordinate of the holder and vertical coordinate are obtained, the horizontal coordinate and vertical coordinate are sat as orientation
Mark the origin of system;
Second determining module is specifically used for according to first acceleration parameter, the second acceleration parameter and azimuthal coordinates system, really
The installation offset for determining video camera installation disparity map and the video camera is allowed the installer to according to the disparity map and installation offset
Adjust the installation site of video camera.
10. device as claimed in claim 9, which is characterized in that described device further include:
Display module, for currently acquire the disparity map, the installation offset of the video camera and the video camera
Image is overlapped display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910260747.3A CN110087061A (en) | 2019-04-02 | 2019-04-02 | A kind of video camera installation control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910260747.3A CN110087061A (en) | 2019-04-02 | 2019-04-02 | A kind of video camera installation control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110087061A true CN110087061A (en) | 2019-08-02 |
Family
ID=67414028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910260747.3A Pending CN110087061A (en) | 2019-04-02 | 2019-04-02 | A kind of video camera installation control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110087061A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111654634A (en) * | 2020-06-24 | 2020-09-11 | 杭州海康威视数字技术股份有限公司 | Method for determining inclination of engine core assembly and pan-tilt assembly in camera and camera |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547232A (en) * | 2010-12-09 | 2012-07-04 | 安讯士有限公司 | Means and method for assisting installation of monitoring camera |
CN104943620A (en) * | 2015-06-19 | 2015-09-30 | 寅家电子科技(上海)有限公司 | Auxiliary installation system and method for vehicle-mounted camera |
CN205378028U (en) * | 2015-12-18 | 2016-07-06 | 西北农林科技大学 | Image acquisition device of self -adaptation adjustment |
CN107864330A (en) * | 2016-09-22 | 2018-03-30 | 光宝电子(广州)有限公司 | Video camera and its establishing method and method of adjustment |
-
2019
- 2019-04-02 CN CN201910260747.3A patent/CN110087061A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547232A (en) * | 2010-12-09 | 2012-07-04 | 安讯士有限公司 | Means and method for assisting installation of monitoring camera |
CN104943620A (en) * | 2015-06-19 | 2015-09-30 | 寅家电子科技(上海)有限公司 | Auxiliary installation system and method for vehicle-mounted camera |
CN205378028U (en) * | 2015-12-18 | 2016-07-06 | 西北农林科技大学 | Image acquisition device of self -adaptation adjustment |
CN107864330A (en) * | 2016-09-22 | 2018-03-30 | 光宝电子(广州)有限公司 | Video camera and its establishing method and method of adjustment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111654634A (en) * | 2020-06-24 | 2020-09-11 | 杭州海康威视数字技术股份有限公司 | Method for determining inclination of engine core assembly and pan-tilt assembly in camera and camera |
CN111654634B (en) * | 2020-06-24 | 2022-02-08 | 杭州海康威视数字技术股份有限公司 | Method for determining inclination of engine core assembly and pan-tilt assembly in camera and camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2526105C (en) | Image display method and image display apparatus | |
CN105302420B (en) | Image display method and system in a kind of mobile terminal | |
CN108932051B (en) | Augmented reality image processing method, apparatus and storage medium | |
JP2016018463A (en) | State change management system and state change management method | |
US20090303348A1 (en) | Metadata adding apparatus and metadata adding method | |
US20180225839A1 (en) | Information acquisition apparatus | |
CN103945043A (en) | Photographic method and electronic device | |
CN106303230B (en) | Video processing method and device | |
CN104990689B (en) | Localization method and device in a kind of optic test | |
CN110493524A (en) | A kind of survey light method of adjustment, device, equipment and storage medium | |
CN108958462A (en) | A kind of methods of exhibiting and device of virtual objects | |
CN103438864A (en) | Real-time digital geological record system for engineering side slope | |
CN103533313A (en) | Geographical position based panoramic electronic map video synthesis display method and system | |
CN107764233A (en) | A kind of measuring method and device | |
CN103780747A (en) | Information processing method and electronic equipment | |
CN204963858U (en) | Can fix a position close -range photogrammetry system of appearance | |
US11245763B2 (en) | Data processing method, computer device and storage medium | |
CN107806860A (en) | A kind of aerial survey of unmanned aerial vehicle is taken pictures the methods of accurate spatial locations | |
CN110087061A (en) | A kind of video camera installation control method and device | |
CN110248148B (en) | Method and device for determining positioning parameters | |
CN204649186U (en) | communication base station antenna attitude tester | |
CN105321186B (en) | A kind of enclosure space map acquisition method and device based on orthogonal projection | |
WO2019106847A1 (en) | Position information system using camera-captured image and camera-mounted information device used therein | |
Grießbach et al. | IPS–a system for real-time navigation and 3D modeling | |
KR102458559B1 (en) | Construction management system and method using mobile electric device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190802 |
|
RJ01 | Rejection of invention patent application after publication |