ELECTRONIC DEVICE AND METHOD FOR CONTROLLING PAN-TILT-ZOOM CAMERAS
First Claim
1. A method being executed by a processor of an electronic device for controlling one or more pan-tilt-zoom (PTZ) cameras connected to the electronic device via a network, the method comprising:
- setting a first association between a rotation operation of the electronic device and a rotation operation of a lens of a PTZ camera, and a second association between a zoom adjustment of an image of a monitored area and a zoom adjustment of a focal length of the lens, wherein the image is captured by the PTZ camera and displayed on a display screen of the electronic device;
accessing the PTZ camera via the network, and adjusting the lens of the PTZ camera to an initial position by sending an initial command to the PTZ camera;
receiving an initial image of the monitored area captured by the lens of the PTZ camera at the initial position and sent via the network, and displaying the initial image on the display screen;
detecting a first rotation angle and a first rotation orientation of the electronic device relative to a previous position state of the electronic device using an e-gyroscope of the electronic device when the electronic device rotates;
converting the first rotation angle and the first rotation orientation of the electronic device into a second rotation angle and a second rotation orientation of the lens of the PTZ camera relative to a present position of the lens according to the first association;
generating a first control command according to the second rotation angle and the second rotation orientation of the lens, and controlling the lens of the PTZ camera to move from the present position to a new position according to the first control command; and
receiving a new image of the monitored area captured by the lens of the PTZ camera at the new position, and displaying the new image on the display screen.
2 Assignments
0 Petitions
Accused Products
Abstract
An electronic device receives an image of a monitored area captured a pan-tilt-zoom (PTZ) camera. When the electronic device rotates, rotation information of the electronic device relative to a previous position state of the electronic device is detected by an electronic gyroscope. The electronic device converts the rotation information of the electronic device into rotation information of a lens of the PTZ camera relative to a present position of the lens according to preset association, generates a first control command according to rotation information of the lens, and control the lens of the PTZ camera to move from the present position to a new position according to the first control command The electronic device receives a new image of the monitored area that is captured by the lens of the PTZ camera at the new position.
-
Citations
15 Claims
-
1. A method being executed by a processor of an electronic device for controlling one or more pan-tilt-zoom (PTZ) cameras connected to the electronic device via a network, the method comprising:
-
setting a first association between a rotation operation of the electronic device and a rotation operation of a lens of a PTZ camera, and a second association between a zoom adjustment of an image of a monitored area and a zoom adjustment of a focal length of the lens, wherein the image is captured by the PTZ camera and displayed on a display screen of the electronic device; accessing the PTZ camera via the network, and adjusting the lens of the PTZ camera to an initial position by sending an initial command to the PTZ camera; receiving an initial image of the monitored area captured by the lens of the PTZ camera at the initial position and sent via the network, and displaying the initial image on the display screen; detecting a first rotation angle and a first rotation orientation of the electronic device relative to a previous position state of the electronic device using an e-gyroscope of the electronic device when the electronic device rotates; converting the first rotation angle and the first rotation orientation of the electronic device into a second rotation angle and a second rotation orientation of the lens of the PTZ camera relative to a present position of the lens according to the first association; generating a first control command according to the second rotation angle and the second rotation orientation of the lens, and controlling the lens of the PTZ camera to move from the present position to a new position according to the first control command; and receiving a new image of the monitored area captured by the lens of the PTZ camera at the new position, and displaying the new image on the display screen. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An electronic device being connected with one or more pan-tilt-zoom (PTZ) cameras via a network, the electronic device comprising:
-
a storage device; a processor; and one or more programs that are stored in the storage device and executed by the processor, the one or more programs comprising instructions to; set a first association between a rotation operation of the electronic device and a rotation operation of a lens of a PTZ camera, and a second association between a zoom adjustment of an image of a monitored area and a zoom adjustment of a focal length of the lens, wherein the image is captured by the PTZ camera and displayed on a display screen of the electronic device; access the PTZ camera via the network, and adjust the lens of the PTZ camera to an initial position by sending an initial command to the PTZ camera; receive an initial image of the monitored area captured by the lens of the PTZ camera at the initial position and sent via the network, and display the initial image on the display screen; detect a first rotation angle and a first rotation orientation of the electronic device relative to a previous position state of the electronic device using an e-gyroscope installed within the electronic device when the electronic device rotates; convert the first rotation angle and the first rotation orientation of the electronic device into a second rotation angle and a second rotation orientation of the lens of the PTZ camera relative to a present position of the lens according to the first association; generate a first control command according to the second rotation angle and the second rotation orientation of the lens, and control the lens of the PTZ camera to move from the present position to a new position according to the first control command; and receive a new image of the monitored area captured by the lens of the PTZ camera at the new position, and display the new image on the display screen. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory storage medium storing a set of instructions, the set of instructions capable of being executed by a processor of an electronic device to perform a method for controlling one or more pan-tilt-zoom (PTZ) cameras connected to the electronic device via a network, the method comprising:
-
setting a first association between a rotation operation of the electronic device and a rotation operation of a lens of a PTZ camera, and a second association between a zoom adjustment of an image of a monitored area and a zoom adjustment of a focal length of the lens, wherein the image is captured by the PTZ camera and displayed on a display screen of the electronic device; accessing the PTZ camera via the network, and adjusting the lens of the PTZ camera to an initial position by sending an initial command to the PTZ camera; receiving an initial image of the monitored area captured by the lens of the PTZ camera at the initial position and sent via the network, and displaying the initial image on the display screen; detecting a first rotation angle and a first rotation orientation of the electronic device relative to a previous position state of the electronic device using an e-gyroscope installed within the electronic device when the electronic device rotates; converting the first rotation angle and the first rotation orientation of the electronic device into a second rotation angle and a second rotation orientation of the lens of the PTZ camera relative to a present position of the lens according to the first association; generating a first control command according to the second rotation angle and the second rotation orientation of the lens, and controlling the lens of the PTZ camera to move from the present position to a new position according to the first control command; and receiving a new image of the monitored area captured by the lens of the PTZ camera at the new position, and displaying the new image on the display screen. - View Dependent Claims (12, 13, 14, 15)
-
Specification