CN110933352A - Fisheye image correction method and digital video recorder - Google Patents

Fisheye image correction method and digital video recorder Download PDF

Info

Publication number
CN110933352A
CN110933352A CN201911184103.7A CN201911184103A CN110933352A CN 110933352 A CN110933352 A CN 110933352A CN 201911184103 A CN201911184103 A CN 201911184103A CN 110933352 A CN110933352 A CN 110933352A
Authority
CN
China
Prior art keywords
dvr
mode
message
event
correction
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.)
Granted
Application number
CN201911184103.7A
Other languages
Chinese (zh)
Other versions
CN110933352B (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 CN201911184103.7A priority Critical patent/CN110933352B/en
Publication of CN110933352A publication Critical patent/CN110933352A/en
Application granted granted Critical
Publication of CN110933352B publication Critical patent/CN110933352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/907Television signal recording using static stores, e.g. storage tubes or semiconductor memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Abstract

The embodiment of the invention discloses a fisheye image correction method and a digital video recorder, which are used for starting a correction mode and improving the running performance of a DVR (digital video recorder) according to the relevance between an actual event and a fisheye correction function. The fisheye image correction method comprises the following steps: the digital video recorder DVR receives a first message from the network camera IPC, the first message comprises a first video stream, and the DVR is connected with a fisheye camera; the DVR determines whether to start a correction mode according to the first message, wherein the correction mode is used for correcting the image collected by the fisheye camera; if the correction mode is determined to be started, the DVR starts a first correction mode according to the first message; wherein the DVR has at least two correction modes, and the at least two correction modes comprise a first correction mode.

Description

Fisheye image correction method and digital video recorder
Technical Field
The invention relates to the technical field of video monitoring, in particular to a fisheye image correction method and a digital video recorder.
Background
The fisheye camera is a camera provided with an ultra-wide-angle lens, compared with a common camera, the single fisheye camera has a wide visual angle, and can replace a plurality of common cameras to carry out large-range monitoring. However, the fisheye image captured by the fisheye camera is very different from the real world scene in human eyes, and therefore, the fisheye image needs to be corrected to generate an image which is easily recognized by people.
At present, fisheye cameras are generally divided into two specifications of 180 degrees and 360 degrees, and have two installation modes of wall installation and top installation, and different specifications and installation modes correspond to different correction modes. In general, a Digital Video Recorder (DVR) can query the specification of the fisheye camera and the corresponding installation mode and store the information locally in a configuration file. When the monitoring personnel find that dangerous behaviors occur in the monitoring picture, such as suspicious personnel intrusion, the correction menu needs to be triggered manually, and the corresponding correction mode is selected manually to correct the fisheye image.
As can be seen, the prior art relies on manual switching on or off of the fisheye image correction function, and the correlation with the actual occurrence of an event is weak.
Disclosure of Invention
The embodiment of the invention provides a fisheye image correction method and a digital video recorder, which are used for starting a correction mode and improving the running performance of a DVR (digital video recorder) according to the relevance between an actual event and a fisheye correction function.
In a first aspect, an embodiment of the present invention provides a method for correcting a fisheye image, where the method includes:
the method comprises the steps that a digital video recorder DVR receives a first message from a network camera IPC, the first message comprises a first video stream, and the DVR is connected with a fisheye camera;
the DVR determines whether to start a correction mode according to the first message, wherein the correction mode is used for correcting the image collected by the fisheye camera;
if the correction mode is determined to be started, the DVR starts a first correction mode according to the first message; wherein the DVR has at least two remediation modes, the at least two remediation modes comprising the first remediation mode.
In an embodiment of the present invention, the DVR and the IPC may communicate, and the IPC may trigger the DVR to turn on the rectification mode, for example, the IPC sends a first message to the DVR, where the first message includes a first video stream, and the first video stream may be regarded as data information obtained by image acquisition of a monitored area by the IPC in a period of time. During the time period, if an event, such as a suspicious human intrusion event, is included in the first data stream, the DVR may correct the fisheye image captured by the fisheye camera according to the event. By adopting the scheme, the correction mode can be automatically started, so that fisheye images acquired by the fisheye camera can be automatically corrected, and the complicated procedure of manual opening correction is avoided. Meanwhile, the actual event can be associated with the fisheye image correction function, so that the correction effect is improved.
Optionally, the DVR determining whether to turn on the remediation mode according to the first message includes:
if the first message comprises first indication information, the DVR determines that the rectification mode needs to be started, the first indication information is used for indicating the DVR to start the rectification mode, and the first indication information comprises type identification of a first event; alternatively, the first and second electrodes may be,
if the DVR determines that a first video stream indicates a first event, the DVR determines that the remediation mode needs to be turned on.
In the embodiment of the invention, the IPC can be intelligent IPC and common IPC. For intelligent IPC, the first video stream may be analyzed to determine if the first event is included in the first video stream. If the first video stream is determined to comprise the first event, the intelligent IPC can also send first indication information when sending the first video stream to the DVR. The first indication message may instruct the DVR to turn on the remediation mode. And the DVR receives the first indication message to start a correction mode, so that the fisheye image acquired by the fisheye camera is corrected. For a common IPC, the DVR analyzes the received first video stream and if the DVR determines that the first video stream indicates a first event, the DVR turns on the remediation mode. The scheme is suitable for intelligent IPC and common IPC, and has wide application range.
Optionally, after the DVR determines that the first video stream indicates the first event, the method further comprises:
and the DVR generates second indication information according to the first event, wherein the second indication information comprises the type identification of the first event.
In an embodiment of the present invention, the DVR may determine that the first video stream indicates the first event, and may generate second indication information, which may be regarded as trigger information that triggers the DVR to turn on the rectification mode, so as to turn on the rectification function.
Optionally, the DVR may turn on a first correction mode according to the first message, including:
the DVR determines the first correction mode from the at least two correction modes according to the type identification and the corresponding relation between the type of the event and the correction mode;
the DVR turns on the first remediation mode.
In embodiments of the present invention, the DVR may have a plurality of remediation modes, such as a panoramic remediation mode, a corridor remediation mode, and the like. Different events can correspond to different correction modes, and the DVR can determine the correction mode corresponding to the first event according to the specific type of the first event so as to improve the correction effect as much as possible.
Optionally, the method further includes:
the DVR receives an input storage instruction, wherein the storage instruction is used for indicating the DVR to store the current video recording;
and the DVR responds to the storage instruction to store the video record and adds a type identifier for the video record according to the first message.
In the embodiment of the invention, the DVR can start the video recording function according to the storage instruction and mark the video recording according to the event type information carried in the indication information, thereby being convenient for follow-up inquiry.
Optionally, the method further includes:
the DVR receives an input query instruction, wherein the query instruction comprises a first type identification of a first video;
and the DVR searches a first video record from the stored video records according to the first type identification.
In the embodiment of the invention, the first video record can be inquired in the plurality of video records according to the first type identifier, so that the inquiry efficiency is improved.
Optionally, the method further includes:
the DVR receives a second message from the IPC, the second message comprising a second video stream;
the DVR determines whether to close the rectification mode according to the second message;
and if the correction mode is determined to be closed, the DVR closes the first correction mode.
In the embodiment of the present invention, the second video stream may be regarded as data information obtained by image capturing of the monitored area by the IPC for a period of time. During this time period, if an event is included in the second data stream, such as a loss of suspect personnel event relative to the first event, the DVR may shut down the remediation function based on this event. I.e., an event ends, the remediation function is turned off, thereby conserving DVR computing resources.
Optionally, the DVR determining whether to turn off the remediation mode according to the second message comprises:
if the second message comprises second indication information, the DVR determines that the rectification mode needs to be closed, and the second indication information is used for indicating the DVR to close the rectification mode; alternatively, the first and second electrodes may be,
if the DVR determines that the second video stream indicates a second event, the DVR determines to turn off the remediation mode.
Similar to the DVR turning on the rectification mode, the DVR may also turn off the rectification mode according to the second indication information of the intelligent IPC, or determine whether to turn off the rectification mode according to whether the second video stream has the second event, and the application range is wide.
In a second aspect, an embodiment of the present invention provides a DVR to which a fisheye camera is connected, the DVR including:
the receiving module is used for receiving a first message from the IPC, wherein the first message comprises a first video stream;
the determining module is used for determining whether a correction mode is started according to the first message, and the correction mode is used for correcting the image collected by the fisheye camera;
the correction module is used for starting a first correction mode according to the first message if the correction mode is determined to be started; wherein the DVR has at least two remediation modes, the at least two remediation modes comprising the first remediation mode.
Optionally, the determining module is specifically configured to:
if the first message comprises first indication information, determining that the rectification mode needs to be started, wherein the first indication information is used for indicating the DVR to start the rectification mode, and the first indication information comprises type identification of a first event; alternatively, the first and second electrodes may be,
determining that the remediation mode needs to be turned on if it is determined that the first video stream indicates a first event.
Optionally, the determining module is further specifically configured to:
and generating second indication information according to the first event, wherein the second indication information comprises the type identification of the first event.
Optionally, the correction module is specifically configured to:
determining the first correction mode from the at least two correction modes according to the type identification and the corresponding relation between the type of the event and the correction mode;
and starting the first correction mode.
Optionally, the saving module is specifically configured to:
receiving an input saving instruction, wherein the saving instruction is used for instructing the DVR to save a current video recording;
responding to the storage instruction, storing the video record, and adding a type identifier for the video record according to the first message.
Optionally, the query module is specifically configured to:
receiving an input query instruction, wherein the query instruction comprises a first type identifier of a first video;
and searching a first video record from the stored video records according to the first type identification.
Alternatively to this, the first and second parts may,
the receiving module is further used for receiving a second message from the IPC, wherein the second message comprises a second video stream;
the determining module is further used for determining whether to close the correcting mode according to the second message;
the correction module is further configured to turn off the first correction mode if it is determined to turn off the correction mode.
Optionally, the determining module is further specifically configured to:
determining to close the rectification mode if the second message comprises second indication information, wherein the second indication information is used for indicating the DVR to close the rectification mode; alternatively, the first and second electrodes may be,
determining to turn off the rectification mode if it is determined that the second video stream indicates a second event.
In a third aspect, embodiments of the present invention provide a DVR that comprises a processor and a memory, where the processor is configured to implement the steps of the method according to the first aspect when executing a computer program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method as described in the embodiment of the first aspect.
The DVR and the IPC in the embodiment of the invention can automatically start the correction mode, thereby automatically correcting the fisheye image acquired by the fisheye camera and avoiding the complicated procedure of manually starting correction. Meanwhile, the actual event can be associated with the fisheye image correction function, so that the correction effect is improved.
Drawings
FIG. 1 is a schematic diagram of a conventional monitoring system according to the present invention;
fig. 2 is a schematic structural diagram of a monitoring system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a fisheye image rectification method according to an embodiment of the invention;
FIG. 4 is a diagram illustrating a DVR architecture according to an embodiment of the invention;
fig. 5 is a schematic structural diagram of a DVR according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments.
Fig. 1 is a schematic structural diagram of a conventional monitoring system. Fig. 1 includes a fisheye camera 101 and a digital video recorder 102. The digital video recorder 102 may send an inquiry instruction to the fisheye camera 101, and the fisheye camera 101 responds to the inquiry instruction and sends its own specification information to the digital video recorder 102, for example, the specification of the fisheye camera 101 may be 180 ° or 360 °. When the fisheye camera 101 is in an operating state, the fisheye camera 101 can capture image information within a viewing angle, so as to form a video stream and send the video stream to the digital video recorder 102. The digital video recorder 102 receives the video stream, on one hand, the installation mode of the fisheye camera 101 can be obtained by decoding the video stream, for example, the installation mode of the fisheye camera 101 can be wall installation or top installation, and then the digital video recorder 102 can determine the correction mode corresponding to the fisheye camera 101 according to the specification and the installation mode of the fisheye camera 101. For example, the correction mode includes a pan-tilt control mode, a panoramic mode, and the like; on the other hand, the video stream received by the digital video recorder 102 may be monitored manually, and when a preset event occurs, for example, an event of suspicious human intrusion occurs in a video monitoring area, the correction menu in the digital video recorder 102 may be manually clicked to select a currently suitable correction mode, so as to correct the fisheye image. Meanwhile, the video recording function of the fisheye camera 101 can be manually started, and the collected video stream of the fisheye camera 101 in the working state is stored, so that the fisheye camera can be conveniently played back and corrected when needed.
In the working mode of the existing fisheye camera, for the correction mode, event information in a video stream needs to be monitored manually, so that whether the correction mode needs to be started or not is judged. If the correction mode is determined to be started, the selection among the available correction modes is also required depending on the type of artificial combination event. Namely, the current correction mode is cumbersome to operate and has a weak correlation with an actual event. For the video mode, the video files formed in the digital video recorder 102 are long and disordered, and when the video files need to be checked later, the corresponding video files cannot be found through the fast index, and the part of the video segments including the specific event cannot be found in the long video files for playback correction. The management of the current video mode is relatively disordered, and the later viewing is not facilitated.
In view of this, the embodiment of the present invention provides a fisheye image correction method, which can automatically start a correction mode, so as to automatically correct a fisheye image acquired by a fisheye camera, thereby avoiding a complicated procedure of manually starting correction. Meanwhile, the actual event can be associated with the fisheye image correction function, so that the correction effect is improved.
For ease of understanding, an application scenario of the embodiment of the present invention is first described. Fig. 2 is a schematic structural diagram of a monitoring system according to an embodiment of the present invention. Fig. 2 includes a fisheye camera 101, a digital video recorder 102, and a network camera 103. The fisheye camera 101 and the network camera 103 can simultaneously acquire current video pictures to form a video stream and send the video stream to the digital video recorder 102. For the fisheye camera 101, the digital video recorder 102 may send an inquiry instruction to the fisheye camera 101, the fisheye camera 101 responds to the inquiry instruction, and sends its specification information to the digital video recorder 102, for example, the specification of the fisheye camera 101 may be 180 ° or 360 °. The digital video recorder 102 may decode the video stream acquired by the fisheye camera 101 to obtain an installation manner of the fisheye camera 101, for example, the installation manner of the fisheye camera 101 may be wall installation or top installation, and the video recorder 102 may determine an available correction mode of the fisheye camera 101 according to the specification and the installation manner of the fisheye camera 101. For example, the correction mode includes a pan-tilt control mode, a panoramic mode, and the like. For the network camera 103, the network camera can be divided into a general network camera and an intelligent network camera, the general network camera can only monitor a specific area to form a video stream, the video stream is sent to the digital video recorder 102, and then the digital video recorder 102 analyzes a possible preset event in the video stream. The intelligent network camera can monitor a specific area to form a video stream, and can analyze the current video stream so as to acquire possible preset event information. As can be seen from the above, the fisheye camera 101 has a large viewing angle, and can monitor a large range, but cannot detect and analyze a preset event appearing in a monitoring picture; the network camera 103 has a small viewing angle, and can only monitor a specific area, but can detect and analyze a preset event appearing in a monitoring picture, so that the fisheye camera 101 and the network camera 103 can be used in a matching manner, for example, one fisheye camera 101 can be used in a matching manner with one network camera 103, or one fisheye camera 101 can be used in a matching manner with a plurality of network cameras 103, so that the correction mode can be turned on when the preset event occurs, and turned off when the preset event is over. Meanwhile, when a preset event occurs, the video recording function can be started; and when the preset event is finished, the video recording function is closed, and the video is marked according to the type of the preset event obtained by analysis, so that the subsequent search is facilitated.
Based on the schematic diagram of the fisheye camera shown in fig. 2, the following describes a technical solution provided by an embodiment of the present invention with reference to the accompanying drawings. Referring to fig. 3, an embodiment of the invention provides a method for correcting a fisheye image, and a flow of the method is described as follows.
Step 301: the DVR receives a first message from the IPC.
The DVR102 may connect the fisheye camera 101 and the IPC103 at the same time, and it may be considered that the DVR102 monitors events occurring in a key area within the monitoring area of the fisheye camera 101 by using the IPC103, for example, the key area may be an entry area and an exit area. The first message may include a first video stream, i.e., IPC103 streams the video captured by fisheye camera 101 to DVR 102. DVR102 may determine whether to correct the video image captured by fisheye camera 101 based on the first message. For example, the first video stream indicates that an article drop event occurs in the image captured by the fisheye camera 101, and it is determined that the video image captured by the fisheye camera 101 is corrected.
In the embodiment of the invention, the IPC103 can be an intelligent IPC or a common IPC. Different types of IPCs, the first message sent to DVR102 also differs.
For example, for an intelligent IPC, since the intelligent IPC has the capability of detecting and analyzing the video stream, the intelligent IPC may determine whether the first video stream includes a first event that needs to be monitored, such as a stranger intrusion event, or an item drop event, etc. If the intelligent IPC determines that the first video stream includes a first event that needs to be monitored, DVR102 may be instructed to turn on remediation mode. In this case, the first message may include, in addition to the first video stream, first indication information that may be considered as a switch that triggers the rectification mode to be turned on. Or the first indication may be considered as an instruction to turn on the remedial mode. It should be understood that the intelligent IPC may generate the first indication information from the first video stream.
Since the corresponding correction modes of different events may be different, for example, an event of stranger intrusion, the scene monitored by the corresponding correction mode is a corridor, and for example, an event of article drop, the scene monitored by the corresponding correction mode is a panoramic scene. In order to enable the subsequent DVR102 to turn on the remediation mode corresponding to the first event, the first indication generated by the intelligent IPC may include an identification of the type of the first event.
For example, for a normal IPC, the first message may be considered as the first video stream captured by the normal IPC. The first video stream may include a first event to be monitored, such as a stranger intrusion event, or an item drop event, etc. In this case, the first video stream may be used as a switch for triggering the correction mode, that is, if the first event occurs in the first video stream, it may be considered that the monitoring needs to be emphasized, and the correction mode needs to be turned on to correct the captured fish-eye image.
Step 302: DVR102 determines whether to turn on the remediation mode based on the first message.
If the first message includes the first video stream and the first indication information, DVR102 determines that the remediation mode needs to be turned on based on the first indication information. And if the first message includes a first video stream, DVR102 analyzes the first video stream to determine whether the first video stream includes a first event to determine whether to turn on the remediation mode. DVR102 determines that the remediation mode needs to be turned on if the first video stream comprises the first event, and DVR102 determines not to turn on the remediation mode otherwise.
In another possible implementation, for a common IPC, the DVR102 analyzes a first video stream included in a first message, and if it is determined that the first video stream includes a first event, for example, the first event is one event of a plurality of preset events, and the first event may be a suspicious human intrusion event, the DVR102 may generate second indication information according to the first event, where the second indication information carries a type identifier of the first event. And the DVR receives the type identification and determines to start the rectification mode.
Step 303: and if the correction mode is determined to be started, the DVR starts the first correction mode according to the first message.
In a possible implementation manner, if the first message includes the first video stream and the first indication information, the DVR may obtain a type identifier of the first event included in the first indication information, so as to determine the first correction mode corresponding to the first event from the plurality of correction modes according to the type identifier of the first event and a preset correspondence relationship between the type identifier and the correction mode.
For example, the preset correspondence between the type identifier and the correction mode may include that the type identifier is a, and the correction mode is an a mode; the type is marked as B, and the correction mode is B mode. The first event is a stranger intrusion event, the type mark is A, and then the correction mode corresponding to the first event is an A mode. The first event is an article drop event, the type identifier is B, and the correction mode corresponding to the first event is the B mode. By adopting the scheme, specific events can be associated with the correction mode, and the association between the events needing to be monitored and the correction mode is enhanced, so that the correction effect is improved as much as possible.
In another possible implementation, if the first message includes a first video stream, DVR102 determines that the first video stream includes a first event, and generates second indication information based on the first event, where the second indication information includes a type identifier of the first event, and is used to trigger DVR102 to turn on the remediation mode. Similar to the above embodiment, when the DVR102 starts the correction mode, the type identifier of the first event included in the second indication information is also obtained, so that the first correction mode corresponding to the first event is determined from the plurality of correction modes according to the type identifier of the first event and the preset correspondence between the type identifier and the correction mode, which is not described herein again.
The DVR102 currently has a storage function to facilitate playback of video images taken by the fisheye camera 101. Currently, the video image captured by the fisheye camera 101 is stored, and all the captured video images are stored. In practice, some of the captured video images are important and some are of low importance. For example a video segment comprising the first event is of higher importance. In order to save storage space and quickly search for more important video segments from stored video images, the embodiment of the present invention may save the video segments including the first event.
In particular, a save instruction may be input to DVR102 that instructs DVR102 to save a current video recording. It should be understood that the saving instruction may be the first indication information or the second indication information, that is, when DVR102 turns on the remediation mode, the current video recording is saved at the same time, so as to save the video clip that includes the first event. It should be appreciated that the current video recording is a video clip of the first event, so that all video clips of the first event do not need to be saved to save storage space.
In a possible embodiment, DVR102 stores the current video recording and may add the type identifier to the video recording based on the first message for subsequent querying. Therefore, if the DVR102 receives an input query instruction, which includes the first type identifier of the first video record, the DVR102 may search the first video record from the stored plurality of video records according to the first type identifier, thereby improving the efficiency of querying.
To conserve power consumption of DVR102, DVR102 may turn off the remediation mode if the first event in the current video stream does not exist.
In one possible implementation, if IPC103 is a smart IPC103, when the smart IPC103 determines that the first event in the current video stream does not exist, then the smart IPC103 may send a second message to DVR102 that includes the current video stream if the second message also includes third indication information that instructs DVR102 to turn off the remediation mode. DVR102 thus receives the second message and turns off the remediation mode. If IPC103 is a normal IPC103, DVR102 may determine whether the first event in the current video stream is present, and if it is determined that the first event in the current video stream is not present, DVR may generate fourth indication information for instructing DVR102 to turn off the remediation mode, and thus DVR102 may turn off the remediation mode.
The embodiment of the invention can automatically start the correction mode, thereby automatically correcting the fisheye image acquired by the fisheye camera and avoiding the complicated procedure of manually starting correction. Meanwhile, the actual event can be associated with the fisheye image correction function, so that the correction effect is improved.
The method for correcting a fisheye image according to the embodiment of the present invention is described above from the perspective of interaction between a DVR and an IPC, and the apparatus according to the embodiment of the present invention is described below with reference to the accompanying drawings.
Referring to fig. 4, based on the same inventive concept, an embodiment of the present invention provides a DVR, which may be the DVR102 described above, to which a fisheye camera is connected, and which includes a receiving module 401, a determining module 402, and a rectification module 403. Wherein:
a receiving module 401, configured to receive a first message from the webcam IPC, where the first message includes a first video stream;
a determining module 402, configured to determine whether to start a rectification mode according to the first message, where the rectification mode is used to rectify an image acquired by the fisheye camera;
a correction module 403, configured to, if it is determined that the correction mode is started, start a first correction mode according to the first message; wherein the DVR has at least two rectification modes, and the at least two rectification modes comprise the first rectification mode.
Optionally, the determining module 402 is specifically configured to:
if the first message comprises first indication information, determining that the correction mode needs to be started, wherein the first indication information is used for indicating the DVR to start the correction mode, and the first indication information comprises type identification of a first event; alternatively, the first and second electrodes may be,
if it is determined that the first video stream indicates a first event, it is determined that the remediation mode needs to be turned on.
Optionally, the determining module 402 is further specifically configured to:
and generating second indication information according to the first event, wherein the second indication information comprises the type identification of the first event.
Optionally, the correction module 403 is specifically configured to:
determining the first correction mode from the at least two correction modes according to the type identification and the corresponding relation between the type of the event and the correction mode;
and starting the first correction mode.
Optionally, the saving module is specifically configured to:
receiving an input storage instruction, wherein the storage instruction is used for instructing a DVR to store a current video;
and responding to the storage instruction, storing the video record and adding a type identifier for the video record according to the first message.
Optionally, the query module is specifically configured to:
receiving an input query instruction, wherein the query instruction comprises a first type identifier of a first video;
and searching a first video record from the stored video records according to the first type identification.
Optionally, the receiving module 401 is further configured to receive a second message from the IPC, where the second message includes a second video stream;
a determining module 402, further configured to determine whether to turn off the remediation mode according to the second message;
the correcting module 403 is further configured to turn off the first correcting mode if it is determined that the correcting mode is turned off.
Optionally, the determining module 403 is further specifically configured to:
if the second message comprises second indication information, determining to close the correction mode, wherein the second indication information is used for indicating to close the correction mode; alternatively, the first and second electrodes may be,
if it is determined that the second video stream indicates a second event, it is determined to turn off the remediation mode.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present invention provides a fisheye image rectification apparatus, which may be the above-mentioned DVR102, where the DVR102 includes at least one processor 501, and the processor 501 is configured to execute a computer program stored in a memory, so as to implement the steps of the fisheye image rectification method shown in fig. 3 provided by the embodiment of the present invention.
Optionally, the processor 501 may be specifically a central processing unit, a specific ASIC, and may be one or more integrated circuits for controlling the execution of programs.
Optionally, the DVR102 may further comprise a memory 502 coupled to the at least one processor 501, and the memory 502 may comprise ROM, RAM, and disk storage. The memory 502 is used for storing data required by the processors 501 during operation, that is, storing instructions executable by at least one of the processors 501, and the at least one of the processors 501 executes the instructions stored in the memory 502 to perform the method shown in fig. 3. The number of the memories 502 is one or more. The memory 502 is shown in fig. 5, but it should be understood that the memory 502 is not an optional functional block, and is shown in fig. 5 by a dotted line.
The physical devices corresponding to the receiving module 401, the determining module 402, and the correcting module 403 may be the processor 501. The DVR102 may be configured to perform the method provided by the embodiment shown in fig. 3. Therefore, regarding the functions that can be realized by each functional module in the device, reference may be made to the corresponding description in the embodiment shown in fig. 3, which is not repeated herein.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.

Claims (11)

1. A method for correcting a fisheye image, the method comprising:
the method comprises the steps that a digital video recorder DVR receives a first message from a network camera IPC, the first message comprises a first video stream, and the DVR is connected with a fisheye camera;
the DVR determines whether to start a correction mode according to the first message, wherein the correction mode is used for correcting the image collected by the fisheye camera;
if the correction mode is determined to be started, the DVR starts a first correction mode according to the first message; wherein the DVR has at least two remediation modes, the at least two remediation modes comprising the first remediation mode.
2. The method of claim 1, wherein the DVR determining whether to turn on the remediation mode based on the first message comprises:
if the first message comprises first indication information, the DVR determines that the rectification mode needs to be started, the first indication information is used for indicating the DVR to start the rectification mode, and the first indication information comprises type identification of a first event; alternatively, the first and second electrodes may be,
if the DVR determines that a first video stream indicates a first event, the DVR determines that the remediation mode needs to be turned on.
3. The method of claim 2, wherein after the DVR determines that the first video stream indicates the first event, the method further comprises:
and the DVR generates second indication information according to the first event, wherein the second indication information comprises the type identification of the first event.
4. The method of claim 2 or 3, wherein the DVR, based on the first message, initiates a first remediation mode, comprising:
the DVR determines the first correction mode from the at least two correction modes according to the type identification and the corresponding relation between the type of the event and the correction mode;
the DVR turns on the first remediation mode.
5. The method of claim 1, wherein the method further comprises:
the DVR receives an input storage instruction, wherein the storage instruction is used for indicating the DVR to store the current video recording;
and the DVR responds to the storage instruction to store the video record and adds a type identifier for the video record according to the first message.
6. The method of claim 5, wherein the method further comprises:
the DVR receives an input query instruction, wherein the query instruction comprises a first type identification of a first video;
and the DVR searches a first video record from the stored video records according to the first type identification.
7. The method of claim 1, wherein the method further comprises:
the DVR receives a second message from the IPC, the second message comprising a second video stream;
the DVR determines whether to close the rectification mode according to the second message;
and if the correction mode is determined to be closed, the DVR closes the first correction mode.
8. The method of claim 7, wherein the DVR determining whether to turn off the remediation mode based on the second message comprises:
if the second message comprises second indication information, the DVR determines that the rectification mode needs to be closed, and the second indication information is used for indicating the DVR to close the rectification mode; alternatively, the first and second electrodes may be,
if the DVR determines that the second video stream indicates a second event, the DVR determines to turn off the remediation mode.
9. A DVR, wherein a fisheye camera is connected to the DVR, and wherein the DVR comprises:
the receiving module is used for receiving a first message from the IPC, wherein the first message comprises a first video stream;
the determining module is used for determining whether a correction mode is started according to the first message, and the correction mode is used for correcting the image collected by the fisheye camera;
the correction module is used for starting a first correction mode according to the first message if the correction mode is determined to be started; wherein the DVR has at least two remediation modes, the at least two remediation modes comprising the first remediation mode.
10. A DVR, characterized in that the DVR comprises at least one processor and a memory connected to the at least one processor, the at least one processor being adapted to carry out the steps of the method according to any of claims 1-8 when executing a computer program stored in the memory.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201911184103.7A 2019-11-27 2019-11-27 Fisheye image correction method and digital video recorder Active CN110933352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911184103.7A CN110933352B (en) 2019-11-27 2019-11-27 Fisheye image correction method and digital video recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911184103.7A CN110933352B (en) 2019-11-27 2019-11-27 Fisheye image correction method and digital video recorder

Publications (2)

Publication Number Publication Date
CN110933352A true CN110933352A (en) 2020-03-27
CN110933352B CN110933352B (en) 2021-11-16

Family

ID=69846759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911184103.7A Active CN110933352B (en) 2019-11-27 2019-11-27 Fisheye image correction method and digital video recorder

Country Status (1)

Country Link
CN (1) CN110933352B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI712050B (en) * 2020-04-14 2020-12-01 慧榮科技股份有限公司 Computer program product and method and apparatus for adjusting equalization
TWI824191B (en) * 2020-04-14 2023-12-01 慧榮科技股份有限公司 Computer program product and method and apparatus for adjusting equalization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195295A1 (en) * 2004-03-03 2005-09-08 Takashi Kawai Image-taking apparatus and image processing method
CN101127886A (en) * 2006-08-16 2008-02-20 天津市亚安科技电子有限公司 Electronic navigation positioning shooting monitoring system
CN102291568A (en) * 2011-07-22 2011-12-21 长春理工大学 Accelerated processing method of large-view-field intelligent video monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195295A1 (en) * 2004-03-03 2005-09-08 Takashi Kawai Image-taking apparatus and image processing method
CN101127886A (en) * 2006-08-16 2008-02-20 天津市亚安科技电子有限公司 Electronic navigation positioning shooting monitoring system
CN102291568A (en) * 2011-07-22 2011-12-21 长春理工大学 Accelerated processing method of large-view-field intelligent video monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI712050B (en) * 2020-04-14 2020-12-01 慧榮科技股份有限公司 Computer program product and method and apparatus for adjusting equalization
TWI824191B (en) * 2020-04-14 2023-12-01 慧榮科技股份有限公司 Computer program product and method and apparatus for adjusting equalization

Also Published As

Publication number Publication date
CN110933352B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN109040709B (en) Video monitoring method and device, monitoring server and video monitoring system
WO2020057355A1 (en) Three-dimensional modeling method and device
CN105100748B (en) A kind of video monitoring system and method
US8823826B2 (en) Digital camera and image capturing method
CN110933352B (en) Fisheye image correction method and digital video recorder
WO2014106384A1 (en) Method, apparatus and video monitoring system for providing monitoring video information
US10854068B2 (en) Method and system for configurable security and surveillance systems
WO2020057353A1 (en) Object tracking method based on high-speed ball, monitoring server, and video monitoring system
JP6465600B2 (en) Video processing apparatus and video processing method
KR20110132884A (en) Apparatus for intelligent video information retrieval supporting multi channel video indexing and retrieval, and method thereof
CN109155840B (en) Moving image dividing device and monitoring method
US20230093631A1 (en) Video search device and network surveillance camera system including same
WO2013131189A1 (en) Cloud-based video analytics with post-processing at the video source-end
CN113268211B (en) Image acquisition method, device, electronic equipment and storage medium
CN111405243A (en) Target monitoring method and system based on multiple cameras
JP2006093955A (en) Video processing apparatus
KR20210108691A (en) apparatus and method for multi-channel image back-up based on event, and network surveillance camera system including the same
US10194072B2 (en) Method and apparatus for remote detection of focus hunt
CN116193155A (en) Retrieval method based on video analysis, video monitoring system and computer equipment
CN116017136A (en) Shooting equipment control method and device, storage medium and electronic device
CN114501136A (en) Image acquisition method and device, mobile terminal and storage medium
US20130083963A1 (en) Electronic camera
JP6363130B2 (en) Surveillance method, difference image creation method, image restoration method, and difference detection apparatus in surveillance camera system
CN105681600A (en) Shooting method and device and intelligent terminal
KR20220003779A (en) apparatus and method for multi-channel image back-up based on event, and network surveillance camera system including the same

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