CN116366970A - Control method, device, equipment and medium for binocular camera under hong Mongolian system - Google Patents

Control method, device, equipment and medium for binocular camera under hong Mongolian system Download PDF

Info

Publication number
CN116366970A
CN116366970A CN202310281900.7A CN202310281900A CN116366970A CN 116366970 A CN116366970 A CN 116366970A CN 202310281900 A CN202310281900 A CN 202310281900A CN 116366970 A CN116366970 A CN 116366970A
Authority
CN
China
Prior art keywords
camera
started
binocular
application instruction
hong
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
CN202310281900.7A
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.)
Honghu Wanlian Jiangsu Technology Development Co ltd
Original Assignee
Honghu Wanlian Jiangsu Technology Development 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 Honghu Wanlian Jiangsu Technology Development Co ltd filed Critical Honghu Wanlian Jiangsu Technology Development Co ltd
Priority to CN202310281900.7A priority Critical patent/CN116366970A/en
Publication of CN116366970A publication Critical patent/CN116366970A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/62Control of parameters via user interfaces
    • 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
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a control method, a device, equipment and a medium for a binocular camera under a hong Mongolian system. A control method of a binocular camera under a hong Mongolian system comprises the following steps: configuring a binocular camera composite HDF frame driver in a hong Monte system; acquiring a camera application instruction, and determining at least one camera to be started according to the camera application instruction; and controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction. The technical scheme of the embodiment of the invention can reduce the system overhead and the resource occupation amount when the hong Mongolian system controls the binocular camera.

Description

