WO2019161808A1 - Body-worn law enforcement camera employing 4g/5g network and two-dimensional barcode scanning and identification, and method - Google Patents

Body-worn law enforcement camera employing 4g/5g network and two-dimensional barcode scanning and identification, and method Download PDF

Info

Publication number
WO2019161808A1
WO2019161808A1 PCT/CN2019/078776 CN2019078776W WO2019161808A1 WO 2019161808 A1 WO2019161808 A1 WO 2019161808A1 CN 2019078776 W CN2019078776 W CN 2019078776W WO 2019161808 A1 WO2019161808 A1 WO 2019161808A1
Authority
WO
WIPO (PCT)
Prior art keywords
dimensional code
network
video
image
audio
Prior art date
Application number
PCT/CN2019/078776
Other languages
French (fr)
Chinese (zh)
Inventor
邵敏强
Original Assignee
南京百利通信息技术有限责任公司
邵敏强
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 南京百利通信息技术有限责任公司, 邵敏强 filed Critical 南京百利通信息技术有限责任公司
Publication of WO2019161808A1 publication Critical patent/WO2019161808A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1473Methods for optical code recognition the method including quality enhancement steps error correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal

Definitions

  • the invention belongs to the technical field of law enforcement equipment, in particular to a law enforcement recorder based on 4G/5G network and two-dimensional code scanning recognition and a full-range audio and video recording method.
  • QR codes can be divided into two categories:
  • Stacked QR code based on one-dimensional barcode, multiple barcodes are stacked together for encoding. Common coding standards are PDF417;
  • the other is a matrix two-dimensional bar code represented by QR.
  • Matrix type two-dimensional code the information is represented by black and white squares in a matrix space, the black squares represent 1 and the white squares represent 0.
  • the corresponding combination represents a series of information, common coding
  • the standard has a QR code.
  • QR codes for encoding and decoding.
  • the QR code not only has large information capacity, high reliability, low cost, fast response, but also can display various text information such as Chinese characters and images, and its security is strong. And it is very convenient to use.
  • the QR code is divided into 40 versions.
  • the version 1 consists of 21x21 blocks. Each version adds 4 blocks.
  • the version 40 consists of 177x177 blocks. With each additional version, the amount of information that can be stored by the QR code increases.
  • the law enforcement recorder commonly used in the market can only realize functions such as photographing, video recording, recording, intercom, wireless network transmission, etc.
  • the photographed photos, audio and video files, recording files and other resources can be stored centrally in the collection workstation, or stored to In a unified storage device, if the user needs to call the photo of the law enforcement recorder, audio and video files and recording files, the audio and video files stored in the storage device can be called by calling on the collection workstation or by WEB.
  • the video of the law enforcement recorder can be randomly leaked to the unauthorised Internet, WeChat, Weibo and other media by directly playing back photos, audio and video files and recording files in the law enforcement recorder.
  • the leaked resources cannot be traced back to the source by effective means; the photos, audio and video files, and audio files of the law enforcement recorder can be processed, copied and cut once they are collected on the collection workstation or saved to the storage settings; At the time of the instrument, the video can be remake and leaked and cannot be traced back.
  • the video files stored in the memory card are also hidden and modified.
  • the problem to be solved by the present invention is to provide a unique identifier having an audio and video file during playback of an audio and video file, and after the audiovisual file is remake or leaked, it can be traced from the unique identification information.
  • the solution adopted by the present invention is: the law enforcement recorder based on 4G/5G network and two-dimensional code scanning and recognition, comprising a photographing device, comprising a two-dimensional code recognition unit for recognizing a two-dimensional code image The string information contained;
  • a two-dimensional code mark display unit configured to display a mark of successful recognition or successfully mark by a voice prompt on the display screen during video previewing and recording of the display screen of the photographing device after the two-dimensional code scan is successfully recognized.
  • 4G/5G network transmission unit is used to directly transmit audio and video media captured by law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be realized Manually or automatically associate QR code information.
  • the law enforcement recorder can identify the character string information included in the two-dimensional code, and the character string information included in each two-dimensional code has uniqueness, particularity, and designation.
  • the QR code image contains information that can be traced back to the information by the user, the time of use, and the law enforcement record event or the information contained in the QR code image; that is, the QR code can form a unique correspondence with the law enforcement recorder.
  • the display unit is further marked by the two-dimensional code for displaying the mark of successful recognition on the display screen during the video preview and recording process of the display screen of the photographing device after the two-dimensional code scan is successfully recognized.
  • the voice prompt mark is successful; and the string information is uniquely associated with the video audio file through the video audio file processing unit, and after the audio file is remake or leaked, the unique identification information can be traced from which one Law enforcement recorder or operator leaked.
  • the trace information can be traced through the string information. From which law enforcement recorder or operator leaked, and the existing law enforcement recorder does not have both QR code scanning recognition function and 4G/5G function, the audio and video media transmitted to the background through the 4G/5G network can be manually or Automatically associate QR code information. Therefore, there is a wide range of practical needs in the application industry that adopts law enforcement records.
  • the two-dimensional code identification unit has a pre-processing sub-unit and a decoding sub-unit; wherein the pre-processing sub-unit is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data;
  • the decoding subunit is used for two-dimensional codeword word extraction, error correction decoding, and information decoding.
  • Another problem to be solved by the present invention is to provide a full-range audio and video recording method based on 4G/5G network and two-dimensional code scanning recognition.
  • the full-range audio and video recording method based on two-dimensional code scanning identification includes the following steps:
  • step (1) identifying the two-dimensional code image in the step (1), after identifying the character string information included in the two-dimensional code, displaying on the display screen during video preview and recording of the display screen of the photographing device Identify successful tags or mark them successfully by voice prompts;
  • the character string information contained in the two-dimensional code can be displayed on the playback interface.
  • the two-dimensional code in the step (1) is a QR code two-dimensional code.
  • the identification of the two-dimensional code image includes a pre-processing and decoding step; wherein the specific method of the pre-processing step is:
  • the first step gray-scale processing the two-dimensional code image acquired by the image acquisition device, reducing the amount of data, reducing the storage space and image processing time;
  • the second step using median filtering to remove the noise points introduced when acquiring the 2D barcode image, and reducing the interference of noise on subsequent image processing;
  • the third step barcode recognition only needs to obtain the shallow and shallow module information in the barcode image, so the image needs to be binarized after filtering, and the algorithm of adaptive illumination equalization and Otsu global threshold is used to perform the two-dimensional barcode image. Binarization, removing the influence of uneven illumination of the bar code image;
  • the fourth step realizing the 2D barcode positioning, obtaining the tilt angle of the barcode and the four control vertices, cutting the region where the 2D barcode is located from the whole image, preparing for the rotation and geometric distortion correction of the subsequent barcode, reducing the subsequent image Processing range, speed up image processing;
  • Step 5 Rotate the image to a horizontal state according to the tilt angle of the barcode obtained in the fourth step;
  • the sixth step realizing the geometric distortion correction of the two-dimensional barcode, and obtaining a relatively regular barcode image
  • Step 7 QRcode two-dimensional code establishes a sampling grid according to the position detection pattern and the position information of the correction pattern, and prepares for the codeword extraction of the QRcode two-dimensional code;
  • QRcode two-dimensional codeword extraction is to sample the intersection of the sampling grid, the dark color is recorded as 0, and the light color is recorded as 1, the codeword sequence of the QRcode two-dimensional code can be obtained;
  • Step 9 Directly transfer the captured audio and video media to the network background through 4G/5G network for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be manually or automatically Associate QR code information;
  • the decoding step includes two-dimensional codeword word extraction, error correction decoding, and information decoding.
  • the invention also provides a law enforcement recording system based on 4G/5G network and two-dimensional code scanning and identification, comprising a background application service system and a law enforcement recorder, wherein the background application service system is connected to an external terminal through a wireless network, Generating a two-dimensional code on the external terminal;
  • the law enforcement recorder includes a photographing device, and further includes a two-dimensional code recognition unit, a two-dimensional code mark display unit, a video and audio file processing unit, and a 4G/5G network transmission unit;
  • the two-dimensional code identifying unit is configured to identify string information included in the two-dimensional code image
  • the two-dimensional code mark display unit is configured to display a mark indicating successful recognition or a sound prompt on the display screen during video previewing and recording of the display screen of the photographing device after the two-dimensional code scan is successfully recognized. Marked successfully;
  • 4G/5G network transmission unit is used to directly transmit audio and video media captured by law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be realized Manually or automatically associate QR code information;
  • the video audio and video file processing unit is configured to uniquely associate the character string information with the video audio file.
  • the two-dimensional code identification unit has a pre-processing sub-unit and a decoding sub-unit; wherein the pre-processing sub-unit is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data;
  • the decoding subunit is used for two-dimensional codeword word extraction, error correction decoding, and information decoding.
  • FIG. 1 is a simplified schematic diagram of a law enforcement recorder based on a 4G/5G network and two-dimensional code scanning recognition according to the present invention
  • FIG. 2 is a simplified schematic diagram of a law enforcement recording system based on 4G/5G network and two-dimensional code scanning recognition
  • 1- law enforcement recorder 2-photographing device; 3-two-dimensional code recognition unit; 301-preprocessing sub-unit; 302-decoding sub-unit; 4--dimensional code mark display unit; 5--video audio and video file processing Unit; 6-background application service system; 7-external terminal; 8-4G/5G network transmission unit.
  • the law enforcement recorder 1 based on two-dimensional code scanning recognition of the present invention includes a photographing device 2, which can be used to scan a two-dimensional code image by using a camera on the photographing device 2, and further includes a two-dimensional code recognition unit. 3, for identifying the string information contained in the two-dimensional code image, the information contained in the two-dimensional code image has the user, the use time, and the law enforcement record event or the information contained in the QR code image, which can be traced back to these information;
  • the two-dimensional code mark display unit 4 is configured to display the character string information recognized by the two-dimensional code recognition unit 3 on the audio and video preview interface captured by the photographing device 2;
  • the video audio and video file processing unit 5 is configured to uniquely associate the character string information with the video audio file
  • the 4G/5G network transmission unit 8 is used for directly transmitting the audio and video media captured by the law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be Realize manual or automatic association of QR code information.
  • the two-dimensional code identification unit 3 has a pre-processing sub-unit 301 and a decoding sub-unit 302.
  • the pre-processing sub-unit 301 is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data.
  • the decoding sub-unit 302 is used for two-dimensional code code word extraction, error correction decoding, and information decoding.
  • the above-mentioned law enforcement recorder 1 based on two-dimensional code scanning identification belongs to a part of the law enforcement recording system based on two-dimensional code scanning recognition of the present invention. As shown in FIG. 2, it is a law enforcement recording system based on two-dimensional code scanning identification of the present invention, including There is a background application business system 6 and a law enforcement recorder 1, which is connected to the external terminal 7 via a wireless network.
  • the external terminal 7 may be, for example, a smart phone, a PC, a tablet computer, etc., the law enforcement recorder 1 based on the two-dimensional code scanning and identification in this embodiment, by modifying the underlying main chip of the law enforcement recorder, Re-development and increase its function, realize the camera lens that can use the law enforcement record to scan the two-dimensional code pictures generated by the existing types of terminals, and identify the string information contained in the two-dimensional code.
  • the specific use method is: logging in the law enforcement record system through the external terminal 7, inputting the law enforcement personnel, the law enforcement recorder device number, the law enforcement start time and the like, so that the external terminal 7 generates a two-dimensional code image, and the two-dimensional code image includes the user, Use time and law enforcement to record events;
  • the specific law enforcement recording method based on two-dimensional code scanning identification includes the following steps:
  • step (1) identifying the two-dimensional code image in the step (1), after identifying the character string information included in the two-dimensional code, displaying on the display screen during video preview and recording of the display screen of the photographing device Identify successful tokens or mark success by voice prompts;
  • the character string information contained in the two-dimensional code can be displayed on the playback interface.
  • the audio and video media captured by the law enforcement recorder can be directly transmitted to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be manually or automatically associated with two-dimensional Code information.
  • the two-dimensional code in the step (1) is a QR code two-dimensional code.
  • the identification of the two-dimensional code image includes a pre-processing and decoding step; wherein the specific method of the pre-processing step is:
  • the first step gray-scale processing the two-dimensional code image acquired by the image acquisition device, reducing the amount of data, reducing the storage space and image processing time;
  • the second step using median filtering to remove the noise points introduced when acquiring the 2D barcode image, and reducing the interference of noise on subsequent image processing;
  • the third step barcode recognition only needs to obtain the shallow and shallow module information in the barcode image, so the image needs to be binarized after filtering, and the algorithm of adaptive illumination equalization and Otsu global threshold is used to perform the two-dimensional barcode image. Binarization, removing the influence of uneven illumination of the bar code image;
  • the fourth step realizing the 2D barcode positioning, obtaining the tilt angle of the barcode and the four control vertices, cutting the region where the 2D barcode is located from the whole image, preparing for the rotation and geometric distortion correction of the subsequent barcode, reducing the subsequent image Processing range, speed up image processing;
  • Step 5 Rotate the image to a horizontal state according to the tilt angle of the barcode obtained in the fourth step;
  • the sixth step realizing the geometric distortion correction of the two-dimensional barcode, and obtaining a relatively regular barcode image
  • Step 7 QRcode two-dimensional code establishes a sampling grid according to the position detection pattern and the position information of the correction pattern, and prepares for the codeword extraction of the QRcode two-dimensional code;
  • QRcode two-dimensional codeword extraction is to sample the intersection of the sampling grid, the dark color is recorded as 0, and the light color is recorded as 1, the codeword sequence of the QRcode two-dimensional code can be obtained;
  • the ninth step directly transmitting the audio and video media captured by the law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be manually or automatically associated. Dimension code information;
  • the decoding step includes two-dimensional codeword word extraction, error correction decoding, and information decoding.
  • the string information contained in the QR code After identifying the string information contained in the QR code, it is displayed on the audio and video preview interface of the law enforcement recorder. After the law enforcement recorder starts recording, the string information can be uniquely associated with the video audio file. At the same time, when the law enforcement recorder performs audio and video file playback, the character string information contained in the two-dimensional code can be displayed on the video playback interface. Since the character string information generated by the two-dimensional code generated by each type of terminal has uniqueness, particularity, and designation, in the playback process of the audio and video file, the unique identifier of the most audio and video file can be remake in the audio and video file. Or, after the leak, the trace information can be traced back from which law enforcement recorder.
  • the 4G/5G network transmission unit is mainly responsible for transmitting the audio and video media captured by the law enforcement recorder directly to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be manually implemented. Or automatically associate QR code information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Disclosed are a body-worn law enforcement camera employing a 4G/5G network and two-dimensional barcode scanning and identification, and a method for performing audio video recording of an entire event. The body-worn law enforcement camera comprises: a camera device; a 4G/5G network transmission unit; a two-dimensional barcode identification unit for identifying character string information contained in a two-dimensional barcode image; a two-dimensional code marker display unit for displaying, during a video preview on a display screen of the camera device and during a recording process thereof, a successfully identified marker on the display screen or providing an audible notification of successful identification; and a recorded audio video file processing unit for uniquely associating character string information with a recorded audio video file. Audiovisual media is directly transmitted to a network back-end for real-time preview, recording, stream media forwarding, and intelligent analysis, and a successfully identified marker is displayed on a display screen during a video preview and during a recording process, such that leaked audiovisual media can be traced back to a source body-worn camera or an operator by means of unique identification information.

