CN112291470A - Method and device for controlling camera - Google Patents

Method and device for controlling camera Download PDF

Info

Publication number
CN112291470A
CN112291470A CN202010485418.1A CN202010485418A CN112291470A CN 112291470 A CN112291470 A CN 112291470A CN 202010485418 A CN202010485418 A CN 202010485418A CN 112291470 A CN112291470 A CN 112291470A
Authority
CN
China
Prior art keywords
camera
image
user
control instruction
sending
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
CN202010485418.1A
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010485418.1A priority Critical patent/CN112291470A/en
Publication of CN112291470A publication Critical patent/CN112291470A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a method and a device for controlling a camera, relates to the technical field of communication, and can solve the problems that the camera is connected with a display and a computer in a wired mode, the operation is complex, and the distances between the camera and the display and between the camera and the computer are constrained by the length of a wire. The specific technical scheme is as follows: acquiring a view finding image of a camera; sending the framing image to a terminal device so that the terminal device can display the framing image to a user; receiving a camera control instruction sent by the terminal equipment; sending the camera control instruction to the camera so that the camera executes the camera control instruction. The invention is used for remotely controlling the camera, is convenient to use and is not limited by distance.

Description

Method and device for controlling camera
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a camera.
Background
In the prior art, a user may control a camera, such as a digital camera, via a computer. In general, a digital camera is provided with a High Definition Multimedia Interface (HDMI) B-type or HDMI C-type Interface. The digital camera can be connected with the display through an HDMI interface and connected with a computer through a Universal Serial Bus (USB) interface; the user can see the image shot by the digital camera in real time on the display, and simultaneously, the image shot by the digital camera can be obtained through the computer.
However, the digital camera is connected with the display and the computer by wires, which is troublesome to operate, and the distances between the digital camera and the display and between the digital camera and the computer are limited by the lengths of the wires.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for controlling a camera, which can solve the problems that the digital camera is connected with a display and a computer in a wired manner, the operation is complicated, and the distances between the digital camera and the display and between the digital camera and the computer are constrained by the length of the wires. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for controlling a camera, applied to a server, the method including:
acquiring a view finding image of a camera;
sending the framing image to a terminal device so that the terminal device can display the framing image to a user;
receiving a camera control instruction sent by the terminal equipment;
sending the camera control instruction to the camera so that the camera executes the camera control instruction.
According to the method for controlling the camera, the server can acquire the framing image of the camera; sending the framing image to a terminal device so that the terminal device presents the framing image to a user; receiving a camera control instruction sent by the terminal equipment; and then the camera control instruction is sent to the camera so that the camera can execute the camera control instruction, a user can check images shot by the camera in real time through the terminal equipment, and the user can carry out remote control operation on the camera through the terminal equipment far away from the camera, so that the camera control instruction is convenient to use and is not limited by distance.
In one embodiment, after sending the camera manipulation instruction to the camera, the method further comprises:
acquiring a photo and/or video file taken by the camera;
and sending the photo and/or the video file to the terminal equipment.
The obtained pictures and/or video files shot by the camera are sent to the terminal equipment, so that the users can conveniently view the pictures and/or video files through the terminal equipment.
In one embodiment, before sending the viewfinder image to the terminal device, the method further includes:
encoding the view image to generate an encoded view image;
transmitting the framing image to a terminal device includes:
and sending the coded view finding image to the terminal equipment.
By encoding the through image and transmitting the encoded through image to the terminal device, the security of data in the transmission process can be improved.
According to a second aspect of the embodiments of the present disclosure, there is provided a camera control method applied to a terminal device, the method including:
receiving a framing image sent by a server and displaying the framing image to a user so that the user can operate a camera according to the framing image;
receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal device;
determining a camera control instruction corresponding to the cursor movement information;
and sending the camera control instruction to a server.
According to the method for controlling the camera, the terminal equipment can receive the framing image sent by the server and display the framing image to a user, so that the user can operate the camera according to the framing image; receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of a terminal device; determining a camera control instruction corresponding to the cursor movement information; the camera control instruction is sent to the server, a user can check images shot by the camera in real time through the terminal equipment, and the user can carry out remote control operation on the camera through the terminal equipment far away from the camera, so that the camera control instruction is convenient to use and is not limited by distance.
In one embodiment, after the sending the camera control instruction to the server, the method further includes:
receiving a photo and/or video file sent by the server;
and if the viewing instruction of the user is received, displaying the photo and/or the video file to the user.
The photo and/or video file sent by the server is received, and when a viewing instruction of a user is received, the photo and/or video file is displayed to the user, and the user can view the photo and/or video file through the terminal equipment.
In one embodiment, the framing image is an encoded framing image, the method further comprising: decoding the view finding image to generate a decoded view finding image;
the presenting the framing image to a user includes:
and displaying the decoded view finding image to the user.
The through image can be restored by decoding the through image.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a camera, applied to a server, the apparatus including:
a framing image acquisition module for acquiring a framing image of the camera;
the framing image sending module is used for sending the framing image to the terminal equipment so that the terminal equipment can display the framing image to a user;
the camera control instruction receiving module is used for receiving a camera control instruction sent by the terminal equipment;
and the camera control instruction sending module is used for sending the camera control instruction to the camera so that the camera can execute the camera control instruction.
In one embodiment, the apparatus further comprises:
the video file acquisition module is used for acquiring the pictures and/or video files shot by the camera;
and the video file sending module is used for sending the photo and/or the video file to the terminal equipment.
In one embodiment, the apparatus further comprises:
the framing image coding module is used for coding the framing image and generating a coded framing image;
the framing image sending module is used for:
and sending the coded view finding image to the terminal equipment.
According to the device for controlling the camera, the server can acquire the framing image of the camera; sending the framing image to a terminal device so that the terminal device presents the framing image to a user; receiving a camera control instruction sent by the terminal equipment; and then the camera control instruction is sent to the camera so that the camera can execute the camera control instruction, a user can check images shot by the camera in real time through the terminal equipment, and the user can carry out remote control operation on the camera through the terminal equipment far away from the camera, so that the camera control instruction is convenient to use and is not limited by distance.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a camera, applied to a terminal device, the apparatus including:
the framing image receiving module is used for receiving the framing image sent by the server and displaying the framing image to a user so that the user can operate the camera according to the framing image;
the camera operation event receiving module is used for receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal device;
the camera control instruction determining module is used for determining a camera control instruction corresponding to the cursor movement information;
and the camera control instruction sending module is used for sending the camera control instruction to a server.
In one embodiment, the apparatus further comprises:
the video file receiving module is used for receiving the photos and/or the video files sent by the server;
and the video file display module is used for displaying the photo and/or the video file to the user if the viewing instruction of the user is received.
In one embodiment, the framing image is an encoded framing image, the apparatus further comprising:
the framing image decoding module is used for decoding the framing image to generate a decoded framing image;
a framing image receiving module, configured to present the framing image to a user, including:
and displaying the decoded view finding image to the user.
According to the device for controlling the camera, the terminal equipment can receive the framing image sent by the server and display the framing image to a user, so that the user can operate the camera according to the framing image; receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of a terminal device; determining a camera control instruction corresponding to the cursor movement information; the camera control instruction is sent to the server, a user can check images shot by the camera in real time through the terminal equipment, and the user can carry out remote control operation on the camera through the terminal equipment far away from the camera, so that the camera control instruction is convenient to use and is not limited by distance.
According to a fifth aspect of embodiments of the present disclosure, there is provided a server comprising a processor and a memory, the memory having stored therein at least one computer instruction, the instruction being loaded and executed by the processor to implement the steps performed in the method of controlling a camera of the first aspect and any of the embodiments of the first aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein at least one computer instruction, which is loaded and executed by a processor to implement the steps performed in the method for controlling a camera according to the first aspect and any of the embodiments of the first aspect.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a terminal device, the terminal device comprising a processor and a memory, the memory having stored therein at least one computer instruction, the instruction being loaded and executed by the processor to implement the steps performed in the method for controlling a camera according to the second aspect and any of the embodiments of the second aspect.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having at least one computer instruction stored therein, the instruction being loaded and executed by a processor to implement the steps performed in the method for controlling a camera according to the second aspect and any of the embodiments of the second aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of a system for controlling a camera according to an embodiment of the present disclosure;
fig. 2 is a signaling interaction diagram of a method of controlling a camera according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a connection relationship between a camera and a server according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a connection relationship between a terminal device and a server according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a method of controlling a camera provided according to an embodiment of the present disclosure;
fig. 6 is a first schematic diagram illustrating key operations of a digital single lens reflex provided in an embodiment of the present disclosure;
fig. 7 is a second schematic diagram illustrating key operations of a digital single lens reflex camera according to an embodiment of the disclosure;
FIG. 8 is a schematic diagram of an operation interface of a digital camera provided according to an embodiment of the present disclosure;
fig. 9 is a first structural diagram of an apparatus for controlling a camera according to an embodiment of the present disclosure;
fig. 10 is a second structural diagram of an apparatus for controlling a camera according to an embodiment of the present disclosure;
fig. 11 is a third structural diagram of an apparatus for controlling a camera according to an embodiment of the present disclosure;
fig. 12 is a third structural diagram of an apparatus for controlling a camera according to an embodiment of the present disclosure;
FIG. 13 is a block diagram of a server provided in accordance with an embodiment of the present disclosure;
fig. 14 is a block diagram of a terminal device provided according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic structural diagram of a system for controlling a camera according to an embodiment of the present disclosure. As shown in fig. 1, the system includes:
a camera 101, a server 102, and a terminal device 103. The camera 101, for example, a digital camera, is connected to the server 102 via an HDMI interface and a USB interface, and remote communication, including wireless communication, can be performed between the server 102 and the terminal device 103 via a network.
The server 102 is configured to acquire an image captured by the digital camera and transmit the image to the terminal device 103. The terminal device 103 is configured to receive a camera control instruction input by a user, and send the camera control instruction to the server, so that the server 103 sends the camera control instruction to the digital camera, and the digital camera executes the camera control instruction. The camera control command includes adjusting a focal length, parameter settings, etc. of the digital camera.
Therefore, the user can check the images shot by the digital camera in real time through the terminal equipment, and the user can control and operate the digital camera through the terminal equipment far away from the camera, so that the digital camera is convenient to use and is not limited by distance.
How the system for controlling a camera provided in the present embodiment controls a camera will be described below. Fig. 2 is a signaling interaction diagram of a method of controlling a camera according to an embodiment of the present disclosure. As shown in fig. 2, the method includes:
s201, a server acquires a framing image of a camera;
s202, the server sends the framing image to the terminal equipment, so that the terminal equipment presents the framing image to a user.
Illustratively, the server acquires a view image of the camera and then encodes the view image to generate an encoded view image; and then the coded view finding image is sent to the terminal equipment.
By encoding the through image and transmitting the encoded through image to the terminal device, the security of data in the transmission process can be improved.
S203, the terminal equipment receives the framing image sent by the server and displays the framing image to a user, so that the user can operate the camera according to the framing image.
In the implementation, after receiving the framing image sent by the server, the terminal equipment decodes the framing image to generate a decoded framing image; and displaying the decoded viewfinder image to a user so that the user can operate the camera according to the decoded viewfinder image. The through image can be restored by decoding the through image.
Illustratively, the terminal device may display the decoded through-view image on a screen, and present the decoded through-view image to a user. If the user needs to operate the camera according to the decoded viewfinder image after viewing the decoded viewfinder image, for example, the brightness of the decoded viewfinder image is insufficient, the exposure parameter needs to be adjusted, or the viewfinder image is normal, and the digital camera needs to be controlled to shoot or record video, an operation interface of the digital camera can be opened on the terminal device, and on the operation interface, various operations are performed on the camera, for example, parameters such as adjusting the exposure parameter, white balance, focal length, etc., shooting, recording video, etc., so that the user can operate the digital camera through a keyboard and a mouse, and can also operate the digital camera through a touch screen, etc.
S204, the terminal equipment receives a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal equipment;
and S205, the terminal equipment determines a camera control instruction corresponding to the cursor movement information.
Illustratively, function keys such as "delete", "shoot", "view", and the like may be provided on the operation interface of the terminal device, and when a user clicks the function keys such as "delete", "shoot", "view", and the like on the operation interface through a keyboard and mouse device or a touch screen of the terminal device, a camera operation event may be generated, where the camera operation event includes cursor movement information generated when the user operates the keyboard and mouse device or the touch screen of the terminal device, that is, cursor movement information generated on the operation interface when the user clicks the function keys such as "delete", "shoot", "view", and the like.
Presetting control instructions corresponding to all function keys on the digital camera on the terminal equipment; firstly, according to cursor movement information of a user operation event on an operation interface, judging an operation function which the user operation event is expected to execute, such as 'shooting'; then, a camera control instruction corresponding to the operation function is found from camera control instructions corresponding to function keys on a preset digital camera, for example, the control instruction corresponding to the "shooting" function is a shooting control instruction, that is, a "shutter" key is pressed once.
Since the digital camera cannot recognize the cursor movement information, the cursor movement information in the camera operation event needs to be converted into a camera control instruction that can be recognized by the digital camera, and then the digital camera can execute the camera control instruction to realize corresponding key operation.
And S206, the terminal equipment sends the camera control instruction to a server.
S207, the server receives a camera control instruction sent by the terminal equipment;
s208, the server sends the camera control instruction to the camera so that the camera can execute the camera control instruction.
The camera control command is taken as a shooting command for example. And after the terminal equipment determines that the camera control instruction corresponding to the cursor movement information is a shooting instruction, the shooting instruction is sent to the server. And the server receives the shooting instruction sent by the terminal equipment and sends the shooting instruction to the digital camera. After receiving the camera shooting instruction, the digital camera executes the shooting instruction, namely, executes the operation of pressing the shutter button once to shoot photos and/or videos.
Further, after the camera executes the shooting instruction, the shot pictures and/or videos are stored and picture and/or video files are generated. The server acquires photos and/or video files shot by the camera from the digital camera; and send the photo and/or video file to the terminal device. And the terminal equipment receives and stores the photo and/or video file sent by the service. After storage, if a viewing instruction of a user is received, the photo and/or video file is displayed on a display, and the photo and/or video in the photo and/or video file is displayed to the user.
According to the method for controlling the camera, the server can acquire the framing image of the camera; sending the framing image to a terminal device so that the terminal device can display the framing image to a user; the terminal equipment can receive the framing image sent by the server and display the framing image to a user so that the user can operate the camera according to the framing image; receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal device; determining a camera control instruction corresponding to the cursor movement information; sending the camera control instruction to a server; the server can also receive a camera control instruction sent by the terminal equipment; and the camera control instruction is sent to the camera so that the camera can execute the camera control instruction, a user can check images shot by the camera in real time through the terminal equipment, and the user can carry out remote control operation on the camera through the terminal equipment far away from the camera, so that the camera control instruction is convenient to use and is not limited by distance.
The method for controlling the camera according to the embodiment of the present disclosure is further described in detail with reference to fig. 3 to 7.
Referring to fig. 3, fig. 3 is a schematic diagram of a connection relationship between a camera and a server according to an embodiment of the present disclosure. As shown in fig. 3, the digital camera is connected to the server, i.e., the S-side device, through the USB interface and the HDMI interface, respectively. The HDMI is used for collecting a real-time view picture of the digital camera, and the USB is used for transmitting a camera operation event of a user and retrieving a shot picture.
Fig. 4 is a schematic diagram of a connection relationship between a terminal device and a server according to an embodiment of the present disclosure. The terminal equipment, namely R-end equipment, comprises a display and a keyboard and mouse. In addition, the R-end equipment can be connected with USB storage equipment. After the R-side device is connected to the S-side device through the ethernet, the real-time view image of the digital camera can be obtained through the image transmission channel, and the digital camera is reversely controlled through the reverse control channel, such as adjusting exposure parameters, white balance, focal length, and other parameters of the digital camera. The digital camera can reflect the result of the adjustment in the viewfinder, that is, the real-time view image collected by the S-side device is transmitted to the screen of the R-side device, and the user can operate the R-side device in the same manner as the camera is locally operated.
After the exposure parameters are adjusted to meet the requirements, the R-end equipment can be operated to shoot, and the pictures and/or videos shot by the digital camera are stored into pictures and/or video files. The S-end equipment can retrieve the photo or video file to the S-end equipment through the USB interface. In order to ensure that the photos and/or videos are not compressed, and the pixel values of the photos and/or videos are kept unchanged so as to improve the experience of a user in watching the photos or videos, after the S-end device acquires the photos and/or video file, the S-end device does not perform image coding and decoding operations on the photos and/or videos in the file, directly transmits the photos and/or videos to the R-end device, and downloads the photos and/or videos to the USB storage device or other network storage media connected with the R-end device through the R-end device.
In the system of controlling the camera, which is formed by combining fig. 3 and fig. 4, the S-side device collects the framing image from the image source device, i.e., the digital camera, encodes the collected framing image, transmits the encoded framing image to the R-side device, and the encoded framing image is input to the display after being decoded by the R-side device; and the R-end equipment sends the user operation event to the S-end equipment, the S-end equipment sends the user operation event to the image source equipment, and the image source equipment executes the operation event. It can be understood that two channels exist between the S-side device and the R-side device, an image transmission channel and a reverse control channel.
How the system for controlling the camera, which is composed in conjunction with fig. 3 and 4, controls the camera for remote photographing, will be described below. Fig. 5 is a flowchart of a method of controlling a camera according to an embodiment of the present disclosure. As shown in fig. 5, the method includes:
s501, the S-end equipment collects the framing image of the digital camera, codes the collected framing image and sends the coded data to the R-end equipment through an image transmission channel.
And S502, the R-end equipment decodes the received coded data and displays the coded data on a connected display.
S503, the R-end equipment acquires a camera operation event, and converts the camera operation event into a camera control instruction corresponding to the digital camera, wherein the camera operation event comprises cursor movement information, and the camera control instruction comprises key information.
In this step, the user opens an operation interface of the digital camera on the R-side device, and operates various functions on the operation interface, for example, adjusting parameters such as exposure parameters, white balance, focal length, etc., shooting, recording, etc., and the user may operate through a keyboard and a mouse, or may operate through other modes such as a touch screen, etc.; the R-end equipment acquires a camera operation event input by a user, and for convenience of explanation, the operation event directly acquired by the R-end equipment can be recorded as the camera operation event, and the camera operation event can include cursor movement information generated by key mouse or touch screen operation; the reason why the R-side device converts the camera operation event into the camera control command that can be analyzed by the digital camera is that the digital camera usually performs key operation, and cannot recognize cursor movement information, and the cursor movement information in the camera operation event needs to be converted into key information that can be recognized by the digital camera.
As shown in fig. 6 and 7, it can be seen that all functions of such digital cameras are implemented by keys, and therefore, cursor movement information in a camera operation event needs to be converted into key information that can be recognized by the digital camera.
Specifically, function keys such as "delete", "shoot", "check" and the like may be set on an operation interface of the R-side device, and each function key on the digital camera is preset in the R-side device to correspond to a camera control instruction, where the camera control instruction includes key information; firstly, according to cursor movement information in a camera operation event on an operation interface of the R-end device, judging an operation function which is expected to be executed by the camera operation event, such as 'shooting'; then, a camera control instruction corresponding to the operation function, for example, a shooting instruction corresponding to a "shooting" function, is found from camera control instructions corresponding to function keys on a preset digital camera, where the shooting instruction includes key information: the "shutter" button is pressed once. In this embodiment, a camera control instruction may be generated according to cursor movement information in a camera operation event, for example, according to cursor movement information of a "shooting" function key clicked by a user on an operation interface of the R-side device, the camera control instruction corresponding to the cursor movement information is determined to be a shooting instruction, and the shooting instruction includes key information of "pressing a" shutter "key once".
It should be noted that, if the digital camera is a normal digital camera and the operation interface on the digital camera is a touch screen, as shown in fig. 8, the layout of the operation interface of the R-side device and the operation interface on the digital camera may be set to be the same, so that the digital camera can identify the cursor movement information in the camera operation event, and the camera operation event may be directly sent to the S-side device without converting the camera operation event, and the S-side device forwards the camera operation event to the digital camera for execution.
The operation interface of the R-side device may be in the form of an Application (APP) interface, or may be in the form of a web page.
S504, the R-end equipment sends the camera control instruction to the S-end equipment through a reverse control channel; the S-terminal equipment sends the camera control instruction to the digital camera; the digital camera executes according to the camera control instruction.
It can be understood that the camera control command may include control commands for shooting, recording, viewing photos, adjusting parameters, etc., and the camera may implement the function of the camera control command through corresponding keys on the digital camera.
It should be noted that, in the prior art, a camera with a network function may be connected to a computer to implement remote shooting, and in general, the camera has a low definition for taking a picture, and cannot adjust parameters affecting the shooting quality, such as a focal length, an exposure parameter, and a white balance of shooting. The invention can remotely control the digital camera through the S-terminal device and the R-terminal device to obtain the original file which is shot by the digital camera and is not subjected to coding and decoding loss, wherein the original file comprises the file in the RAW format, so that the shot picture or video is clearer, and the parameters of the digital camera, such as exposure parameters, white balance, focal length and the like, can be adjusted through the S-terminal device and the R-terminal device.
Based on the method for controlling the camera described in the embodiment corresponding to fig. 2, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure.
Fig. 9 is a first structural diagram of an apparatus for controlling a server, which is applied to the server according to an embodiment of the present disclosure. As shown in fig. 9, the apparatus 90 includes:
a framing image acquisition module 901 for acquiring a framing image of the camera;
a framing image sending module 902, configured to send the framing image to a terminal device, so that the terminal device presents the framing image to a user;
a camera control instruction receiving module 903, configured to receive a camera control instruction sent by the terminal device;
a camera control instruction sending module 904, configured to send the camera control instruction to the camera, so that the camera executes the camera control instruction.
In one embodiment, as shown in fig. 10, fig. 10 is a second structural diagram of an apparatus for controlling a server according to an embodiment of the present disclosure, where the apparatus 90 further includes:
a video file obtaining module 905, configured to obtain a picture and/or a video file taken by the camera;
a video file sending module 906, configured to send the photo and/or the video file to the terminal device.
In one embodiment, as shown in fig. 10, the apparatus 90 further comprises:
a viewfinder image encoding module 907 for encoding the viewfinder image to generate an encoded viewfinder image;
the framing image sending module 902 is configured to:
and sending the coded view finding image to the terminal equipment.
The implementation process and technical effects of the apparatus for controlling a camera provided in the embodiment of the present disclosure can be seen in the embodiment of fig. 2, which is not described herein again.
Fig. 11 is a third structural diagram of an apparatus for controlling a server according to an embodiment of the present disclosure, where the apparatus is applied to a terminal device. As shown in fig. 11, the apparatus 110 includes:
a framing image receiving module 1101, configured to receive a framing image sent by a server and display the framing image to a user, so that the user can operate a camera according to the framing image;
a camera operation event receiving module 1102, configured to receive a camera operation event input by a user, where the camera operation event includes cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal device;
a camera control instruction determining module 1103, configured to determine a camera control instruction corresponding to the cursor movement information;
a camera control instruction sending module 1104, configured to send the camera control instruction to a server.
In one embodiment, as shown in fig. 12, fig. 12 is a fourth structural diagram of an apparatus for controlling a server according to an embodiment of the present disclosure, where the apparatus 11 further includes:
a video file receiving module 1105, configured to receive the photos and/or the video files sent by the server;
a video file display module 1106, configured to display the photo and/or the video file to the user if a viewing instruction of the user is received.
In one embodiment, as shown in fig. 12, the framing image is an encoded framing image, and the apparatus 11 further includes:
a framing image decoding module 1107, configured to decode the framing image to generate a decoded framing image;
a framing image receiving module 1102, configured to present the framing image to a user, including:
and displaying the decoded view finding image to the user.
The implementation process and technical effects of the apparatus for controlling a camera provided in the embodiment of the present disclosure can be seen in the embodiment of fig. 2, which is not described herein again.
Referring to fig. 13, fig. 13 is a block diagram of a server provided according to an embodiment of the present disclosure.
The server 130 includes:
a processor 1301 and a memory 1302, the memory 1302 having stored therein at least one computer instruction, which is loaded and executed by the processor 1301 to implement the steps performed by the server in the method of controlling a camera described in the corresponding embodiment of fig. 2.
Based on the method for controlling the camera described in the embodiment of fig. 2, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing steps executed by the server in the method for controlling a camera described in the embodiment corresponding to fig. 2, and details are not repeated here.
Referring to fig. 14, fig. 14 is a structural diagram of a terminal device according to an embodiment of the disclosure. The terminal device 140 includes:
a processor 1401 and a memory 1402, wherein the memory 1402 stores at least one computer instruction, and the instruction is loaded and executed by the processor 1401 to implement the steps executed by the terminal device in the method for controlling the camera described in the embodiment corresponding to fig. 2.
Based on the method for controlling the camera described in the embodiment of fig. 2, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing steps executed by the terminal device in the method for controlling a camera described in the embodiment corresponding to fig. 2, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for controlling a camera, applied to a server, the method comprising:
acquiring a view finding image of a camera;
sending the framing image to a terminal device so that the terminal device can display the framing image to a user;
receiving a camera control instruction sent by the terminal equipment;
sending the camera control instruction to the camera so that the camera executes the camera control instruction.
2. The method of claim 1, wherein after sending the camera manipulation instruction to the camera, the method further comprises:
acquiring a photo and/or video file taken by the camera;
and sending the photo and/or the video file to the terminal equipment.
3. The method of claim 1, wherein before sending the viewfinder image to a terminal device, the method further comprises:
encoding the view image to generate an encoded view image;
transmitting the framing image to a terminal device includes:
and sending the coded view finding image to the terminal equipment.
4. A method for controlling a camera, applied to a terminal device, the method comprising:
receiving a framing image sent by a server and displaying the framing image to a user so that the user can operate a camera according to the framing image;
receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal device;
determining a camera control instruction corresponding to the cursor movement information;
and sending the camera control instruction to a server.
5. The method of claim 4, wherein after sending the camera control instruction to a server, the method further comprises:
receiving a photo and/or video file sent by the server;
and if the viewing instruction of the user is received, displaying the photo and/or the video file to the user.
6. The method of claim 4, wherein the viewfinder image is an encoded viewfinder image, the method further comprising: decoding the view finding image to generate a decoded view finding image;
the presenting the framing image to a user includes:
and displaying the decoded view finding image to the user.
7. An apparatus for controlling a camera, applied to a server, the apparatus comprising:
a framing image acquisition module for acquiring a framing image of the camera;
the framing image sending module is used for sending the framing image to the terminal equipment so that the terminal equipment can display the framing image to a user;
the camera control instruction receiving module is used for receiving a camera control instruction sent by the terminal equipment;
and the camera control instruction sending module is used for sending the camera control instruction to the camera so that the camera can execute the camera control instruction.
8. The apparatus of claim 7, further comprising:
the video file acquisition module is used for acquiring the pictures and/or video files shot by the camera;
and the video file sending module is used for sending the photo and/or the video file to the terminal equipment.
9. An apparatus for controlling a camera, applied to a terminal device, the apparatus comprising:
the framing image receiving module is used for receiving the framing image sent by the server and displaying the framing image to a user so that the user can operate the camera according to the framing image;
the camera operation event receiving module is used for receiving a camera operation event input by a user, wherein the camera operation event comprises cursor movement information generated when the user operates a keyboard and mouse device or a touch screen of the terminal device;
the camera control instruction determining module is used for determining a camera control instruction corresponding to the cursor movement information;
and the camera control instruction sending module is used for sending the camera control instruction to a server.
10. The apparatus of claim 9, further comprising:
the video file receiving module is used for receiving the photos and/or the video files sent by the server;
and the video file display module is used for displaying the photo and/or the video file to the user if the viewing instruction of the user is received.
CN202010485418.1A 2020-06-01 2020-06-01 Method and device for controlling camera Pending CN112291470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010485418.1A CN112291470A (en) 2020-06-01 2020-06-01 Method and device for controlling camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010485418.1A CN112291470A (en) 2020-06-01 2020-06-01 Method and device for controlling camera