Control method, device, equipment and medium for binocular camera under hong Mongolian system
Technical Field
The invention relates to the field of control of binocular cameras, in particular to a control method, a device, equipment and a medium of a binocular camera under a hong and Monte-cover system.
Background
At present, the implementation of a binocular camera based on an OpenHarmony open source system has no special implementation mechanism, and the binocular camera is regarded as two independent camera devices, so that 2 HDF (Harmony Driver Fundation, one frame under the Hongkong standard series) device drivers need to be respectively loaded when in use, and the processes and logic for simultaneously managing the 2 camera devices also need to be developed at an application and service layer, so that the system overhead and the resource occupation are large.
Disclosure of Invention
The invention provides a control method, a device, equipment and a medium for a binocular camera under a hong and Monte-ging system, which are used for solving the problems of high system overhead and large resource occupation existing in the control of the binocular camera by the hong and Monte-ging system.
According to one aspect of the present invention, there is provided a control method for a binocular camera under a hong and Monte-ging system, comprising:
configuring a binocular camera composite HDF frame driver in a hong Monte system;
acquiring a camera application instruction, and determining at least one camera to be started according to the camera application instruction;
and controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction.
According to another aspect of the present invention, there is provided a control device for binocular cameras under a hong and Monte system, comprising:
the composite frame configuration module is used for configuring a binocular camera composite HDF frame driver in the hong Monte system;
the camera to be started determining module is used for acquiring a camera application instruction and determining at least one camera to be started according to the camera application instruction;
and the camera control module to be started is used for controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method for controlling a binocular camera in a hong and Monte Carlo system according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the method for controlling a binocular camera in a hong and Monte-face system according to any one of the embodiments of the present invention.
According to the technical scheme, the binocular camera composite HDF frame driver is configured in the hong Monte-Meng system, so that camera application instructions are obtained, at least one camera to be started is determined according to the camera application instructions, and further the at least one camera to be started is controlled to work according to the binocular camera composite HDF frame driver and the camera application instructions. In this scheme, the compound HDF frame drive of binocular camera can regard as a equipment to control binocular camera, need not two sets of complete cameras to follow the service on bottom to upper strata, and according to camera application instruction and the compound HDF frame drive of binocular camera, can intelligent nimble camera that needs work among the control binocular camera, the system overhead that has solved hong Mongolian system control binocular camera existence is big and the great problem of resource occupation, system overhead and resource occupation volume when can reducing hong Mongolian system control binocular camera.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a control method of a binocular camera under a hong and Monte-ging system according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of a binocular camera under a hong and Monte-ging system according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a control device for a binocular camera under a hong and Monte-ging system according to a third embodiment of the present invention;
fig. 4 shows a schematic diagram of the structure of an electronic device that may be used to implement an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for controlling a binocular camera under a hong and Monte-Care system according to an embodiment of the present invention, where the method may be performed by a control device for controlling a binocular camera under a hong and Monte-Care system, and the control device for controlling a binocular camera under a hong and Monte-Care system may be implemented in hardware and/or software, and the control device for controlling a binocular camera under a hong and Monte-Care system may be configured in an electronic device. As shown in fig. 1, the method includes:
s110, configuring a binocular camera composite HDF frame driver in the hong Monte system.
The double-camera composite HDF frame driving can be an HDF driving obtained by double-flow architecture design based on a hong-Mong system camera driving frame and is used for driving equipment of the double-camera. The HDI implementation layer of the hong system provides a standard southbound interface to the hong system camera. The frame layer of the hong Mongolian system is connected with the control of the HDI realization layer and the forwarding of the stream, thereby realizing the construction of a data path, managing the functions of camera hardware devices and the like. The device adaptation layer of the hong Mongolian System can shield the difference between an underlying chip and an OS (Operation System) and support multi-platform adaptation.
In the embodiment of the invention, the dual-flow architecture transformation can be carried out on the original camera driving frame aiming at the Platform Adapter component, the device Manager component and the Pipe Line Core component in the system service layer in the hong Monte system, so as to obtain the double-mesh camera composite HDF frame driving.
S120, acquiring a camera application instruction, and determining at least one camera to be started according to the camera application instruction.
The camera application instruction may be an instruction generated by the hong system for controlling the binocular camera when the user selects the camera function. The camera to be started can be a camera which needs to be started in binocular cameras controlled by a hong Mongolian system.
In the embodiment of the invention, the binocular camera function triggered by the user can be obtained, further, a camera application instruction is created according to the triggered binocular camera function, and at least one camera to be started is determined through analysis of the camera application instruction.
S130, controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction.
Correspondingly, after the camera to be started is determined, two data streams for controlling the binocular camera can be further generated according to the binocular camera composite HDF frame drive and the camera application instruction, so that at least one camera to be started is controlled to work according to the generated two data streams, and the complexity of code implementation and development cost of application or service of the binocular camera can be reduced.
Optionally, the data stream of the camera can be created by driving the HDI interface definition through the composite HDF framework of the binocular camera, and the binocular camera needs to create two data streams. Each data stream corresponds to one of the binocular cameras.
When only one camera to be started is controlled to work, one of the two data streams is in an idle state, and when the two cameras to be started are controlled to work, the two data streams work and the two cameras to be started are respectively controlled to work. Illustratively, when std is 2, then two cameras to be started work simultaneously, and when size is 1, then one camera to be started is designated for data stream work.
According to the technical scheme, the binocular camera composite HDF frame driver is configured in the hong Monte-Meng system, so that camera application instructions are obtained, at least one camera to be started is determined according to the camera application instructions, and further the at least one camera to be started is controlled to work according to the binocular camera composite HDF frame driver and the camera application instructions. In this scheme, the compound HDF frame drive of binocular camera can regard as a equipment to control binocular camera, need not two sets of complete cameras to follow the service on bottom to upper strata, and according to camera application instruction and the compound HDF frame drive of binocular camera, can intelligent nimble camera that needs work among the control binocular camera, the system overhead that has solved hong Mongolian system control binocular camera existence is big and the great problem of resource occupation, system overhead and resource occupation volume when can reducing hong Mongolian system control binocular camera.
Example two
Fig. 2 is a flowchart of a control method of a binocular camera under a hong and Monte system according to a second embodiment of the present invention, which is embodied based on the above embodiment, and provides a specific alternative implementation manner of configuring a composite HDF frame driver of the binocular camera in the hong and Monte system. As shown in fig. 2, the method includes:
s210, acquiring first component configuration data of a Platform Adapter component, second component configuration data of a device Manager component and third component configuration data of a PipeLine Core component.
The first component configuration data may be configuration data of a Platform Adapter component. The first component configuration data may include, but is not limited to, configuration data of MPP and V4L 2. The second component configuration data may be configuration data of a device Manager component. The second component configuration data may include, but is not limited to, configuration data of Flash Controller, sensor Controller, isopcontroller, and the like. The third component configuration data may be configuration data of a PipeLine Core component. The third component configuration data may include, but is not limited to, configuration data of HostStream, streamPipeLineCore, nodes or the like.
In the embodiment of the invention, the public data of the hong Monte System can be searched, and the first component configuration data of the Platform Adapter component, the second component configuration data of the device Manager component and the third component configuration data of the PipeLine Core component under the camera frame of the hong Monte System are determined.
S220, carrying out data backup processing on the first component configuration data in the Platform Adapter component, carrying out data backup processing on the second component configuration data in the device Manager component, and carrying out data backup processing on the third component configuration data in the PipeLine Core component to obtain the binocular camera composite HDF frame driver.
In the embodiment of the invention, the first component configuration data can be subjected to data backup processing in the Platform Adapter component, so that the Platform Adapter component has two complete configurations; the second component configuration data is subjected to data backup processing in the device Manager component, so that the device Manager component has two complete configurations; and carrying out data backup processing on the third component configuration data in the PipeLine Core component, so that two complete sets of configuration of the PipeLine Core component can exist. The binocular camera composite HDF frame driver is obtained by carrying out data backup processing on the Platform Adapter component, the device Manager component and the PipeLine Core component, and can support a hong Monte-ging system to simultaneously generate two data streams so as to control the binocular camera.
S230, acquiring a camera application instruction, and determining at least one camera to be started according to the camera application instruction.
In an optional embodiment of the invention, before acquiring the camera application instruction, the method may further include: acquiring attribute configuration data of the binocular camera; and configuring each camera of the binocular camera based on the binocular camera attribute configuration data.
The binocular camera attribute configuration data may be working parameters of the binocular camera. Binocular camera attribute configuration data may include, but is not limited to, exposure and brightness parameters, etc.
In the embodiment of the invention, the attribute configuration data of the binocular camera matched with the binocular camera can be determined according to the camera type of the binocular camera, so that the attribute configuration is carried out on two cameras of the binocular camera based on one piece of the attribute configuration data of the binocular camera, and related interfaces are set based on the original mechanism without changing.
In an alternative embodiment of the present invention, acquiring the camera application instruction may include: determining a camera starting function; when the camera starting function is a preview function, a first camera application instruction is generated, and when the camera starting function is a photographing function, a second camera application instruction is generated.
The camera start function may be a camera application function actually selected by the user. The first camera application instruction may be a camera application instruction generated when the function started by the binocular camera is a preview function. The second camera application instruction may be a camera application instruction generated when the function started by the binocular camera is a photographing function.
In the embodiment of the invention, the camera starting function selected by the user can be determined first, so that when the camera starting function is the preview function, only one camera in the binocular cameras can be determined to be started, and the first camera application instruction is correspondingly generated. When the camera starting function is a photographing function, two cameras in the binocular cameras can be determined to be started, and a second camera application instruction is correspondingly generated. In addition, the user can specify which camera of the binocular cameras is specifically started, and a corresponding camera application instruction is generated based on the needs of the user.
In an optional embodiment of the present invention, determining at least one camera to be started according to the camera application instruction may include: when the camera application instruction is a first camera application instruction, determining a camera to be started, and when the camera application instruction is a second camera application instruction, determining two cameras to be started.
In the embodiment of the invention, when the camera application instruction is the first camera application instruction, it can be determined that only the main camera in the binocular camera needs to be started, and the camera to be started is the main camera in the binocular camera. When the camera application instruction is the second camera application instruction, it can be determined that two cameras in the binocular cameras need to be started, and the cameras to be started are all cameras in the binocular cameras.
S240, controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction.
In an alternative embodiment of the present invention, controlling at least one camera to be started to operate according to the binocular camera composite HDF frame driver and the camera application command may include: when the camera application instruction is a first camera application instruction, generating a first control data stream based on the binocular camera composite HDF frame drive and the first camera application instruction, and controlling a camera to be started to work through the first control data stream; when the camera application instruction is a second camera application instruction, a first control data stream and a second control data stream are generated based on the binocular camera composite HDF frame drive and the second camera application instruction, and two cameras to be started work are controlled through the first control data stream and the second control data stream.
The first control data stream may be a data stream for controlling the main camera of the binocular camera to work. The second control data stream may be a data stream that controls the operation of an auxiliary camera of the binocular camera. The main camera of the binocular camera may be a camera having a function of photographing a color image. The auxiliary camera in the binocular camera can be a camera with the function of shooting infrared images.
In the embodiment of the invention, if the camera application instruction is the first camera application instruction, the first control data stream can be created based on the first camera application instruction and combined with the double-camera composite HDF frame driver, so that the camera to be started, which is the main camera in the double-camera, is controlled based on the first control data stream, and the second control data stream which is generated simultaneously with the first control data stream is run empty, so that the auxiliary cameras in the double-camera are not controlled. If the camera application instruction is a second camera application instruction, a first control data stream and a second control data stream can be created based on the second camera application instruction and combined with the binocular camera composite HDF frame driver, so that the camera to be started, which is used as a main camera in the binocular camera, is controlled based on the first control data stream, and the camera to be started, which is used as an auxiliary camera in the binocular camera, is controlled based on the second control data stream.
The data flow of the first control data flow is the same as the overall data flow of the second control data flow (the data captured by the cameras in the binocular cameras is sent to the Platform Adapter component through HDI, after the Platform Adapter component processes the data, the processing result of the Platform Adapter component is sent to the device Manager component to process the data, the processing result of the device Manager component is sent to the PipeLine Core component, after the PipeLine Core component processes the data, the data is sent to the Buffer Manager component to process the data). The difference is that the first control data stream does not flow through the backup structures of the Platform Adapter component, the device Manager component, and the PipeLine Core component, and the second control data stream only flows through the backup structures of the Platform Adapter component, the device Manager component, and the PipeLine Core component.
In an optional embodiment of the present invention, according to the binocular camera composite HDF frame driving and the camera application instruction, controlling the operation of at least one camera to be started may further include: when the two cameras to be started work simultaneously, capturing data by the cameras of the two cameras to be started based on a static function, and performing function static processing.
The camera capturing data may be image data captured when the camera is to be started to work.
In the embodiment of the invention, when two cameras to be started in the binocular cameras work, the function stationarization processing can be performed on the captured data of the cameras to be started based on the static function, so that the frame synchronization of the acquired data of the two cameras is ensured.
In the scheme, the binocular camera composite HDF framework under the hong Mongolian system drives two devices capable of simultaneously managing the binocular cameras, and the overhead of system resources is reduced, and especially the control efficiency of the devices is improved by simultaneously using the two cameras, namely by simultaneously using the two cameras or only using the specific cameras. The binocular camera HDF drive can identify and match the binocular camera equipment, and equipment which does not contain the binocular camera can not be loaded, but only the HDF drive of the original hong Mongolian system. The binocular camera can ensure high real-time frame synchronization during previewing and photographing, and can be regarded as one device when application or service needs to use the binocular camera, so that development complexity is greatly reduced, and development efficiency is improved.
According to the technical scheme, the first component configuration data of the Platform Adapter component, the second component configuration data of the device Manager component and the third component configuration data of the Pipe Line Core component are obtained, so that the first component configuration data is subjected to data backup processing in the Platform Adapter component, the second component configuration data is subjected to data backup processing in the device Manager component, the third component configuration data is subjected to data backup processing in the Pipe Line Core component, a binocular camera composite HDF frame driver is obtained, camera application instructions are further obtained, at least one camera to be started is determined according to the camera application instructions, and at least one camera to be started is further controlled to work according to the binocular camera composite HDF frame driver and the camera application instructions. In this scheme, the compound HDF frame drive of binocular camera can regard as a equipment to control binocular camera, need not two sets of complete cameras to follow the service on bottom to upper strata, and according to camera application instruction and the compound HDF frame drive of binocular camera, can intelligent nimble camera that needs work among the control binocular camera, the system overhead that has solved hong Mongolian system control binocular camera existence is big and the great problem of resource occupation, system overhead and resource occupation volume when can reducing hong Mongolian system control binocular camera.
Example III
Fig. 3 is a schematic structural diagram of a control device for a binocular camera under a hong and Monte-ging system according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a composite frame configuration module 310, a camera determination to be activated module 320, and a camera control to be activated module 330, wherein,
the composite frame configuration module 310 is configured to configure a binocular camera composite HDF frame driver in a hong Monte system;
the camera to be started determining module 320 is configured to obtain a camera application instruction, and determine at least one camera to be started according to the camera application instruction;
the camera control module to be started 330 is configured to control at least one camera to be started to work according to the binocular camera composite HDF frame driver and the camera application instruction.
According to the technical scheme, the binocular camera composite HDF frame driver is configured in the hong Monte-Meng system, so that camera application instructions are obtained, at least one camera to be started is determined according to the camera application instructions, and further the at least one camera to be started is controlled to work according to the binocular camera composite HDF frame driver and the camera application instructions. In this scheme, the compound HDF frame drive of binocular camera can regard as a equipment to control binocular camera, need not two sets of complete cameras to follow the service on bottom to upper strata, and according to camera application instruction and the compound HDF frame drive of binocular camera, can intelligent nimble camera that needs work among the control binocular camera, the system overhead that has solved hong Mongolian system control binocular camera existence is big and the great problem of resource occupation, system overhead and resource occupation volume when can reducing hong Mongolian system control binocular camera.
Optionally, the composite framework configuration module 310 is specifically configured to obtain first component configuration data of the Platform Adapter component, second component configuration data of the device Manager component, and third component configuration data of the PipeLine Core component; and carrying out data backup processing on the first component configuration data in the Platform Adapter component, carrying out data backup processing on the second component configuration data in the device Manager component, and carrying out data backup processing on the third component configuration data in the PipeLine Core component to obtain the binocular camera composite HDF frame driver.
Optionally, the control device of the binocular camera under the hong Mongolian system comprises a camera configuration module, a camera control module and a camera control module, wherein the camera configuration module is used for acquiring attribute configuration data of the binocular camera; and configuring each camera of the binocular camera based on the binocular camera attribute configuration data.
Optionally, the camera determining module 320 to be started includes a camera application instruction obtaining unit, configured to determine a camera starting function; and when the camera starting function is a shooting function, generating a second camera application instruction.
Optionally, the camera to be started determining module 320 includes a camera to be started determining unit, configured to determine one camera to be started when the camera application instruction is the first camera application instruction, and determine two cameras to be started when the camera application instruction is the second camera application instruction.
Optionally, the camera control module 330 to be started is specifically configured to generate a first control data stream based on the binocular camera composite HDF frame driver and the first camera application instruction when the camera application instruction is the first camera application instruction, and control a to-be-started camera to work through the first control data stream; and when the camera application instruction is the second camera application instruction, generating a first control data stream and a second control data stream based on the binocular camera composite HDF frame drive and the second camera application instruction, and controlling two cameras to be started to work through the first control data stream and the second control data stream.
Optionally, the control device of the binocular camera under the hong Mongolian system comprises a function stationarity processing module, which is used for capturing data of the two cameras to be started based on a static function when the two cameras to be started work simultaneously, and performing function stationarity processing.
The control device for the binocular camera under the hong and Monte system provided by the embodiment of the invention can execute the control method for the binocular camera under the hong and Monte system provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the control method of a binocular camera in a hong and Monte Carlo system.
In some embodiments, the method of controlling a binocular camera under a hong Mongolian system may be implemented as a computer program, which is tangibly embodied on a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the control method of the binocular camera under the hong system described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the control method of the binocular camera under the hong system in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A control method of a binocular camera under a hong Mongolian system is characterized by comprising the following steps:
configuring a binocular camera composite HDF frame driver in a hong Monte system;
acquiring a camera application instruction, and determining at least one camera to be started according to the camera application instruction;
and controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction.
2. The method of claim 1, wherein configuring a binocular camera composite HDF frame drive in a hong and Monte system comprises:
acquiring first component configuration data of a Platform Adapter component, second component configuration data of a device Manager component and third component configuration data of a PipeLine Core component;
and carrying out data backup processing on the first component configuration data in the Platform Adapter component, carrying out data backup processing on the second component configuration data in the device Manager component, and carrying out data backup processing on the third component configuration data in the PipeLine Core component to obtain the binocular camera composite HDF frame driver.
3. The method of claim 2, further comprising, prior to the obtaining camera application instructions:
acquiring attribute configuration data of the binocular camera;
and configuring each camera of the binocular camera based on the binocular camera attribute configuration data.
4. The method of claim 3, wherein the obtaining camera application instructions comprises:
determining a camera starting function;
and when the camera starting function is a shooting function, generating a second camera application instruction.
5. The method of claim 4, wherein the determining at least one camera to be started according to the camera application instruction comprises:
and determining one camera to be started when the camera application instruction is the first camera application instruction, and determining two cameras to be started when the camera application instruction is the second camera application instruction.
6. The method of claim 5, wherein controlling at least one of the cameras to be started to operate according to the binocular camera composite HDF framework driver and the camera application instructions comprises:
when the camera application instruction is the first camera application instruction, generating a first control data stream based on the binocular camera composite HDF frame driver and the first camera application instruction, and controlling a camera to be started to work through the first control data stream;
and when the camera application instruction is the second camera application instruction, generating a first control data stream and a second control data stream based on the binocular camera composite HDF frame drive and the second camera application instruction, and controlling two cameras to be started to work through the first control data stream and the second control data stream.
7. The method of claim 1, wherein the controlling at least one of the cameras to be started while operating according to the binocular camera composite HDF framework driver and the camera application instructions further comprises:
and when the two cameras to be started work simultaneously, capturing data of the two cameras to be started based on a static function, and performing function static processing.
8. A control device for binocular cameras in a hong-and-Monte system, comprising:
the composite frame configuration module is used for configuring a binocular camera composite HDF frame driver in the hong Monte system;
the camera to be started determining module is used for acquiring a camera application instruction and determining at least one camera to be started according to the camera application instruction;
and the camera control module to be started is used for controlling at least one camera to be started to work according to the binocular camera composite HDF frame drive and the camera application instruction.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of controlling a binocular camera under the hong system of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to execute the method for controlling a binocular camera under the hong and Monte Cary system of any one of claims 1-7.
CN202310281900.7A 2023-03-21 2023-03-21 Control method, device, equipment and medium for binocular camera under hong Mongolian system Pending CN116366970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310281900.7A CN116366970A (en) 2023-03-21 2023-03-21 Control method, device, equipment and medium for binocular camera under hong Mongolian system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310281900.7A CN116366970A (en) 2023-03-21 2023-03-21 Control method, device, equipment and medium for binocular camera under hong Mongolian system