Description

基于4G/5G网络和二维码扫描识别的执法记录仪及方法Law enforcement recorder and method based on 4G/5G network and two-dimensional code scanning identification 技术领域Technical field
本发明属于执法设备技术领域,尤其是一种基于4G/5G网络和二维码扫描识别的执法记录仪及全程音视频记录方法。The invention belongs to the technical field of law enforcement equipment, in particular to a law enforcement recorder based on 4G/5G network and two-dimensional code scanning recognition and a full-range audio and video recording method.
背景技术Background technique
从形成方式上,二维码可以分为两类:From the way of formation, QR codes can be divided into two categories:
(1)堆叠式二维码:在一维条形码的基础上,将多个条形码堆积在一起进行编码,常见的编码标准有PDF417等;(1) Stacked QR code: based on one-dimensional barcode, multiple barcodes are stacked together for encoding. Common coding standards are PDF417;
另外的就是以QR为代表的矩阵式二维条码。The other is a matrix two-dimensional bar code represented by QR.
(2)矩阵式二维码:在一个矩阵空间中通过黑色和白色的方块进行信息的表示,黑色的方块表示1,白色的方块表示0,相应的组合表示了一系列的信息,常见的编码标准有QR码,(2) Matrix type two-dimensional code: the information is represented by black and white squares in a matrix space, the black squares represent 1 and the white squares represent 0. The corresponding combination represents a series of information, common coding The standard has a QR code.
目前很多的应用都是用QR码进行编码,译码,QR码不仅信息容量大、可靠性高、成本低、响应速度快,还可表示汉字及图像等多种文字信息、其保密防伪性强而且使用非常方便。At present, many applications use QR codes for encoding and decoding. The QR code not only has large information capacity, high reliability, low cost, fast response, but also can display various text information such as Chinese characters and images, and its security is strong. And it is very convenient to use.
目前使用最广的是QR码,QR码分为40个版本,版本1由21x21个方块组成,每个版本增加4个方块,版本40由177x177个方块组成。每增加一个版本,QR码可储存的信息数量也随之增多。The most widely used is the QR code. The QR code is divided into 40 versions. The version 1 consists of 21x21 blocks. Each version adds 4 blocks. The version 40 consists of 177x177 blocks. With each additional version, the amount of information that can be stored by the QR code increases.
目前,市场上常用的执法记录仪只能实现拍照、摄像、录音、对讲、无线网络传输等功能,拍摄的照片,音视频文件、录音文件等资源可以集中存储到采集工作站中,或者存储到一个统一的存储设备中,如果使用单位需要调用执法记录仪的照片,音视频文件、录音文件,可以通过在采集工作站上调用,或者通过WEB方式调用统一保存在存储设备中的音视频文件。在实际使用过程中,执法记录仪的视频可以通过直接在执法记录仪中回放照片、音视频文件、录音文件的方式被随意泄露传播到非授权的互联网、微信、微博等媒体中,且被泄露的资源无法通过有效手段进行追溯来源;执法记录仪的照片、音视频文件、录音文件,一旦集中到采集工作站上或者保存到存储设置中,可以被随意处理,拷贝剪切;单独操作执法记录仪的时候,视频可以被翻拍被泄露无法追溯。执法记录仪在使 用过程中,由于存储卡可以热插拔,保存在存储卡中的视频文件也存在被随意被删除、修改的隐患。At present, the law enforcement recorder commonly used in the market can only realize functions such as photographing, video recording, recording, intercom, wireless network transmission, etc. The photographed photos, audio and video files, recording files and other resources can be stored centrally in the collection workstation, or stored to In a unified storage device, if the user needs to call the photo of the law enforcement recorder, audio and video files and recording files, the audio and video files stored in the storage device can be called by calling on the collection workstation or by WEB. In the actual use process, the video of the law enforcement recorder can be randomly leaked to the unauthorised Internet, WeChat, Weibo and other media by directly playing back photos, audio and video files and recording files in the law enforcement recorder. The leaked resources cannot be traced back to the source by effective means; the photos, audio and video files, and audio files of the law enforcement recorder can be processed, copied and cut once they are collected on the collection workstation or saved to the storage settings; At the time of the instrument, the video can be remake and leaked and cannot be traced back. During the use of the law enforcement recorder, since the memory card can be hot swapped, the video files stored in the memory card are also hidden and modified.
发明内容Summary of the invention
本发明要解决的问题是提供一种在音视频文件的回放过程中,具有音视频文件的唯一标识,在该音视频文件被翻拍或者泄露后,能通过该唯一标识信息追溯是从哪一个执法记录仪或者操作人员泄露的基于4G/5G网络和二维码扫描识别的执法记录仪。The problem to be solved by the present invention is to provide a unique identifier having an audio and video file during playback of an audio and video file, and after the audiovisual file is remake or leaked, it can be traced from the unique identification information. A law enforcement recorder based on 4G/5G network and QR code scanning identification leaked by the recorder or operator.
为解决上述技术问题,本发明采用的方案是:该基于4G/5G网络和二维码扫描识别的执法记录仪,包括有拍摄装置,包括有二维码识别单元,用于识别二维码图像所包含的字符串信息;In order to solve the above technical problem, the solution adopted by the present invention is: the law enforcement recorder based on 4G/5G network and two-dimensional code scanning and recognition, comprising a photographing device, comprising a two-dimensional code recognition unit for recognizing a two-dimensional code image The string information contained;
二维码标记显示单元,用于当二维码扫描识别成功后,在所述拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;a two-dimensional code mark display unit, configured to display a mark of successful recognition or successfully mark by a voice prompt on the display screen during video previewing and recording of the display screen of the photographing device after the two-dimensional code scan is successfully recognized. ;
4G/5G网络传输单元,用于将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息。4G/5G network transmission unit is used to directly transmit audio and video media captured by law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be realized Manually or automatically associate QR code information.
在上述技术方案中,由于具有二维码识别单元,该执法记录仪可识别二维码所包含的字符串信息,每个二维码包含的字符串信息有唯一性、特殊性、指定性,二维码图像包含的信息有使用人员、使用时间和执法记录事件或者说通过这个二维码图像所包含的信息,能够追溯到这些信息;即二维码能够与执法记录仪形成唯一对应性,这样,再利用二维码标记显示单元,用于当二维码扫描识别成功后,在所述拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;,并通过录像音视频文件处理单元将字符串信息与录像音视频文件进行唯一性关联,在该音视频文件被翻拍或者泄露后,能通过该唯一标识信息追溯是从哪一个执法记录仪或者操作人员泄露。In the above technical solution, since the two-dimensional code recognition unit has the two-dimensional code recognition unit, the law enforcement recorder can identify the character string information included in the two-dimensional code, and the character string information included in each two-dimensional code has uniqueness, particularity, and designation. The QR code image contains information that can be traced back to the information by the user, the time of use, and the law enforcement record event or the information contained in the QR code image; that is, the QR code can form a unique correspondence with the law enforcement recorder. In this way, the display unit is further marked by the two-dimensional code for displaying the mark of successful recognition on the display screen during the video preview and recording process of the display screen of the photographing device after the two-dimensional code scan is successfully recognized. The voice prompt mark is successful; and the string information is uniquely associated with the video audio file through the video audio file processing unit, and after the audio file is remake or leaked, the unique identification information can be traced from which one Law enforcement recorder or operator leaked.
与现有技术相比,由于各类终端生成的二维码包含的字符串信息有唯一性、特殊性、指定性,在该音视频文件被翻拍或者泄露后,能通过该字符串信息追溯是从哪一个执法记录仪或者操作人员泄露,同时目前现有的执法记录仪没有同时具有二维码扫描识别功能和4G/5G功能,通过4G/5G网络传输到后台的音视频 媒体可以实现手动或者自动关联二维码信息。因此在采用执法记录的应用行业有广泛的实际需求。Compared with the prior art, since the character string information generated by the two-dimensional code generated by each type of terminal has uniqueness, particularity, and designation, after the audio and video file is remake or leaked, the trace information can be traced through the string information. From which law enforcement recorder or operator leaked, and the existing law enforcement recorder does not have both QR code scanning recognition function and 4G/5G function, the audio and video media transmitted to the background through the 4G/5G network can be manually or Automatically associate QR code information. Therefore, there is a wide range of practical needs in the application industry that adopts law enforcement records.
优选的,所述二维码识别单元具有预处理子单元和解码子单元;其中,所述预处理子单元用于图像提取,将获取的二维码图像进行灰度化处理,降低数据量;解码子单元用于二维码码字提取、纠错译码和信息译码。Preferably, the two-dimensional code identification unit has a pre-processing sub-unit and a decoding sub-unit; wherein the pre-processing sub-unit is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data; The decoding subunit is used for two-dimensional codeword word extraction, error correction decoding, and information decoding.
本发明要解决的另一个问题是,提供一种基于4G/5G网络和二维码扫描识别的全程音视频记录方法。Another problem to be solved by the present invention is to provide a full-range audio and video recording method based on 4G/5G network and two-dimensional code scanning recognition.
为解决上述技术问题,该基于二维码扫描识别的全程音视频记录方法包括以下步骤:To solve the above technical problem, the full-range audio and video recording method based on two-dimensional code scanning identification includes the following steps:
(1)生成一个二维码图像;(1) generating a two-dimensional code image;
(2)识别所述步骤(1)中的二维码图像,在识别出二维码包含的字符串信息后,在拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;(2) identifying the two-dimensional code image in the step (1), after identifying the character string information included in the two-dimensional code, displaying on the display screen during video preview and recording of the display screen of the photographing device Identify successful tags or mark them successfully by voice prompts;
(3)将字符串信息与录像音视频文件进行唯一性关联;(3) uniquely associating the string information with the video audio file;
(4)在执法记录仪进行录像音视频文件回放时,能在回放界面上显示二维码包含的字符串信息。(4) When the law enforcement recorder performs playback of the recorded audio and video files, the character string information contained in the two-dimensional code can be displayed on the playback interface.
优选的,所述步骤(1)中的二维码为QRcode二维码。Preferably, the two-dimensional code in the step (1) is a QR code two-dimensional code.
优选的,在所述步骤(2)中,二维码图像的识别包括预处理和解码步骤;其中所述预处理步骤的具体方法为:Preferably, in the step (2), the identification of the two-dimensional code image includes a pre-processing and decoding step; wherein the specific method of the pre-processing step is:
第一步:将图像采集设备获取的二维码图像进行灰度化处理,降低数据量,减少存储空间和图像处理时间;The first step: gray-scale processing the two-dimensional code image acquired by the image acquisition device, reducing the amount of data, reducing the storage space and image processing time;
第二步:使用中值滤波去除采集二维条码图像时引入的噪声点,降低噪声对后续图像处理的干扰;The second step: using median filtering to remove the noise points introduced when acquiring the 2D barcode image, and reducing the interference of noise on subsequent image processing;
第三步:条码识别只需要获取条码图像中的深浅模块信息即可,所以在滤波后需要对图像进行二值化,采用自适应光照均衡和Otsu全局阈值相结合的算法对二维条码图像进行二值化,去除条码图像光照不均的影响;The third step: barcode recognition only needs to obtain the shallow and shallow module information in the barcode image, so the image needs to be binarized after filtering, and the algorithm of adaptive illumination equalization and Otsu global threshold is used to perform the two-dimensional barcode image. Binarization, removing the influence of uneven illumination of the bar code image;
第四步:实现二维条码定位,获取条码的倾斜角度和四个控制顶点,将二维条码所在区域从整幅图像中切割出来,为后续条码的旋转和几何畸变校正做准备,减少后续图像处理范围,加快图像处理速度;The fourth step: realizing the 2D barcode positioning, obtaining the tilt angle of the barcode and the four control vertices, cutting the region where the 2D barcode is located from the whole image, preparing for the rotation and geometric distortion correction of the subsequent barcode, reducing the subsequent image Processing range, speed up image processing;
第五步:根据第四步得到的条码倾斜角度将图像旋转为水平状态;Step 5: Rotate the image to a horizontal state according to the tilt angle of the barcode obtained in the fourth step;
第六步:实现二维条码的几何失真校正,得到一幅较为规整条码图像;The sixth step: realizing the geometric distortion correction of the two-dimensional barcode, and obtaining a relatively regular barcode image;
第七步:QRcode二维码根据位置探测图形和校正图形的位置信息建立采样网格,为QRcode二维码的码字提取做好准备;Step 7: QRcode two-dimensional code establishes a sampling grid according to the position detection pattern and the position information of the correction pattern, and prepares for the codeword extraction of the QRcode two-dimensional code;
第八步:QRcode二维码码字提取则是对采样网格交叉点进行采样,深色记为0,浅色记为1,即可得到QRcode二维码的码字序列;The eighth step: QRcode two-dimensional codeword extraction is to sample the intersection of the sampling grid, the dark color is recorded as 0, and the light color is recorded as 1, the codeword sequence of the QRcode two-dimensional code can be obtained;
第九步:将拍摄的音视频媒体通过4G/5G网络直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息;Step 9: Directly transfer the captured audio and video media to the network background through 4G/5G network for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be manually or automatically Associate QR code information;
所述解码步骤包括有二维码码字提取、纠错译码和信息译码。The decoding step includes two-dimensional codeword word extraction, error correction decoding, and information decoding.
本发明还提供一种基于4G/5G网络和二维码扫描识别的执法记录系统,包括有后台应用业务系统和执法记录仪,所述后台应用业务系统通过无线网络连接有外部终端,在所述外部终端上生成二维码;所述执法记录仪包括有拍摄装置,还包括有二维码识别单元、二维码标记显示单元和录像音视频文件处理单元、4G/5G网络传输单元;The invention also provides a law enforcement recording system based on 4G/5G network and two-dimensional code scanning and identification, comprising a background application service system and a law enforcement recorder, wherein the background application service system is connected to an external terminal through a wireless network, Generating a two-dimensional code on the external terminal; the law enforcement recorder includes a photographing device, and further includes a two-dimensional code recognition unit, a two-dimensional code mark display unit, a video and audio file processing unit, and a 4G/5G network transmission unit;
所述二维码识别单元,用于识别二维码图像所包含的字符串信息;The two-dimensional code identifying unit is configured to identify string information included in the two-dimensional code image;
所述二维码标记显示单元,用于当二维码扫描识别成功后,在所述拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;;The two-dimensional code mark display unit is configured to display a mark indicating successful recognition or a sound prompt on the display screen during video previewing and recording of the display screen of the photographing device after the two-dimensional code scan is successfully recognized. Marked successfully;
4G/5G网络传输单元,用于将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息;4G/5G network transmission unit is used to directly transmit audio and video media captured by law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be realized Manually or automatically associate QR code information;
所述录像音视频文件处理单元,用于将字符串信息与录像音视频文件进行唯一性关联。The video audio and video file processing unit is configured to uniquely associate the character string information with the video audio file.
优选的,所述二维码识别单元具有预处理子单元和解码子单元;其中,所述预处理子单元用于图像提取,将获取的二维码图像进行灰度化处理,降低数据量;解码子单元用于二维码码字提取、纠错译码和信息译码。Preferably, the two-dimensional code identification unit has a pre-processing sub-unit and a decoding sub-unit; wherein the pre-processing sub-unit is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data; The decoding subunit is used for two-dimensional codeword word extraction, error correction decoding, and information decoding.
附图说明DRAWINGS
下面结合附图和本发明的实施方式进一步详细说明:The following is further described in detail in conjunction with the drawings and embodiments of the present invention:
图1是本发明基于4G/5G网络和二维码扫描识别的执法记录仪的简易结构示意图;1 is a simplified schematic diagram of a law enforcement recorder based on a 4G/5G network and two-dimensional code scanning recognition according to the present invention;
图2是基于4G/5G网络和二维码扫描识别的执法记录系统的简易结构示意图;2 is a simplified schematic diagram of a law enforcement recording system based on 4G/5G network and two-dimensional code scanning recognition;
其中:1-执法记录仪;2-拍摄装置;3-二维码识别单元;301-预处理子单元;302-解码子单元;4-二维码标记显示单元;5-录像音视频文件处理单元;6-后台应用业务系统;7-外部终端;8-4G/5G网络传输单元。Among them: 1- law enforcement recorder; 2-photographing device; 3-two-dimensional code recognition unit; 301-preprocessing sub-unit; 302-decoding sub-unit; 4--dimensional code mark display unit; 5--video audio and video file processing Unit; 6-background application service system; 7-external terminal; 8-4G/5G network transmission unit.
具体实施方式Detailed ways
如图1所示,本发明的基于二维码扫描识别的执法记录仪1,包括有拍摄装置2,利用拍摄装置2上的摄像头可用于扫描二维码图像,还包括有二维码识别单元3,用于识别二维码图像所包含的字符串信息,二维码图像包含的信息有使用人员、使用时间和执法记录事件或者说通过这个二维码图像所包含的信息,能够追溯到这些信息;As shown in FIG. 1, the law enforcement recorder 1 based on two-dimensional code scanning recognition of the present invention includes a photographing device 2, which can be used to scan a two-dimensional code image by using a camera on the photographing device 2, and further includes a two-dimensional code recognition unit. 3, for identifying the string information contained in the two-dimensional code image, the information contained in the two-dimensional code image has the user, the use time, and the law enforcement record event or the information contained in the QR code image, which can be traced back to these information;
二维码标记显示单元4,用于将所述二维码识别单元3识别后的字符串信息显示在所述拍摄装置2所拍摄的音视频预览界面上;The two-dimensional code mark display unit 4 is configured to display the character string information recognized by the two-dimensional code recognition unit 3 on the audio and video preview interface captured by the photographing device 2;
录像音视频文件处理单元5,用于将字符串信息与录像音视频文件进行唯一性关联;The video audio and video file processing unit 5 is configured to uniquely associate the character string information with the video audio file;
4G/5G网络传输单元8,用于将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息。The 4G/5G network transmission unit 8 is used for directly transmitting the audio and video media captured by the law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be Realize manual or automatic association of QR code information.
此外,二维码识别单元3具有预处理子单元301和解码子单元302;其中,所述预处理子单元301用于图像提取,将获取的二维码图像进行灰度化处理,降低数据量;解码子单元302用于二维码码字提取、纠错译码和信息译码。In addition, the two-dimensional code identification unit 3 has a pre-processing sub-unit 301 and a decoding sub-unit 302. The pre-processing sub-unit 301 is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data. The decoding sub-unit 302 is used for two-dimensional code code word extraction, error correction decoding, and information decoding.
上述基于二维码扫描识别的执法记录仪1属于本发明基于二维码扫描识别的执法记录系统的一部分,如图2所示,是本发明的基于二维码扫描识别的执法记录系统,包括有后台应用业务系统6和执法记录仪1,所述后台应用业务系统6通过无线网络连接有外部终端7。The above-mentioned law enforcement recorder 1 based on two-dimensional code scanning identification belongs to a part of the law enforcement recording system based on two-dimensional code scanning recognition of the present invention. As shown in FIG. 2, it is a law enforcement recording system based on two-dimensional code scanning identification of the present invention, including There is a background application business system 6 and a law enforcement recorder 1, which is connected to the external terminal 7 via a wireless network.
在本实施例中,外部终端7可以是诸如智能手机、PC、平板电脑等,本实施例中的基于二维码扫描识别的执法记录仪1,通过对执法记录仪的底层主芯片 进行改造,重新开发增加其功能的,实现能利用执法记录的摄像镜头对现有各类终端生成的二维码图片进行扫描,并识别出二维码所包含的字符串信息。In this embodiment, the external terminal 7 may be, for example, a smart phone, a PC, a tablet computer, etc., the law enforcement recorder 1 based on the two-dimensional code scanning and identification in this embodiment, by modifying the underlying main chip of the law enforcement recorder, Re-development and increase its function, realize the camera lens that can use the law enforcement record to scan the two-dimensional code pictures generated by the existing types of terminals, and identify the string information contained in the two-dimensional code.
具体的使用方法是:通过外部终端7登录执法记录系统,输入执法人员、执法记录仪设备编号,执法开始时间等信息,使得外部终端7生成一个二维码图像,二维码图像包含使用人员、使用时间和执法记录事件;The specific use method is: logging in the law enforcement record system through the external terminal 7, inputting the law enforcement personnel, the law enforcement recorder device number, the law enforcement start time and the like, so that the external terminal 7 generates a two-dimensional code image, and the two-dimensional code image includes the user, Use time and law enforcement to record events;
具体的基于二维码扫描识别的执法记录方法包括以下步骤:The specific law enforcement recording method based on two-dimensional code scanning identification includes the following steps:
(1)生成一个二维码图像;(1) generating a two-dimensional code image;
(2)识别所述步骤(1)中的二维码图像,在识别出二维码包含的字符串信息后,在拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;;(2) identifying the two-dimensional code image in the step (1), after identifying the character string information included in the two-dimensional code, displaying on the display screen during video preview and recording of the display screen of the photographing device Identify successful tokens or mark success by voice prompts;
(3)将字符串信息与录像音视频文件进行唯一性关联;(3) uniquely associating the string information with the video audio file;
(4)在执法记录仪进行录像音视频文件回放时,能在回放界面上显示二维码包含的字符串信息。(4) When the law enforcement recorder performs playback of the recorded audio and video files, the character string information contained in the two-dimensional code can be displayed on the playback interface.
(5)将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息。(5) The audio and video media captured by the law enforcement recorder can be directly transmitted to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be manually or automatically associated with two-dimensional Code information.
所述步骤(1)中的二维码为QRcode二维码。The two-dimensional code in the step (1) is a QR code two-dimensional code.
在所述步骤(2)中,二维码图像的识别包括预处理和解码步骤;其中所述预处理步骤的具体方法为:In the step (2), the identification of the two-dimensional code image includes a pre-processing and decoding step; wherein the specific method of the pre-processing step is:
第一步:将图像采集设备获取的二维码图像进行灰度化处理,降低数据量,减少存储空间和图像处理时间;The first step: gray-scale processing the two-dimensional code image acquired by the image acquisition device, reducing the amount of data, reducing the storage space and image processing time;
第二步:使用中值滤波去除采集二维条码图像时引入的噪声点,降低噪声对后续图像处理的干扰;The second step: using median filtering to remove the noise points introduced when acquiring the 2D barcode image, and reducing the interference of noise on subsequent image processing;
第三步:条码识别只需要获取条码图像中的深浅模块信息即可,所以在滤波后需要对图像进行二值化,采用自适应光照均衡和Otsu全局阈值相结合的算法对二维条码图像进行二值化,去除条码图像光照不均的影响;The third step: barcode recognition only needs to obtain the shallow and shallow module information in the barcode image, so the image needs to be binarized after filtering, and the algorithm of adaptive illumination equalization and Otsu global threshold is used to perform the two-dimensional barcode image. Binarization, removing the influence of uneven illumination of the bar code image;
第四步:实现二维条码定位,获取条码的倾斜角度和四个控制顶点,将二维条码所在区域从整幅图像中切割出来,为后续条码的旋转和几何畸变校正做准备,减少后续图像处理范围,加快图像处理速度;The fourth step: realizing the 2D barcode positioning, obtaining the tilt angle of the barcode and the four control vertices, cutting the region where the 2D barcode is located from the whole image, preparing for the rotation and geometric distortion correction of the subsequent barcode, reducing the subsequent image Processing range, speed up image processing;
第五步:根据第四步得到的条码倾斜角度将图像旋转为水平状态;Step 5: Rotate the image to a horizontal state according to the tilt angle of the barcode obtained in the fourth step;
第六步:实现二维条码的几何失真校正,得到一幅较为规整条码图像;The sixth step: realizing the geometric distortion correction of the two-dimensional barcode, and obtaining a relatively regular barcode image;
第七步:QRcode二维码根据位置探测图形和校正图形的位置信息建立采样网格,为QRcode二维码的码字提取做好准备;Step 7: QRcode two-dimensional code establishes a sampling grid according to the position detection pattern and the position information of the correction pattern, and prepares for the codeword extraction of the QRcode two-dimensional code;
第八步:QRcode二维码码字提取则是对采样网格交叉点进行采样,深色记为0,浅色记为1,即可得到QRcode二维码的码字序列;The eighth step: QRcode two-dimensional codeword extraction is to sample the intersection of the sampling grid, the dark color is recorded as 0, and the light color is recorded as 1, the codeword sequence of the QRcode two-dimensional code can be obtained;
第九步:将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息;The ninth step: directly transmitting the audio and video media captured by the law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be manually or automatically associated. Dimension code information;
所述解码步骤包括有二维码码字提取、纠错译码和信息译码。The decoding step includes two-dimensional codeword word extraction, error correction decoding, and information decoding.
在识别出二维码包含的字符串信息后,显示在执法记录仪的音视频预览界面上,在执法记录仪开始录像后,能将字符串信息与录像音视频文件进行唯一性关联。同时在执法记录仪进行音视频文件回放时,能在视频回放界面上显示二维码包含的字符串信息。由于各类终端生成的二维码包含的字符串信息有唯一性、特殊性、指定性,因此在音视频文件的回放过程中,能最为音视频文件的唯一标识,在该音视频文件被翻拍或者泄露后,能通过该字符串信息追溯是从哪一个执法记录仪泄露。4G/5G网络传输单元主要负责将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息。After identifying the string information contained in the QR code, it is displayed on the audio and video preview interface of the law enforcement recorder. After the law enforcement recorder starts recording, the string information can be uniquely associated with the video audio file. At the same time, when the law enforcement recorder performs audio and video file playback, the character string information contained in the two-dimensional code can be displayed on the video playback interface. Since the character string information generated by the two-dimensional code generated by each type of terminal has uniqueness, particularity, and designation, in the playback process of the audio and video file, the unique identifier of the most audio and video file can be remake in the audio and video file. Or, after the leak, the trace information can be traced back from which law enforcement recorder. The 4G/5G network transmission unit is mainly responsible for transmitting the audio and video media captured by the law enforcement recorder directly to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; the audio and video media transmitted to the background through the 4G/5G network can be manually implemented. Or automatically associate QR code information.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明;凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments of the present invention have been described in detail, and are not intended to limit the present invention; Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (5)

  1. 一种基于4G/5G网络和二维码扫描识别的执法记录仪,包括有拍摄装置,其特征在于,还包括有二维码识别单元,用于识别二维码图像所包含的字符串信息;A law enforcement recorder based on 4G/5G network and two-dimensional code scanning and identification, comprising a photographing device, further comprising a two-dimensional code identifying unit for identifying string information included in the two-dimensional code image;
    二维码标记显示单元,用于当二维码扫描识别成功后,在所述拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;a two-dimensional code mark display unit, configured to display a mark of successful recognition or successfully mark by a voice prompt on the display screen during video previewing and recording of the display screen of the photographing device after the two-dimensional code scan is successfully recognized. ;
    4G/5G网络传输单元,用于将执法记录仪拍摄的音视频媒体直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息。4G/5G network transmission unit is used to directly transmit audio and video media captured by law enforcement recorder to the network background for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be realized Manually or automatically associate QR code information.
    录像音视频文件处理单元,用于将字符串信息与录像音视频文件进行唯一性关联。The video audio and video file processing unit is configured to uniquely associate the string information with the video audio file.
  2. 根据权利要求1所述的基于4G/5G网络和二维码扫描识别的执法记录仪,其特征在于,所述二维码识别单元具有预处理子单元和解码子单元;其中,所述预处理子单元用于图像提取,将获取的二维码图像进行灰度化处理,降低数据量;解码子单元用于二维码码字提取、纠错译码和信息译码。The law enforcement recorder based on 4G/5G network and two-dimensional code scanning identification according to claim 1, wherein the two-dimensional code identifying unit has a preprocessing subunit and a decoding subunit; wherein the preprocessing The subunit is used for image extraction, and the acquired two-dimensional code image is grayed out to reduce the amount of data; the decoding subunit is used for two-dimensional codeword extraction, error correction decoding and information decoding.
  3. 一种基于4G/5G网络和二维码扫描识别的全程音视频记录方法,其特征在于,包括以下步骤:A full-range audio and video recording method based on 4G/5G network and two-dimensional code scanning recognition, characterized in that it comprises the following steps:
    (1)生成一个二维码图像;(1) generating a two-dimensional code image;
    (2)识别所述步骤(1)中的二维码图像,在识别出二维码包含的字符串信息后,在拍摄装置的显示屏的视频预览和录制过程中,所述显示屏上显示识别成功的标记或者通过声音提示标记成功;(2) identifying the two-dimensional code image in the step (1), after identifying the character string information included in the two-dimensional code, displaying on the display screen during video preview and recording of the display screen of the photographing device Identify successful tags or mark them successfully by voice prompts;
    (3)将字符串信息与录像音视频文件进行唯一性关联;(3) uniquely associating the string information with the video audio file;
    (4)在执法记录仪进行录像音视频文件回放时,能在回放界面上显示二维码包含的字符串信息。(4) When the law enforcement recorder performs playback of the recorded audio and video files, the character string information contained in the two-dimensional code can be displayed on the playback interface.
    (5)同时将拍摄的音视频媒体通过4G/5G网络直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息。(5) Simultaneously transfer the captured audio and video media to the network background through 4G/5G network for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be manually or automatically Associate QR code information.
  4. 根据权利要求3所述的基于4G/5G网络和二维码扫描识别的全程音视频记录方法,其特征在于,所述步骤(1)中的二维码为QRcode二维码。The full-range audio and video recording method based on 4G/5G network and two-dimensional code scanning and recognition according to claim 3, wherein the two-dimensional code in the step (1) is a QRcode two-dimensional code.
  5. 根据权利要求4所述的基于4G/5G网络和二维码扫描识别的全程音视频记录方法,其特征在于,在所述步骤(2)中,二维码图像的识别包括预处理和解码步骤;其中所述预处理步骤的具体方法为:The full-range audio and video recording method based on 4G/5G network and two-dimensional code scanning recognition according to claim 4, wherein in the step (2), the identification of the two-dimensional code image comprises a pre-processing and decoding step The specific method of the pre-processing step is:
    第一步:将图像采集设备获取的二维码图像进行灰度化处理,降低数据量,减少存储空间和图像处理时间;The first step: gray-scale processing the two-dimensional code image acquired by the image acquisition device, reducing the amount of data, reducing the storage space and image processing time;
    第二步:使用中值滤波去除采集二维条码图像时引入的噪声点,降低噪声对后续图像处理的干扰;The second step: using median filtering to remove the noise points introduced when acquiring the 2D barcode image, and reducing the interference of noise on subsequent image processing;
    第三步:条码识别只需要获取条码图像中的深浅模块信息即可,所以在滤波后需要对图像进行二值化,采用自适应光照均衡和Otsu全局阈值相结合的算法对二维条码图像进行二值化,去除条码图像光照不均的影响;The third step: barcode recognition only needs to obtain the shallow and shallow module information in the barcode image, so the image needs to be binarized after filtering, and the algorithm of adaptive illumination equalization and Otsu global threshold is used to perform the two-dimensional barcode image. Binarization, removing the influence of uneven illumination of the bar code image;
    第四步:实现二维条码定位,获取条码的倾斜角度和四个控制顶点,将二维条码所在区域从整幅图像中切割出来,为后续条码的旋转和几何畸变校正做准备,减少后续图像处理范围,加快图像处理速度;The fourth step: realizing the 2D barcode positioning, obtaining the tilt angle of the barcode and the four control vertices, cutting the region where the 2D barcode is located from the whole image, preparing for the rotation and geometric distortion correction of the subsequent barcode, reducing the subsequent image Processing range, speed up image processing;
    第五步:根据第四步得到的条码倾斜角度将图像旋转为水平状态;Step 5: Rotate the image to a horizontal state according to the tilt angle of the barcode obtained in the fourth step;
    第六步:实现二维条码的几何失真校正,得到一幅较为规整条码图像;The sixth step: realizing the geometric distortion correction of the two-dimensional barcode, and obtaining a relatively regular barcode image;
    第七步:QRcode二维码根据位置探测图形和校正图形的位置信息建立采样网格,为QRcode二维码的码字提取做好准备;Step 7: QRcode two-dimensional code establishes a sampling grid according to the position detection pattern and the position information of the correction pattern, and prepares for the codeword extraction of the QRcode two-dimensional code;
    第八步:QRcode二维码码字提取则是对采样网格交叉点进行采样,深色记为0,浅色记为1,即可得到QRcode二维码的码字序列;The eighth step: QRcode two-dimensional codeword extraction is to sample the intersection of the sampling grid, the dark color is recorded as 0, and the light color is recorded as 1, the codeword sequence of the QRcode two-dimensional code can be obtained;
    第九步:同时将拍摄的音视频媒体通过4G/5G网络直接传输到网络后台进行实时预览、录像、流媒体转发及智能分析;通过4G/5G网络传输到后台的音视频媒体可以实现手动或者自动关联二维码信息;Step 9: Simultaneously transfer the captured audio and video media to the network background through 4G/5G network for real-time preview, video recording, streaming media forwarding and intelligent analysis; audio and video media transmitted to the background through 4G/5G network can be manually or Automatically associate QR code information;
    所述解码步骤包括有二维码码字提取、纠错译码和信息译码。The decoding step includes two-dimensional codeword word extraction, error correction decoding, and information decoding.
