CN112887531B - Video processing method, device and system for camera and computer equipment - Google Patents

Video processing method, device and system for camera and computer equipment Download PDF

Info

Publication number
CN112887531B
CN112887531B CN202110047378.7A CN202110047378A CN112887531B CN 112887531 B CN112887531 B CN 112887531B CN 202110047378 A CN202110047378 A CN 202110047378A CN 112887531 B CN112887531 B CN 112887531B
Authority
CN
China
Prior art keywords
video data
focal length
camera
multiplying power
lens
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.)
Active
Application number
CN202110047378.7A
Other languages
Chinese (zh)
Other versions
CN112887531A (en
Inventor
覃长洪
王国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110047378.7A priority Critical patent/CN112887531B/en
Publication of CN112887531A publication Critical patent/CN112887531A/en
Application granted granted Critical
Publication of CN112887531B publication Critical patent/CN112887531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • 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/67Focus control based on electronic image sensor signals
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

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

Abstract

The application relates to a video processing method, a device, a system and computer equipment of a camera, wherein a plurality of lenses are arranged in a cavity of the camera, and the focal length value ranges of the plurality of lenses are different; the video processing method of the video camera obtains the multipath video data acquired by the plurality of lenses; acquiring the type of current video data processing of the camera, wherein the type of the current video data processing is at least one of the following: target tracking and video structuring; according to the type of the current video data processing, multiple paths of video data are combined and output or multiple paths of video data are output in a branching mode, the problem that target travel tracking is incomplete due to the fact that a zoom lens has a certain range of a camera applied to a general scene is solved, and the integrity of the camera of the general scene on the target travel tracking is improved.

Description

Video processing method, device and system for camera and computer equipment
Technical Field
The present disclosure relates to the field of video camera technologies, and in particular, to a video processing method, apparatus, system, and computer device for a video camera.
Background
The user has higher and higher requirements on video monitoring, the camera is required to be seen and clearly seen from the past, and the user can see the camera at present, so that the manual intervention is greatly reduced no matter intelligent tracking is performed or the machine is identified by a person other than the person, and the target identification accuracy of the camera is higher and higher along with the general use of the deep learning technology, so that the intelligent analysis application is wider and wider. The intelligent analysis comprises target tracking and video structuring, wherein the video tracking means that a user draws a rule line or a rule frame in a video picture in advance, if the target violates a rule, the tracking is triggered, a camera automatically controls a holder and zooming, and the target is continuously tracked until the target disappears; video structuring refers to identifying objects (e.g., motor vehicles, non-motor vehicles, people, etc.) by intelligent algorithms and then extracting attributes of the objects, such as: license plate, body color, non-locomotive type, clothing color of a person, whether a person wears glasses, etc.
In the related art, the camera can be applied to general scenes (such as squares, parks, entrances and exits, urban roads, markets, intersections and the like) for tracking and capturing targets such as motor vehicles, non-locomotives, people, faces and the like, but the focal length value of an applied zoom lens has a certain range, if the focal length value range is large, only targets in a far range can be monitored, and if the focal length value range is small, only targets in a near range can be monitored, so that some cameras, such as PTZ cameras, can only track in a near range or a far range when tracking targets, and if the targets move from a near position to a far position, the PTZ cameras cannot track in the whole course, and further the problem of incomplete target stroke tracking exists.
Aiming at the problem that in the related technology, a camera applied to a general scene has incomplete target travel tracking due to a certain range of a zoom lens, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the application provides a video processing method, a video processing device, a video processing system and computer equipment for at least solving the problem that a target stroke tracking is incomplete because a zoom lens has a certain range in a video camera applied to a general scene in the related technology.
In a first aspect, an embodiment of the present application provides a video processing method of a camera, where a cavity of the camera is provided with a plurality of lenses, and focal length value ranges of the plurality of lenses are different; the method comprises the following steps:
acquiring multi-channel video data acquired by the plurality of lenses;
acquiring the type of current video data processing of the camera, wherein the type of the current video data processing is at least one of the following: target tracking and video structuring;
and merging and outputting the multiple paths of video data or outputting the multiple paths of video data in a branching way according to the type of the current video data processing.
In some of these embodiments, combining or splitting the multiple video data out includes, depending on the type of the current video data processing:
if the type of the current video data processing comprises target tracking, merging and outputting the multiple paths of video data;
and if the type of the current video data processing comprises video structuring, outputting multiple paths of video data in a branching way.
In some embodiments, if the type of the current video data processing is target tracking, merging the multiple paths of video data to output includes:
acquiring the current multiplying power and the threshold multiplying power of the camera;
dividing the plurality of lenses into a first lens and a second lens according to the focal length value ranges of the plurality of lenses, wherein the focal length value range of the first lens is smaller than that of the second lens;
if the current multiplying power of the camera is larger than the threshold multiplying power, outputting video data divided into the second lens;
and if the current multiplying power of the camera is smaller than or equal to the threshold multiplying power, outputting the video data divided into the first lens.
In some of these embodiments, obtaining the threshold magnification of the camera comprises:
acquiring a focal length value range of the first lens;
and determining the threshold multiplying power according to the focal length value range of the first lens.
In some of these embodiments, determining the threshold magnification from the range of focal length values of the first lens includes:
acquiring a minimum focal length value and a maximum focal length value from a focal length value range of the first lens;
determining the minimum focal length position multiplying power according to the minimum focal length value;
and determining the maximum focal length position multiplying power according to the minimum focal length position multiplying power and the maximum focal length value, and setting the maximum focal length position multiplying power as the threshold multiplying power.
In some of these embodiments, if the type of current video data processing includes video structuring, splitting the multiplexed video data out includes:
if the type of the current video data processing comprises video structuring, video data corresponding to different identification target types are output by different branches.
In some of these embodiments, if the type of current video data processing includes video structuring, the method further comprises:
adjusting video data corresponding to the identification target type according to the image parameters matched with the identification target type; wherein the image parameters include at least one of: contrast parameters, brightness parameters, backlight compensation parameters, and glare suppression parameters.
In a second aspect, an embodiment of the present application provides a video processing device of a camera, where a cavity of the camera is provided with a plurality of lenses, and focal length value ranges of the plurality of lenses are different; the device comprises: the device comprises a first acquisition module, a second acquisition module and an output module;
the first acquisition module is used for acquiring the multipath video data acquired by the plurality of lenses;
the second obtaining module is configured to obtain a type of current video data processing of the camera, where the type of current video data processing is at least one of the following: target tracking and video structuring;
and the output module is used for merging and outputting the multiple paths of video data or outputting the multiple paths of video data in a branching way according to the type of the current video data processing.
In a third aspect, embodiments of the present application provide a camera video processing system, the system comprising: a camera and a processor;
a plurality of lenses are arranged in the cavity of the camera, the focal length value ranges of the plurality of lenses are different, and the plurality of lenses are used for collecting multipath video data;
the processor is configured to obtain a type of current video data processing of the camera, where the type of current video data processing is at least one of: target tracking and video structuring;
and the processor is used for merging and outputting the multiple paths of video data or outputting the multiple paths of video data in a branching way according to the type of the current video data processing.
In a fourth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the camera video processing method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a camera video processing method as described in the first aspect above.
Compared with the related art, the video processing method, the video processing device, the video processing system and the computer equipment for the video camera provided by the embodiment of the application are characterized in that a plurality of lenses are arranged in a cavity of the video camera, and the focal length value ranges of the plurality of lenses are different; the method comprises the following steps: acquiring multi-channel video data acquired by the plurality of lenses; acquiring the type of current video data processing of the camera, wherein the type of the current video data processing is at least one of the following: target tracking and video structuring; according to the type of the current video data processing, multiple paths of video data are combined and output or multiple paths of video data are output in a branching mode, the problem that target travel tracking is incomplete due to the fact that a zoom lens has a certain range of a camera applied to a general scene is solved, and the integrity of the camera of the general scene on the target travel tracking is improved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a flow chart of a method of camera video processing according to an embodiment of the present application;
FIG. 2 is a flow chart of another method of camera video processing according to an embodiment of the present application;
FIG. 3 is a flow chart of a method of merging multiple video data outputs according to an embodiment of the present application;
FIG. 4 is a flow chart of a method of obtaining a threshold magnification of a camera according to an embodiment of the present application;
FIG. 5 is a flow chart of another method of obtaining a threshold magnification of a camera according to an embodiment of the present application;
FIG. 6 is a flow chart of video data processing according to an embodiment of the present application;
fig. 7 is a block diagram of a structure of a video processing apparatus of a video camera according to an embodiment of the present application;
FIG. 8 is a block diagram of a camera video processing system according to an embodiment of the present application;
fig. 9 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described and illustrated below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden on the person of ordinary skill in the art based on the embodiments provided herein, are intended to be within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the embodiments described herein can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar terms herein do not denote a limitation of quantity, but rather denote the singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The term "plurality" as used herein refers to two or more.
The video processing method of the video camera can be applied to the video camera of general scenes (such as squares, parks, entrances and exits, urban roads, markets, intersections and the like) so as to track and snapshot targets such as motor vehicles, non-locomotives, people, faces and the like. In the prior art, the target recognition accuracy of a camera is higher and higher, intelligent analysis application is wider and wider, intelligent analysis approximately comprises target tracking and video structuring, wherein video tracking refers to that a user draws a rule line or a rule frame in a video picture in advance, if a target violates a rule, tracking is triggered, a camera automatically controls a cradle head and zooming, and the target is continuously tracked until the target disappears; video structuring refers to identifying objects (e.g., motor vehicles, non-motor vehicles, people, etc.) by intelligent algorithms and then extracting attributes of the objects, such as: license plate, body color, non-locomotive type, clothing color of a person, whether a person wears glasses, etc.
In the related art, on one hand, the focal length value of a zoom lens applied by a camera has a certain range, if the focal length value range is larger, only a target in a far certain range can be monitored, if the focal length value range is smaller, only a target in a near certain range can be monitored, so that some cameras, such as a PTZ (pan-tilt-zoom) camera, can only track in a near certain range or a far certain range when tracking the target, and if the target moves from a near place to a far place, the PTZ camera cannot track in the whole course, and further the problem of incomplete target travel tracking exists; the long-focus lens can be used for monitoring near and far, and has the situations that the long-focus lens is very large in volume and high in cost and cannot be applied to a small-sized camera; on the other hand, under the night low-light scene, the same set of image parameters cannot simultaneously give consideration to the license plate and the human body, and the problems of too dark human face or overexposure of the motor vehicle license plate exist.
According to the video processing method of the video camera, a plurality of lenses are arranged in a cavity of the video camera, focal length value ranges of the plurality of lenses are different, and multiple paths of video data are combined and output or multiple paths of video data are output in a branching mode according to the type of current video data processing, for example, if the type of the current video data processing is target tracking, the multiple paths of video data are combined and output; if the current video data processing type is video structuring, outputting multiple paths of video data in a branching way, on one hand, solving the problem that the target travel tracking is incomplete due to the fact that a zoom lens has a certain range when the video is applied to a video camera of a general scene, and improving the integrity of the video camera of the general scene on the target travel tracking; on the other hand, the video structuring can adopt multi-path video data to output in a branching way, so that different image parameters can be adjusted for each path of video, and a clear human body and a license plate can be simultaneously captured under a night low-light scene.
The embodiment provides a video processing method of a video camera, wherein a plurality of lenses are arranged in a cavity of the video camera, focal length value ranges of the plurality of lenses are different, and fig. 1 is a flowchart of the video processing method of the video camera according to the embodiment of the application, as shown in fig. 1, the method includes the following steps:
step S101, acquiring multiple paths of video data acquired by multiple lenses;
for example, two lenses are arranged in the cavity of the camera, wherein the focal length value range of one lens can be 2.0 mm-6.0 mm, and the focal length value range of the other lens can be 6.0 mm-100.0 mm.
Step S102, obtaining the type of current video data processing of the camera, wherein the type of the current video data processing is at least one of the following: target tracking and video structuring.
Step S103, according to the type of the current video data processing, combining and outputting the multiple paths of video data or outputting the multiple paths of video data in a branching way;
it should be noted that, the type of the current video data processing of the camera is at least one of target tracking and video structuring, and may be other types currently, when the type of the current video data processing is target tracking, multiple paths of video data may be combined and output, and when the type of the current video data processing is video structuring, multiple paths of video data may be split and output.
Through the steps S101 to S103, on the basis that the plurality of lenses are arranged in the cavity of the camera, and the focal length value ranges of the plurality of lenses are different, multiple paths of video data are selected to be combined and output or multiple paths of video data are output in a branching mode according to the type of current video data processing of the camera, so that compared with a camera applied to a general scene in the related art, the problem that target travel tracking is incomplete due to the fact that the zoom lens has a certain range is solved.
In some of these embodiments, fig. 2 is a flowchart of another video processing method of a video camera according to an embodiment of the present application, and as shown in fig. 2, according to the type of current video data processing, the step of merging or splitting multiple video data includes the following steps:
step S201, if the type of the current video data processing includes target tracking, merging and outputting multiple paths of video data; if the type of the current video data processing comprises video structuring, outputting multiple paths of video data in a branching way;
for example, if the current video data processing type includes target tracking, at this time, the video data collected by the lens with a large focal length value range and the video data collected by the lens with a small focal length value range may be combined, so that the camera may realize tracking of a complete stroke; if the current video data processing type comprises video structuring, the video data related to the license plate and the video data related to the human body can be output in one path at the moment, so that the video data related to the license plate and the video data related to the human body can be conveniently processed by matching different parameters, and the problems of over-darkness of the human face or over-exposure of the motor vehicle license plate are solved.
In some of these embodiments, fig. 3 is a flow chart of a method of merging multiple video data outputs according to an embodiment of the present application, as shown in fig. 3,
step S301, obtaining the current multiplying power and the threshold multiplying power of a camera;
note that, the current magnification of the camera=the current focal length value/the minimum focal length value.
Step S302, dividing the plurality of lenses into a first lens and a second lens according to the focal length value ranges of the plurality of lenses, wherein the focal length value range of the first lens is smaller than that of the second lens;
for example, a lens with a focal length ranging from 2.0mm to 6.0mm and a lens with a focal length ranging from 6.0mm to 100.0mm are arranged in the cavity of the camera, and the lens with a focal length ranging from 2.0mm to 6.0mm can be defined as a first lens, and the lens with a focal length ranging from 6.0mm to 100.0mm can be defined as a second lens.
Step S303, if the current multiplying power of the camera is larger than the threshold multiplying power, outputting the video data divided into the second lens; if the current multiplying power of the camera is smaller than or equal to the threshold multiplying power, outputting video data divided into a first lens;
for example, a first lens with a focal length value range of 2.0 mm-6.0 mm and a second lens with a focal length value range of 6.0 mm-100.0 mm are arranged in a cavity of the camera, video data of the first lens is output and displayed when the camera is at a low magnification, and video data of the second lens is output and displayed when the camera is at a high magnification.
Through the steps S301 and S303, according to the threshold magnification of the camera, the video data of the first lens is output when the current magnification of the camera is smaller than or equal to the threshold magnification, that is, the current magnification of the camera is smaller than the threshold magnification, the video data of the second lens is output when the current magnification of the camera is larger than the threshold magnification, and then the multi-path video data is combined and output under the target tracking.
In some of these embodiments, fig. 4 is a flowchart of a method of obtaining a threshold magnification of a camera according to an embodiment of the present application, as shown in fig. 4, the method further comprising the steps of:
in step S401, a focal length value range of the first lens is acquired.
Step S402, determining a threshold multiplying power according to a focal length value range of a first lens;
it should be noted that, the focal length value range of the first lens is smaller than the focal length value range of the second lens, and the multiplying power is determined according to the ratio of the current focal length value to the minimum focal length value, so when the threshold multiplying power is determined according to the focal length value range of the first lens, the ratio of the middle focal length value a of the focal length value range of the first lens to the minimum focal length value B of the focal length value range of the first lens can be determined.
In some of these embodiments, fig. 5 is a flowchart of another method for obtaining a threshold magnification of a camera according to an embodiment of the present application, and as shown in fig. 5, determining the threshold magnification according to a focal length value range of a first lens includes the following steps:
step S501, obtaining a minimum focal length value and a maximum focal length value from a focal length value range of a first lens;
step S502, determining the minimum focal length position multiplying power according to the minimum focal length value;
step S503, determining the maximum focal length position multiplying power according to the minimum focal length position multiplying power and the maximum focal length value, and setting the maximum focal length position multiplying power as a threshold multiplying power;
for example, the focal length value of the first lens ranges from 2.0mm to 6.0mm, so that the minimum focal length position multiplying power corresponding to the minimum focal length value of the first lens can be defined as 1, the maximum focal length position multiplying power of the first lens is 3, and the threshold multiplying power is 3; the focal length value range of the second lens is 6.0 mm-100.0 mm, the minimum focal length position multiplying power of the second lens is 3, and the maximum focal length position multiplying power of the second lens is 50.
In some of these embodiments, if the type of current video data processing includes video structuring, splitting the multiplexed video data out includes:
if the type of the current video data processing comprises video structuring, outputting video data corresponding to different identification target types by different branches; for example, video data targeted to a human body and video data targeted to a vehicle are output by different branches.
In some embodiments, if the type of current video data processing includes video structuring, then adjusting video data corresponding to the identified target type according to image parameters matching the identified target type;
wherein the image parameters include at least one of: contrast parameters, brightness parameters, backlight compensation parameters, and strong light suppression parameters; for example, the lens for human body detection and recognition can be adjusted by one set of image parameters, and the lens for license plate detection and recognition can be adjusted by another set of image parameters, so that license plate and human body attributes can be extracted at the same time in a night low-light scene.
In some embodiments, fig. 6 is a flow chart of video data processing according to an embodiment of the present application, as shown in fig. 6, a video camera has two shots (a first shot and a second shot respectively) to collect two paths of video, and a video camera processor can output two paths of video data at the same time, and perform video data adjustment, video encoding, intelligent analysis and intelligent processing for the two paths of video data respectively. Wherein, video data adjusts: adjusting image parameters of video data, wherein different parameters can be adjusted in different scenes; video coding: encoding video data, such as h.246 encoding; intelligent analysis: target detection and identification, e.g. motor vehicle, non-motor vehicle, person identification; and (3) intelligent treatment: if the target tracking service is included, controlling the rotation of the cradle head according to the video analysis result, and continuously positioning the cradle head to the target position; if the video structuring service is included, extracting attributes of the target and capturing pictures according to a video analysis result, and finally outputting two paths of video data corresponding to the first lens and the second lens in a branching way, for example, inputting the first path of video data and the second path of video data to the client side respectively.
It should be noted that the steps illustrated in the above-described flow or flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment also provides a video processing device of a camera, which is used for implementing the above embodiment and the preferred implementation, and the description is omitted herein. As used below, the terms "module," "unit," "sub-unit," and the like may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
In some embodiments, fig. 7 is a block diagram of a camera video processing device according to an embodiment of the present application, as shown in fig. 7, the device includes: a first acquisition module 71, a second acquisition module 72, and an output module 73;
a first obtaining module 71, configured to obtain multiple paths of video data collected by multiple lenses;
a second acquisition module 72 for acquiring a type of current video data processing of the camera, wherein the type of current video data processing includes object tracking and video structuring;
the output module 73 is configured to combine and output multiple video data or output multiple video data in a split manner according to the type of current video data processing.
In some embodiments, the second obtaining module 72 and the output module 73 are further configured to implement the steps in the video processing method of the camera provided in the foregoing embodiments, which are not described herein.
The above-described respective modules may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
The present application further provides a video processing system of a video camera, fig. 8 is a block diagram of a video processing system of a video camera according to an embodiment of the present application, as shown in fig. 8, where the system includes: a camera 81 and a processor 82;
a plurality of lenses are arranged in the cavity of the camera 81, the focal length value ranges of the plurality of lenses are different, and the plurality of lenses are used for collecting multi-path video data;
a processor 82 for obtaining a type of current video data processing of the camera, wherein the type of current video data processing includes object tracking and video structuring;
a processor 82 for combining and outputting multiple video data or branching multiple video data according to the type of current video data processing
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a camera video processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 9 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application, and as shown in fig. 9, a computer device is provided, which may be a server, and an internal structure diagram thereof may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of camera video processing.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method for video processing of a camera provided in the above embodiments when the computer program is executed by the processor.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps in the method of camera video processing provided by the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (8)

1. The video processing method of the video camera is characterized in that a plurality of lenses are arranged in a cavity of the video camera, and the focal length value ranges of the plurality of lenses are different; the method comprises the following steps:
acquiring multi-channel video data acquired by the plurality of lenses;
acquiring the type of current video data processing of the camera, wherein the type of the current video data processing is at least one of the following: target tracking and video structuring;
combining and outputting multiple paths of video data or outputting multiple paths of video data in a branching way according to the type of the current video data processing;
if the type of the current video data processing includes target tracking, merging and outputting the multiple paths of video data, wherein the method includes the following steps: acquiring the current multiplying power and the threshold multiplying power of the camera; dividing the plurality of lenses into a first lens and a second lens according to the focal length value ranges of the plurality of lenses, wherein the focal length value range of the first lens is smaller than that of the second lens; if the current multiplying power of the camera is larger than the threshold multiplying power, outputting video data divided into the second lens; if the current multiplying power of the camera is smaller than or equal to the threshold multiplying power, outputting video data divided into the first lens;
the obtaining of the threshold multiplying power of the camera comprises the following steps: acquiring a focal length value range of the first lens; determining the threshold multiplying power according to the focal length value range of the first lens;
determining the threshold magnification according to the focal length value range of the first lens comprises: acquiring a minimum focal length value and a maximum focal length value from a focal length value range of the first lens; determining the minimum focal length position multiplying power according to the minimum focal length value; and determining the maximum focal length position multiplying power according to the minimum focal length position multiplying power and the maximum focal length value, and setting the maximum focal length position multiplying power as the threshold multiplying power.
2. The camera video processing method according to claim 1, wherein merging output of multiple video data or branching output of multiple video data according to the type of the current video data processing includes:
and if the type of the current video data processing comprises video structuring, outputting multiple paths of video data in a branching way.
3. The camera video processing method of claim 2, wherein, if the type of current video data processing includes video structuring, splitting the multiplexed video data out comprises:
if the type of the current video data processing comprises video structuring, video data corresponding to different identification target types are output by different branches.
4. A camera video processing method as claimed in claim 3, wherein if the type of current video data processing includes video structuring, the method further comprises:
adjusting video data corresponding to the identification target type according to the image parameters matched with the identification target type; wherein the image parameters include at least one of: contrast parameters, brightness parameters, backlight compensation parameters, and glare suppression parameters.
5. The video processing device of the video camera is characterized in that a plurality of lenses are arranged in a cavity of the video camera, and the focal length value ranges of the plurality of lenses are different; the device comprises: the device comprises a first acquisition module, a second acquisition module and an output module;
the first acquisition module is used for acquiring the multipath video data acquired by the plurality of lenses;
the second obtaining module is configured to obtain a type of current video data processing of the camera, where the type of current video data processing is at least one of the following: target tracking and video structuring;
the output module is used for merging and outputting multiple paths of video data or branching and outputting multiple paths of video data according to the type of the current video data processing;
if the type of the current video data processing includes target tracking, merging and outputting the multiple paths of video data, wherein the method includes the following steps: acquiring the current multiplying power and the threshold multiplying power of the camera; dividing the plurality of lenses into a first lens and a second lens according to the focal length value ranges of the plurality of lenses, wherein the focal length value range of the first lens is smaller than that of the second lens; if the current multiplying power of the camera is larger than the threshold multiplying power, outputting video data divided into the second lens; if the current multiplying power of the camera is smaller than or equal to the threshold multiplying power, outputting video data divided into the first lens;
the obtaining of the threshold multiplying power of the camera comprises the following steps: acquiring a focal length value range of the first lens; determining the threshold multiplying power according to the focal length value range of the first lens;
determining the threshold magnification according to the focal length value range of the first lens comprises: acquiring a minimum focal length value and a maximum focal length value from a focal length value range of the first lens; determining the minimum focal length position multiplying power according to the minimum focal length value; and determining the maximum focal length position multiplying power according to the minimum focal length position multiplying power and the maximum focal length value, and setting the maximum focal length position multiplying power as the threshold multiplying power.
6. A camera video processing system, the system comprising: a camera and a processor;
a plurality of lenses are arranged in the cavity of the camera, the focal length value ranges of the plurality of lenses are different, and the plurality of lenses are used for collecting multipath video data;
the processor is configured to obtain a type of current video data processing of the camera, where the type of current video data processing is at least one of: target tracking and video structuring;
the processor is used for merging and outputting multiple paths of video data or outputting multiple paths of video data in a branching way according to the type of the current video data processing;
if the type of the current video data processing includes target tracking, merging and outputting the multiple paths of video data, wherein the method includes the following steps: acquiring the current multiplying power and the threshold multiplying power of the camera; dividing the plurality of lenses into a first lens and a second lens according to the focal length value ranges of the plurality of lenses, wherein the focal length value range of the first lens is smaller than that of the second lens; if the current multiplying power of the camera is larger than the threshold multiplying power, outputting video data divided into the second lens; if the current multiplying power of the camera is smaller than or equal to the threshold multiplying power, outputting video data divided into the first lens;
the obtaining of the threshold multiplying power of the camera comprises the following steps: acquiring a focal length value range of the first lens; determining the threshold multiplying power according to the focal length value range of the first lens;
determining the threshold magnification according to the focal length value range of the first lens comprises: acquiring a minimum focal length value and a maximum focal length value from a focal length value range of the first lens; determining the minimum focal length position multiplying power according to the minimum focal length value; and determining the maximum focal length position multiplying power according to the minimum focal length position multiplying power and the maximum focal length value, and setting the maximum focal length position multiplying power as the threshold multiplying power.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when the computer program is executed.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
CN202110047378.7A 2021-01-14 2021-01-14 Video processing method, device and system for camera and computer equipment Active CN112887531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110047378.7A CN112887531B (en) 2021-01-14 2021-01-14 Video processing method, device and system for camera and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110047378.7A CN112887531B (en) 2021-01-14 2021-01-14 Video processing method, device and system for camera and computer equipment

Publications (2)

Publication Number Publication Date
CN112887531A CN112887531A (en) 2021-06-01
CN112887531B true CN112887531B (en) 2023-07-25

Family

ID=76047992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110047378.7A Active CN112887531B (en) 2021-01-14 2021-01-14 Video processing method, device and system for camera and computer equipment

Country Status (1)

Country Link
CN (1) CN112887531B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915728A (en) * 2022-05-23 2022-08-16 普联技术有限公司 Method for zooming multi-view camera and multi-view camera

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020983A (en) * 2012-09-12 2013-04-03 深圳先进技术研究院 Human-computer interaction device and method used for target tracking
CN103561236A (en) * 2013-10-31 2014-02-05 厦门龙谛信息***有限公司 Building surrounding monitoring system and method
CN105933678A (en) * 2016-07-01 2016-09-07 湖南源信光电科技有限公司 Multi-focal length lens linkage imaging device based on multi-target intelligent tracking
CN111314615A (en) * 2020-03-13 2020-06-19 浙江大华技术股份有限公司 Method and device for controlling binocular double-zoom camera and camera

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8427538B2 (en) * 2004-04-30 2013-04-23 Oncam Grandeye Multiple view and multiple object processing in wide-angle video camera
US9736374B2 (en) * 2013-09-19 2017-08-15 Conduent Business Services, Llc Video/vision based access control method and system for parking occupancy determination, which is robust against camera shake
US9684056B2 (en) * 2014-05-29 2017-06-20 Abdullah I. Khanfor Automatic object tracking camera
US20160100092A1 (en) * 2014-10-01 2016-04-07 Fortemedia, Inc. Object tracking device and tracking method thereof
CN109120821A (en) * 2016-01-20 2019-01-01 深圳富泰宏精密工业有限公司 More lens systems, its working method and portable electronic device
CN108513097A (en) * 2017-02-27 2018-09-07 杭州海康威视数字技术股份有限公司 A kind of more mesh photographic devices and monitoring system
CN109151375B (en) * 2017-06-16 2020-07-24 杭州海康威视数字技术股份有限公司 Target object snapshot method and device and video monitoring equipment
CN109089087B (en) * 2018-10-18 2020-09-29 广州市盛光微电子有限公司 Multi-channel audio-video linkage device
CN111131662B (en) * 2018-10-31 2021-09-24 杭州海康威视数字技术股份有限公司 Image output method, image output apparatus, camera, and storage medium
CN109831650A (en) * 2019-02-18 2019-05-31 中国科学院半导体研究所 A kind of processing system and method for monitor video

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020983A (en) * 2012-09-12 2013-04-03 深圳先进技术研究院 Human-computer interaction device and method used for target tracking
CN103561236A (en) * 2013-10-31 2014-02-05 厦门龙谛信息***有限公司 Building surrounding monitoring system and method
CN105933678A (en) * 2016-07-01 2016-09-07 湖南源信光电科技有限公司 Multi-focal length lens linkage imaging device based on multi-target intelligent tracking
CN111314615A (en) * 2020-03-13 2020-06-19 浙江大华技术股份有限公司 Method and device for controlling binocular double-zoom camera and camera

Also Published As

Publication number Publication date
CN112887531A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN100550986C (en) Method and camera with a plurality of resolution
JP6593629B2 (en) Image processing apparatus, solid-state imaging device, and electronic device
CN110650291B (en) Target focus tracking method and device, electronic equipment and computer readable storage medium
CN112087580B (en) Image acquisition method and device, electronic equipment and computer readable storage medium
CN110661977B (en) Subject detection method and apparatus, electronic device, and computer-readable storage medium
CN110248101B (en) Focusing method and device, electronic equipment and computer readable storage medium
CN110956679B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN109756723B (en) Method and apparatus for acquiring image, storage medium and electronic device
CN108024058B (en) Image blurs processing method, device, mobile terminal and storage medium
US11233948B2 (en) Exposure control method and device, and electronic device
CN109242794B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
KR102335167B1 (en) Image photographing apparatus and method for photographing thereof
CN112087571A (en) Image acquisition method and device, electronic equipment and computer readable storage medium
CN113630549A (en) Zoom control method, device, electronic equipment and computer-readable storage medium
CN110278366B (en) Panoramic image blurring method, terminal and computer readable storage medium
CN112887531B (en) Video processing method, device and system for camera and computer equipment
Pawłowski et al. Visualization techniques to support CCTV operators of smart city services
GB2537886A (en) An image acquisition technique
CN111726526B (en) Image processing method and device, electronic equipment and storage medium
CN116055895B (en) Image processing method and device, chip system and storage medium
CN110992284A (en) Image processing method, image processing apparatus, electronic device, and computer-readable storage medium
CN110933304A (en) Method and device for determining to-be-blurred region, storage medium and terminal equipment
CN111866383A (en) Image processing method, terminal and storage medium
CN114222059A (en) Photographing method, photographing processing method, system, equipment and storage medium
CN113592777A (en) Image fusion method and device for double-shooting and electronic system

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
GR01 Patent grant
GR01 Patent grant