Publications (1)

Publication Number Publication Date
CN112291470A true CN112291470A (en) 2021-01-29

Family

ID=74420255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010485418.1A Pending CN112291470A (en) 2020-06-01 2020-06-01 Method and device for controlling camera

Country Status (1)

Country Link
CN (1) CN112291470A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727023A (en) * 2022-06-07 2022-07-08 杭州星犀科技有限公司 Method and system for adjusting camera parameters

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610282A (en) * 2003-10-21 2005-04-27 鸿富锦精密工业(深圳)有限公司 Network visual communication remote control system and method
CN102497502A (en) * 2011-11-25 2012-06-13 浙江省电力公司 Method and system for controlling remote monitoring by utilizing visual telephone
CN106303254A (en) * 2016-08-30 2017-01-04 维沃移动通信有限公司 A kind of remotely filming control method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610282A (en) * 2003-10-21 2005-04-27 鸿富锦精密工业(深圳)有限公司 Network visual communication remote control system and method
CN102497502A (en) * 2011-11-25 2012-06-13 浙江省电力公司 Method and system for controlling remote monitoring by utilizing visual telephone
CN106303254A (en) * 2016-08-30 2017-01-04 维沃移动通信有限公司 A kind of remotely filming control method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727023A (en) * 2022-06-07 2022-07-08 杭州星犀科技有限公司 Method and system for adjusting camera parameters