Publications (1)

Publication Number Publication Date
CN116366970A true CN116366970A (en) 2023-06-30

Family

ID=86913314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310281900.7A Pending CN116366970A (en) 2023-03-21 2023-03-21 Control method, device, equipment and medium for binocular camera under hong Mongolian system

Country Status (1)

Country Link
CN (1) CN116366970A (en)

Similar Documents

Publication Publication Date Title
CN112540806B (en) Method and device for rendering small program page, electronic equipment and storage medium
US20160283266A1 (en) Flow topology of computer transactions
CN112925811B (en) Method, apparatus, device, storage medium and program product for data processing
CN116662039B (en) Industrial information parallel detection method, device and medium based on shared memory
CN116366970A (en) Control method, device, equipment and medium for binocular camera under hong Mongolian system
CN116225312A (en) Mirror image cleaning method and device, electronic equipment and storage medium
CN113110920B (en) Operation method, device, equipment and storage medium of block chain system
US12026541B2 (en) Method for applet page rendering, electronic device and storage medium
CN116069497A (en) Method, apparatus, device and storage medium for executing distributed task
CN113836455A (en) Special effect rendering method, device, equipment, storage medium and computer program product
CN112905270A (en) Workflow implementation method, device, platform, electronic equipment and storage medium
CN116579914B (en) Execution method and device of graphic processor engine, electronic equipment and storage medium
CN117057411B (en) Large language model training method, device, equipment and storage medium
CN114741072B (en) Page generation method, device, equipment and storage medium
CN115767179A (en) Video stream processing method, system, electronic device and storage medium
CN117472774A (en) Interface testing method, device, electronic equipment and storage medium
CN115640477A (en) Content recommendation method, device, equipment, medium and product of application program home page
CN114816433A (en) Encoding method, system, device and medium in project based on asynchronous programming
CN117573267A (en) Application program data display method, system, electronic equipment and storage medium
CN117407111A (en) Method and device for starting graphic display service, electronic equipment and storage medium
CN117193726A (en) Parallel design method and device of software, electronic equipment and medium
CN118069280A (en) Rendering method, device, equipment and storage medium
CN106775917B (en) Method and system for starting virtual machine
CN117635073A (en) Data processing method, device, equipment and storage medium
CN118397132A (en) Curve drawing method and device, electronic equipment and storage medium

Legal Events

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