PCT/CN2019/078776 2018-02-24 2019-03-19 Body-worn law enforcement camera employing 4g/5g network and two-dimensional barcode scanning and identification, and method WO2019161808A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810156981.7 2018-02-24
CN201810156981.7A CN110198424A (en) 2018-02-24 2018-02-24 The law-enforcing recorder and method identified based on 4G5G network and two-dimensional code scanning

Publications (1)

Publication Number Publication Date
WO2019161808A1 true WO2019161808A1 (en) 2019-08-29

Family

ID=67687466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/078776 WO2019161808A1 (en) 2018-02-24 2019-03-19 Body-worn law enforcement camera employing 4g/5g network and two-dimensional barcode scanning and identification, and method

Country Status (2)

Country Link
CN (1) CN110198424A (en)
WO (1) WO2019161808A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005063151A (en) * 2003-08-12 2005-03-10 Kyosuke Nakagawa Method and system of user authentication using identification code
US8436911B2 (en) * 2006-09-14 2013-05-07 Freezecrowd, Inc. Tagging camera
CN104410813A (en) * 2014-10-24 2015-03-11 浙江宇视科技有限公司 Method and device for binding user account with monitoring equipment in video monitoring system
CN104484694A (en) * 2014-12-31 2015-04-01 立德高科(北京)数码科技有限责任公司 Method for binding and checking multimedia information by scanning any two-dimension code
CN105872704A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing control method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201674570U (en) * 2010-04-28 2010-12-15 天津三星光电子有限公司 Digital camera with digital watermarking function
CN102136058B (en) * 2011-04-26 2014-04-30 中国农业大学 Bar code image identification method
CN104243411B (en) * 2013-06-14 2019-06-25 腾讯科技(深圳)有限公司 Multi-media processing method, client and terminal device
US9313449B2 (en) * 2014-04-30 2016-04-12 Adobe Systems Incorporated Cross-device information exchange via web browser
CN106817630A (en) * 2015-11-27 2017-06-09 北京奇虎科技有限公司 Server end is used to recognize the method and device of picture pick-up device
CN206162657U (en) * 2016-07-11 2017-05-10 青岛福晓电力设备有限公司 Online disclosure system of construction drawing based on two -dimensional code discernment
CN106779745A (en) * 2016-12-15 2017-05-31 上海净意信息科技有限公司 Monitoring system and method are reviewed in a kind of organic herding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005063151A (en) * 2003-08-12 2005-03-10 Kyosuke Nakagawa Method and system of user authentication using identification code
US8436911B2 (en) * 2006-09-14 2013-05-07 Freezecrowd, Inc. Tagging camera
CN104410813A (en) * 2014-10-24 2015-03-11 浙江宇视科技有限公司 Method and device for binding user account with monitoring equipment in video monitoring system
CN104484694A (en) * 2014-12-31 2015-04-01 立德高科(北京)数码科技有限责任公司 Method for binding and checking multimedia information by scanning any two-dimension code
CN105872704A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing control method and device