Similar Documents

Publication Publication Date Title
KR101725888B1 (en) Method and apparatus for providing image in camera or remote-controller for camera
US7657056B2 (en) Apparatus for identifying a photographer of an image
US9251765B2 (en) Image processing device, image processing method, and program for generating composite image
US8456535B2 (en) Imaging apparatus and imaging method
KR20170012178A (en) Method and apparatus for obtaining video content
EP2866434A1 (en) Imaging apparatus
CN112584049A (en) Remote interaction method and device, electronic equipment and storage medium
JP2021111943A (en) Image processing device and control method thereof, program, and storage medium
CN112291470A (en) Method and device for controlling camera
JP4921323B2 (en) Image processing apparatus and control method thereof
KR100308311B1 (en) Method Of Image Recording Of Picturephone
US20080174697A1 (en) Apparatus of processing image sections and control method thereof
KR100678035B1 (en) Device and method for identifying photographer of image in terminal using camera
JP2017143554A (en) Imaging device and control method
JP2023099480A (en) Information processing device, control method of the same, image processing device, and image processing system
CN113691815B (en) Video data processing method, device and computer readable storage medium
CN111107316B (en) Image display method, device and system
JP2019129466A (en) Video display device
JP2019075638A (en) Image processing device
KR20020015219A (en) Apparatus and method for video transmission in video conferencing system
CN112948046A (en) Screen capturing method, device, equipment and storage medium
WO2015125420A1 (en) Imaging apparatus and imaging system
KR101789674B1 (en) Non-realtime image processing method, image picturing apparatus and image processing system thereof
CN110677590A (en) Photography control system
KR20090001627A (en) Public system for interactive contents

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