Also Published As

Publication number Publication date
CN110198424A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
WO2019161809A1 (en) Recording system and method for barcode scanning and identification based on 4g/5g network
WO2019072127A1 (en) Law enforcement recorder based on two-dimensional code scanning and identifying, and whole-process audio and video recording method
WO2019072126A1 (en) Whole-process audio and video recording system based on two-dimensional code scanning and identifying, and usage method thereof
Novozamsky et al. IMD2020: A large-scale annotated dataset tailored for detecting manipulated images
Piva An overview on image forensics
CN103279730B (en) Mobile terminal processes the method and apparatus of visual graphic code
US7106902B2 (en) Personal authentication system and method thereof
US20160188938A1 (en) Image identification marker and method
JP6209962B2 (en) Information processing apparatus and information processing program
WO2010017709A1 (en) Method and terminal for acquiring two-dimensional code
JP2011513809A (en) Method and apparatus for reading information contained in bar code
JP2004178560A (en) System and method for selectively processing digital image
CN109598162A (en) Identify method, apparatus, terminal device and the storage medium of two dimensional code
CN103793676A (en) Method and device for identifying anti-counterfeiting mark composed of two-dimensional code and raster graphic
CN107358079A (en) Real-time face identifies login validation method and system
CN109166193B (en) Photographing card-punching or evidence-obtaining method based on time, position, random number and bar code
WO2014194827A1 (en) Method and device for mobile terminal to process visualization graphics code
CN108304815A (en) A kind of data capture method, device, server and storage medium
CN105590113A (en) Information-acquiring method based on law enforcement recorder
KR20090073554A (en) Apparatus and method for storing automobiled image based embedded
JP2012053519A (en) Image processing apparatus and image processing system
WO2019161808A1 (en) Body-worn law enforcement camera employing 4g/5g network and two-dimensional barcode scanning and identification, and method
TW202117626A (en) Information processing device, information processing system, information processing method, and program
CN109788169A (en) Law enforcement based on signature and audio-video analysis identification records system and method
JP2012049860A (en) Image processor, image processing method and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19757790

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19757790

Country of ref document: EP

Kind code of ref document: A1