KR20130114037A - Masking and recovering method of privacy region - Google Patents

Masking and recovering method of privacy region Download PDF

Info

Publication number
KR20130114037A
KR20130114037A KR1020130106167A KR20130106167A KR20130114037A KR 20130114037 A KR20130114037 A KR 20130114037A KR 1020130106167 A KR1020130106167 A KR 1020130106167A KR 20130106167 A KR20130106167 A KR 20130106167A KR 20130114037 A KR20130114037 A KR 20130114037A
Authority
KR
South Korea
Prior art keywords
privacy
data
image data
masking
masked
Prior art date
Application number
KR1020130106167A
Other languages
Korean (ko)
Other versions
KR101460552B1 (en
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 엠엠피씨 주식회사
Priority to KR1020130106167A priority Critical patent/KR101460552B1/en
Publication of KR20130114037A publication Critical patent/KR20130114037A/en
Application granted granted Critical
Publication of KR101460552B1 publication Critical patent/KR101460552B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/3872Repositioning or masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption

Abstract

PURPOSE: A masking and restoring method of a privacy domain is provided to minimize the amount of data which is stored or transmitted. CONSTITUTION: Masked image data (MID) is generated by decoding encoded masked image data (EMID) (S21). Privacy data is generated by decoding encrypted privacy data (EPD) with a key (S22). In case a user does not have the key, masked image is displayed on a screen using the MID. In case the user has the key, an original image having a restored privacy domain is displayed on the screen using the information of the privacy domain, the MID and the PD. [Reference numerals] (AA) Start; (BB) End; (S21) Decode encoded masked image data; (S22) Decode encrypted privacy data using a key; (S23) Recover the original image of a privacy area by deducting the decoded privacy data from a saturation value; (S24) Obtain overall data about the original image data based on information about the privacy area's coordinates, size, and time; (S25) Display the masked image data or the original image data

Description

프라이버시 영역의 마스킹 및 복원 방법{Masking and Recovering Method of Privacy Region}Masking and Recovering Method of Privacy Region

본 발명은 촬영된 동영상에서 프라이버시 부분에 해당하는 얼굴이나 차량번호 영역을 마스킹하고 원영상을 복원하는 방법에 관한 것이다.The present invention relates to a method for masking a face or license plate area corresponding to a privacy part in a captured video and restoring an original image.

CCTV나 네트워크 카메라, 블랙박스(스마트폰의 블랙박스 기능 포함)와 같은 동영상촬영장치에서 촬영한 영상을 재생시에, 타인의 얼굴이나 차량번호와 같은 프라이버시 영역까지도 누구나 볼수 있게 되어 타인의 프라이버시가 침해되어 사회적인 이슈가 되고 있다.When playing video recorded on video cameras such as CCTVs, network cameras, or black boxes (including the black box function of smartphones), anyone can see the privacy area such as the face or vehicle number of others. It is becoming a social issue.

이러한 문제를 해결하기 위하여, 촬영된 영상에서 얼굴이나 차량번호와 같은 프라이버시 영역은 재생시에 볼수 없도록 해당 부분을 마스킹 처리하여 재생하는 경우가 많다.In order to solve this problem, a privacy area such as a face or a vehicle number is often masked and reproduced in a captured image so that it cannot be seen during playback.

그런데, 사고 발생시 경찰이나 보안담당자와 같은 특정 사용자는 프라이버시 영역이 복원된 원영상을 통해 관련자의 얼굴이나 차량번호를 파악하여 신원을 확인해야 하는 필요성이 있는데, 종래기술에서는 이미 얼굴이나 차량 번호 영역을 마스킹 처리하여 뭉개져 버렸기 때문에 재생시에 프라이버시 영역의 복원이 불가능하여 원영상을 볼 수 없다.However, when an accident occurs, a specific user, such as a police officer or a security officer, needs to check an identity of a relevant person's face or vehicle number through the original image where the privacy zone is restored. Since the masking process is crushed, it is impossible to restore the privacy area during playback and the original image cannot be viewed.

이러한 종래기술의 문제점을 해결하기 위하여, 다른 종래기술에서는 동영상의 각 프레임에 대하여, 프라이버시 영역들 관련 QR코드들을 삽입하고(이 코드에 프라이버시 영역들의 위치, 크기, 시간 정보 등의 프라이버시 영역 관련 정보가 포함됨), 이 프라이버시 영역의 데이터를 스크램블링 처리를 하여, 프라이버시 영역이 스크램블링된 영상과 QR코드를 내장 메모리카드에 저장하거나 네트워크로 재생장치에 전송한다.In order to solve the problems of the related art, another conventional technology inserts QR codes related to privacy areas for each frame of a video (the privacy area related information such as the location, size, and time information of the privacy areas is inserted into the code). The data of the privacy area is scrambled to store the scrambled image and the QR code in the internal memory card or to the playback device via a network.

또한, 재생시에는 스크램블링된 프라이버시 데이터를 언스크램블링하여 프라이버시 데이터를 복원하고, 이 QR코드에 존재하는 프라이버시 영역 정보를 이용하여, 프라이버시 영역이 스크램블링된 영상의 프라이버시 영역을 프라이버시 데이터로 채워서 원영상을 복원하여, 이러한 특정 사용자에게는 복원된 원영상을 보여주고, 일반 사용자에게는 스크램블링된 프라이버시 영역이 포함된 영상을 보여주는 방법을 사용한다.In addition, during playback, unscrambled scrambled privacy data is used to restore the privacy data, and by using the privacy region information present in the QR code, the privacy region of the image whose privacy region is scrambled is filled with the privacy data to restore the original image. In this case, the restored original image is shown to the specific user and the image including the scrambled privacy area is shown to the general user.

그런데, 이러한 다른 종래기술은 방법은 간단하지만, 스크램블링된 데이터와QR코드가 압축 인코딩하면 복원이 되지 않기 때문에, 압축을 할 수 없어서 데이터량이 커서, 내장 메모리카드에는 짧은 기간만의 동영상이 저장가능하고, 네트워크 전송시에는 네트워크에 큰 부하를 초래하게 된다.By the way, this other conventional technique is simple, but since the scrambled data and the QR code are not encoded and restored, the data cannot be compressed and the data volume is large. In the case of network transmission, however, the network is heavily loaded.

따라서, 이러한 다른 종래기술에서는 데이터량을 줄이기 위하여, 저해상도와 낮은 프레임수로 촬영할 수 밖에 없는데, 이는 고해상도와 높은 프레임수를 요구하는 최근의 동영상 촬영장치에게는 치명적인 단점이 되고, 해상도나 프레임수를 낮춘 동영상으로는 신원확인도 어렵게 된다.Therefore, in order to reduce the amount of data, such other conventional techniques have to shoot at a low resolution and a low frame rate, which is a fatal drawback for recent video recording apparatuses that require high resolution and a high frame rate. It is also difficult to identify yourself with a video.

본 발명은 이상과 같은 종래기술의 문제점을 감안하여, 저장하거나 전송하는 데이터량을 최소화하는 프라이버시 마스킹 및 복원 방법을 제공한다.SUMMARY OF THE INVENTION The present invention provides a privacy masking and restoring method that minimizes the amount of data to be stored or transmitted in view of the problems of the related art.

이상과 같은 기술적 과제를 달성하기 위하여, 본 발명은,In order to achieve the above technical problem, this invention,

촬영 영상의 프라이버시 마스킹 및 복원 방법에 있어서,In the privacy masking and restoration method of the captured image,

촬영된 원영상에서 프라이버시 영역을 추출하고, 추출된 프라이버시 영역에 대한 정보를 생성하는 단계;Extracting a privacy region from the captured original image and generating information on the extracted privacy region;

상기 추출된 프라이버시 영역에 대해, 미리 설정된 마스킹용 RGB값으로 채우고, 이 채워진 영상에 대해 압축 인코딩을 하여, 인코딩되고 마스킹된 영상 데이터(EMID)를 형성하는 단계;Filling the extracted privacy region with a predetermined masking RGB value and performing compression encoding on the filled image to form encoded and masked image data (EMID);

상기 추출된 프라이버시 영역에 대해 키로 암호화하여, 암호화된 프라이버시 데이터(EPD)를 형성하는 단계;Encrypting the extracted privacy area with a key to form encrypted privacy data (EPD);

상기 프라이버스 영역에 대한 정보와, 상기 인코딩되고 마스킹된 영상 데이터(EMID)와, 상기 암호화된 프라이버시 데이터(EPD)를 내장 저장장치에 저장하거나 네트워크를 통해 외부 장치로 전송하는 단계;Storing information about the privacy area, the encoded and masked image data (EMID), and the encrypted privacy data (EPD) in an internal storage device or transmitting to an external device through a network;

상기 인코딩되고 마스킹된 영상 데이터(EMID)를 디코딩하여 마스킹된 영상 데이터(MID)를 형성하는 단계;Decoding the encoded and masked image data (EMID) to form masked image data (MID);

상기 암호화된 프라이버시 데이터(EPD)를 상기 키를 이용하여 복호화하여 프라이버시 데이터(PD)를 형성하는 단계;Decrypting the encrypted privacy data (EPD) using the key to form privacy data (PD);

상기 키를 가지고 있지 않은 사용자인 경우에는 상기 마스킹된 영상 데이터(MID)를 이용하여 마스킹된 영상을 화면에 표시하고, 상기 키를 가지고 있는 사용자인 경우에는 상기 프라이버스 영역에 대한 정보와 상기 마스킹된 영상 데이터(MID)와 상기 프라이버시 데이터(PD)를 이용하여 프라이버시 영역이 복원된 원영상을 화면에 표시하는 단계를 포함하는 것을 특징으로 한다.If the user does not have the key, the masked image is displayed on the screen using the masked image data (MID), and if the user has the key, information on the privacy area and the masked image are displayed. And displaying the original image on which the privacy area is restored using the image data MID and the privacy data PD.

상기와 같은 본 발명을 이용하면, 마스킹 및 복원시에 저장하거나 전송하는 데이터량을 최소화할 수 있어서, 장시간의 동영상 저장이 가능하거나 전송 네트워크의 부하를 상당히 줄일 수 있게 된다.By using the present invention as described above, it is possible to minimize the amount of data to be stored or transmitted at the time of masking and restoration, it is possible to store a long time video or to significantly reduce the load on the transmission network.

도1은 본 발명의 전체적인 구성을 도시함.
도2는 본 발명에서 동영상 촬영장치의 구체적인 구성을 도시함.
도3은 본 발명에서 동영상 재생장치의 구체적인 구성을 도시함.
도4는 얼굴이나 차량번호판을 검출하는 일반적인 방법을 도시함.
도5는 본 발명의 마스킹 방법을 나타내는 순서도.
도6은 본 발명의 재생 방법을 나타내는 순서도.
Figure 1 shows the overall configuration of the present invention.
Figure 2 shows a specific configuration of the video recording apparatus in the present invention.
Figure 3 shows a specific configuration of the video playback apparatus in the present invention.
4 shows a general method of detecting a face or license plate.
5 is a flowchart showing a masking method of the present invention.
6 is a flowchart showing a reproducing method of the present invention.

먼저, 본 발명의 전체적인 구성을 도1을 참고로 하여 설명하기로 한다.First, the overall configuration of the present invention will be described with reference to FIG.

동영상촬영장치(1)에서는, 카메라에서 각 프레임 영상을 촬영하여(S1), 얼굴이나 차량 번호판과 같이 프라이버시 보호가 필요한 부분을 마스킹하고(S2) 압축 인코딩하여(S4)(예:H.264 인코더 사용), 인코딩되고 마스킹된 영상 데이터(EMID:Encoded Masked Image Data)을 형성한다.In the video photographing apparatus 1, each frame image is photographed by a camera (S1), masking a portion requiring privacy protection such as a face or a license plate (S2) and compression encoding (S4) (e.g., an H.264 encoder Use) to form encoded and masked image data (EMID).

그리고, 촬영된 영상에서 프라이버시 영역을 추출을 하여(S3), 이 추출된 프라이버시 부분을 키를 이용하여 암호화하여(S5), 암호화된 프라이버시 데이터(EPD:Encrypted Privacy Data)를 형성한다.Then, the privacy region is extracted from the captured image (S3), and the extracted privacy portion is encrypted using a key (S5) to form encrypted privacy data (EPD: Encrypted Privacy Data).

이제, 촬영장치(1)에서 형성된, 인코딩되고 마스킹된 영상 데이터(EMID)와 암호화된 프라이버시 데이터(EPD)은, 촬영장치(1)에 내장된 메모리카드(예:SD카드)에 저장되었다가 사용자에 의해 이 메모리카드가 재생장치(2)에 장착되거나, 도1처럼 인터넷과 같은 네트워크(16)에 의해 재생장치(2)로 전송된다.Now, the encoded and masked image data (EMID) and encrypted privacy data (EPD) formed in the photographing apparatus 1 are stored in a memory card (e.g., an SD card) embedded in the photographing apparatus 1, and then stored in a user. This memory card is attached to the playback device 2 or transferred to the playback device 2 by a network 16 such as the Internet as shown in FIG.

그러면, 재생장치(2)에서는, 사용자가 키가 없는 일반 사용자인 경우에는 인코딩되고 마스킹된 영상 데이터(EMID)를 디코딩하여(S6)(예:H.264 디코더 사용) 마스크된 영상 데이터(MID)를 형성하여, 화면에 마스킹된 영상을 보여 준다.Then, in the playback device 2, if the user is a general user without a key, the encoded and masked video data EMID is decoded (S6) (e.g., using an H.264 decoder) and the masked video data MID. To form a masked image on the screen.

또한, 사용자가 키를 가진 특정 사용자인 경우에는 암호화된 프라이버시 데이터(EPD)을 키로 복호화하여(S7) 프라이버시 데이터(PD)를 형성하여, 프라이버시 영상을 마스킹된 영상과 합성하여 원영상을 보여 주게 된다.In addition, if the user is a specific user with a key, the encrypted privacy data (EPD) is decrypted with the key (S7) to form the privacy data PD, and the privacy image is synthesized with the masked image to show the original image. .

이때, 인코딩되고 마스킹된 영상 데이터(EMID)는 압축 인코딩되어 있으므로 데이터량을 대폭 줄일 수 있어서 메모리카드에 저장되는 데이터 용량을 대폭 줄일 수 있거나 네트워크를 통한 데이터 전송시 네크워크의 부하를 대폭 줄일 수 있다.At this time, since the encoded and masked image data (EMID) is compressed and encoded, the amount of data can be greatly reduced, thereby greatly reducing the data capacity stored in the memory card or significantly reducing the network load when transmitting data through a network.

또한, 일반적으로 얼굴이나 차량 번호판과 같은 프라이버시 영역은 전체 화면에서 작은 일부분만을 차지하므로 프라이버시 영역의 데이터량이 작아서, 본 발명과 같이 프라이버시 영역에 대하여 압축 인코딩이 없이 암호화만을 하여 암호화된 프라이버시 데이터(EPD)를 형성하여 저장 또는 전송하더라도, 이 암호화된 프라이버시 데이터(EPD)에 따른 저장 용량의 증가나 네트워크 부하 증가는 매우 작게 된다. In addition, since privacy areas such as faces and license plates generally occupy only a small portion of the entire screen, the amount of data in the privacy area is small, so that the privacy data (EPD) encrypted by only encryption without compression encoding for the privacy area as in the present invention is used. Even if the data is formed and stored or transmitted, the increase in storage capacity or increase in network load due to the encrypted privacy data (EPD) becomes very small.

그리고, 마스킹된 영상 데이터(MID)가 압축 인코딩되면 디코딩시에 약간의 데이터 손실이 존재하여 일반 사용자에게 제공되는 마스킹된 영상은 원영상에 비해 미약하게 흐려 보이지만, 이는 일반 사용자가 감지할 수 없는 수준이기에 문제가 되지 않는다.When the masked image data (MID) is compressed and encoded, there is a slight data loss during decoding, so that the masked image provided to the general user appears to be slightly blurred compared to the original image, which is not detectable by the general user. This is not a problem.

반면에, 프라이버시 영역에 대해서는 압축 인코딩을 하지 않기 때문에, 재생시에 특정 사용자는 프라이버시 영역은 손실없는 원영상 그대로 보게 되고, 나머지 부분은 미약하게 흐려 보이는 상태이므로, 특정 사용자가 전체적인 영상을 보는데에 전혀 지장이 없고, 특히 프라이버시 영역에 대해서는 원영상 그대로 볼수 있어서 프라이버시 영역에 해당하는 얼굴이나 차량번호판을 정확하게 인식할 수 있게 된다. On the other hand, since there is no compression encoding on the privacy area, during playback, a certain user sees the privacy area as it is without loss and the rest is slightly blurry, so that a particular user has no difficulty in seeing the entire image. In particular, the privacy area can be viewed as it is, so that the face or license plate corresponding to the privacy area can be accurately recognized.

한편, 도1의 실시예를 변형시켜서, 프라이버시 부분 추출 단계(S1)과 암호화 단계(S5) 사이에 압축 인코딩 단계를 추가하고, 프라이버시 부분 복호화 단계(S7) 직후에 디코딩 단계를 추가하면, 이 프라이버시 영역의 데이터량 자체는 대폭 줄일 수 있지만, 프라이버시 영역이 전체 화면에서 작은 일부분만을 차지하여 원래 데이터량이 작기 때문에 이렇게 프라이버시 영역의 데이터량 자체를 대폭 줄인다고 해도 전체적인 데이터량에는 큰 차이가 없고, 오히려 추가되는 단계에 의해 처리 부하가 증가하게 된다.
On the other hand, by modifying the embodiment of Fig. 1, a compression encoding step is added between the privacy partial extraction step S1 and the encryption step S5, and a decoding step is added immediately after the privacy partial decryption step S7. The amount of data in the area can be greatly reduced, but since the privacy area occupies only a small portion of the entire screen and the original data amount is small, such a large reduction in the amount of data in the privacy area itself does not make a big difference. The processing load increases by the step.

다음으로, 도1에 나타난 동영상촬영장치(1)의 구성을 도2를 참고로 하여 구체적으로 설명한다.Next, the configuration of the video recording apparatus 1 shown in FIG. 1 will be described in detail with reference to FIG.

동영상촬영장치(1)의 영상 검출부(11)는 카메라에서 원영상을 검출한다.The image detector 11 of the moving image photographing apparatus 1 detects an original image by a camera.

또한, 마스킹 처리부(12)는 얼굴이나 차량 번호판과 같이 프라이버시 보호가 필요하여 마스킹을 해야 하는 영역(프라이버시 영역)을 공지의 다양한 알고리즘을 이용하여 추출하여, 원영상에서 마스킹 처리를 한다.In addition, the masking processing unit 12 extracts an area (privacy area) requiring privacy protection such as a face or a license plate by using various known algorithms, and performs masking processing on the original image.

그리고, 인코더(13)은 마스킹 처리부(12)에서 마스킹 처리된 영상을 수신하여 H.264와 같은 방식으로 압축 인코딩하여, 인코딩되고 마스킹된 영상 데이터(EMID)를 형성한다.The encoder 13 receives the masked image from the masking processor 12 and compressively encodes the masked image in the same manner as in H.264 to form encoded and masked image data EMID.

또한, 암호화부(14)는 마스킹 처리부(12)에서 추출된 프라이버시 영역에 대해키를 이용하여 암호화하여, 암호화된 프라이버시 데이터(EPD)를 형성한다.In addition, the encryption unit 14 encrypts the privacy region extracted by the masking processing unit 12 using a key to form encrypted privacy data (EPD).

마지막으로, 이러한 인코딩되고 마스킹된 영상 데이터(EMID)와 암호화된 프라이버시 데이터(EPD)는 동영상찰영장치(1)에 내장된 메모리카드(15)(예:SD카드)에 저장되거나, 인터넷과 같은 네트워크(16)에 의해 외부 재생장치(2)(예:PC)에 전송되고 필요시 저장된다.
Finally, such encoded and masked video data (EMID) and encrypted privacy data (EPD) are stored in a memory card 15 (e.g., an SD card) embedded in the video spectator 1, or a network such as the Internet. The data is transmitted to the external playback device 2 (e.g. PC) by 16 and stored when necessary.

이제, 도1에 나타난 동영상 재생장치(2)의 구성을 도3을 참고로 하여 자세히 설명한다.
Now, the configuration of the video player 2 shown in FIG. 1 will be described in detail with reference to FIG.

재생장치(2)(예:PC)는, 사용자가 동영상촬영장치(1) 내의 메모리 카드(15)를 분리하여 재생장치(2)에 장착시키거나 네트워크(16)를 통해 수신하여, 인코딩되고 마스킹된 영상 데이터(EMID)와 암호화된 프라이버시 데이터(EPD)를 획득하게 된다.The playback device 2 (e.g. PC) is encoded and masked by the user detaching the memory card 15 in the video recording device 1 and mounting it on the playback device 2 or receiving it via the network 16. Image data EMID and encrypted privacy data EPD are obtained.

그래서, 디코더(21)은 H.264과 같은 방식으로 인코딩되고 마스킹된 영상 데이터(EMID)를 디코딩하여 마스킹된 영상 데이터(MID)를 형성하고, 복호기(22)는 영상촬영장치(1)의 암호화부(14)에서 암호화를 위해 사용된 키를 이용하여 암호화된 프라이버시 데이터(EPD)를 복호화하여 프라이버시 데이터(PD)를 형성한다.Thus, the decoder 21 decodes the encoded image data EMID in the same manner as H.264 to form the masked image data MID, and the decoder 22 encrypts the image photographing apparatus 1. The private data PD is decrypted using the key used for encryption in the unit 14 to form the privacy data PD.

또한, 마스킹 해제/유지 처리부(23)은 사용자가 키를 가지지 않은 일반 사용자인 경우에는 마스킹을 유지하도록 처리하여 마스킹된 영상 데이터(MID)를 출력하고, 사용자가 키를 가진 특정 사용자(예:경찰이나 보안담당자)인 경우에는 프라이버시 데이터(PD)와 마스킹된 영상 데이터(MID)를 합성하여 원영상 데이터를 출력한다.In addition, the masking release / maintenance processing unit 23 processes to maintain masking when the user is a general user who does not have a key, and outputs masked image data (MID). Or a security officer), the original image data is output by synthesizing the privacy data PD and the masked image data MID.

그리고, 영상 출력부(24)는 마스킹 해제/유지 처리부(23)에서 출력되는 마스킹된 영상 데이터(MID) 또는 원영상 데이터를 통해 관련 영상을 화면에 출력하게 된다.
The image output unit 24 outputs the related image on the screen through the masked image data MID or the original image data output from the masking release / maintenance processor 23.

다음으로, 당업자에게 공지된 기술이지만, 본 발명에서 사용되는 프라이버시 영역 추출 방법을 도4를 참고로 하여 간단히 설명한다.Next, although known to those skilled in the art, the privacy region extraction method used in the present invention will be briefly described with reference to FIG.

도4의 상단처럼, 얼굴검출을 위해서는 주어진 영상에서 주행환경요소를 제거하고, 얼굴영상 특징에 기반하여 패턴 매칭을 하면 된다.As shown in the upper part of FIG. 4, for face detection, a driving environment element may be removed from a given image, and pattern matching may be performed based on facial image features.

그리고, 도4의 하단처럼, 번호판 검출을 위해서는 동작 객체 및 배경을 분류하고, 번호판 영상의 특징을 검출하여 번호판을 검출한다.Then, as shown in the lower part of FIG. 4, for detecting the license plate, the moving object and the background are classified, and the license plate is detected by detecting features of the license plate image.

이때, 이러한 검출을 실시간으로 구현하기 위해서는 고해상도 영상을 얼굴과 번호판을 식별 할 수 있는 정도의 저해상도로 만드는 방법 등을 적용하여 계산량을 줄이는 것이 바람직하다.
In this case, in order to implement such detection in real time, it is desirable to reduce the calculation amount by applying a method of making a high resolution image with a low resolution that can distinguish the face and the license plate.

이제, 본 발명의 영상촬영장치(1)에서 마스킹하는 방법을 도5의 순서도를 이용하여 구체적으로 설명한다.
Now, a method of masking in the image photographing apparatus 1 of the present invention will be described in detail with reference to the flowchart of FIG.

1. 카메라에서 영상을 얻는다(S11).1. Obtain an image from the camera (S11).

2. 얻은 영상에서 도4와 같은 추출 방법을 이용하여, 얼굴이나 차량 번호판 영역(프라이버시 영역)을 추출해 낸다(S12).2. From the obtained image, a face or a vehicle license plate area (privacy area) is extracted using the extraction method as shown in FIG. 4 (S12).

3. 추출된 프라이버시 영역(ROI:Region Of Interest)에 대하여, 프라이버시 영역의 기준점의 좌표정보(x, y), 프라이버시 영역의 크기(size), 프레임 번호에 대응하는 시간 정보(t)를 포함하는 프라이버시 영역 정보를 SD카드(15)의 파일(File1)에 저장한다(S13). 이렇게 하면 프레임마다 프라이버시 영역들이 어디에 존재하고 각각의 프라이버시 영역의 크기는 어느 정도인지 알수 있게 된다.3. The extracted privacy region (ROI: Region Of Interest) includes coordinate information (x, y) of the reference point of the privacy region, the size of the privacy region (size), and time information (t) corresponding to the frame number. The privacy zone information is stored in a file File1 of the SD card 15 (S13). In this way, it is possible to know where the privacy areas exist in each frame and how large each privacy area is.

4. 프라이버시 영역의 각 픽셀의 픽셀 값을 포화(saturation)값(예:255)으로 채우면, 프라이버시 영역은 밝은 흰색으로 마스킹 처리가 된다(S14). 물론, 다른 색깔(예: 도1의 밝은 파란색)로 마스킹되기를 원하면, 원하는 색깔 관련 RGB값을 파일(File1)에 저장하고, 원하는 색깔의 RGB값으로 프라이버시 영역의 픽셀값을 채우면 된다.4. If the pixel value of each pixel of the privacy area is filled with a saturation value (eg, 255), the privacy area is masked with bright white (S14). Of course, if you want to be masked with a different color (for example, light blue in Figure 1), you can store the desired color-related RGB values in the file (File1), and fill the pixel values of the privacy area with the RGB values of the desired color.

5. 이렇게 하여 마스킹된 영상을 H.264와 같은 방식으로 압축 인코딩하여, 인코딩되고 마스킹된 영상 데이터(EMID)를 형성하여 파일(File2)로 SD카드(15)에 저장한다(S15).5. In this way, the masked video is compressed and encoded in the same manner as in H.264 to form encoded and masked video data EMID and stored in the SD card 15 as a file File2 (S15).

6. 프라이버시 영역에 대하여, 포화값 또는 원하는 색깔값에서 각 픽셀의 픽셀값들을 차감한다(S16). 즉 255-(ROI(x, y)의 RGB값) 또는 (마스킹 색깔의 RGB값)-(ROI(x, y)의 RGB값)을 한다.6. Subtract the pixel values of each pixel from the saturation value or the desired color value with respect to the privacy area (S16). That is, 255- (RGB value of ROI (x, y)) or (RGB value of masking color)-(RGB value of ROI (x, y)).

7. 이렇게 차감된 값들에 대해 키를 사용하여 암호화하여, 암호화된 프라이버시 데이터(EPD)를 형성하여 SD카드(15)에 파일(File3)로 저장한다(S17).
7. By encrypting the deducted values using a key, an encrypted privacy data (EPD) is formed and stored as a file (File3) in the SD card 15 (S17).

물론, 상기에서는 SD카드(15)에 파일(File1, File2, File3)을 저장하는 경우에 대해 설명하였지만, 외부장치(예:PC)에 네트워크를 통해 전송하여 저장하게 하는 것도 가능하다.
Of course, in the above, the case where the files (File1, File2, File3) are stored in the SD card 15 has been described. However, it is also possible to transmit the data to an external device (eg, a PC) via a network.

다음으로, 본 발명의 동영상재생장치(2)에서 재생하는 방법을 도6의 순서도를 이용하여 구체적으로 설명한다.
Next, a method of playing back in the video reproducing apparatus 2 of the present invention will be described in detail with reference to the flowchart of FIG.

1. 사용자가 동영상촬영장치(1)에서 SD카드(15)를 분리하여 동영상재생장치(2)에 장착하거나 네트워크(16)을 통해 동영상촬영장치(1)에서 수신한 데이터(상기 파일(File1, File2, File3))에서, 인코딩되고 마스킹된 영상 데이터(EMID)(파일(File2)에 저장됨)를 H.264방식으로 디코딩하여 마스킹된 영상 데이터(MID)을 형성한다(S21).1. The user removes the SD card 15 from the video recording device 1 and mounts it on the video playback device 2 or receives data received from the video recording device 1 through the network 16 (the file (File1, File2 and File3), the encoded and masked video data EMID (stored in the file File2) is decoded by H.264 to form masked video data MID (S21).

2. 프라이버시 영역에 대한 암호화된 프라이버시 데이터(EPD)(File3))를, 암호화시의 키를 사용하여 복호화하여 프라이버시 데이터(PD)를 형성한다(S22).2. The encrypted privacy data (EPD) (File3) for the privacy area is decrypted using the encryption key to form the privacy data PD (S22).

3. 프라이버시 영역에 대해, 상기 프라이버시 데이터(PD)를 포화값(255)에서 차감하거나(마스킹 색깔이 밝은 흰색인 경우) 원하는 다른 마스킹 색깔의 RGB값에서 차감하여, 프라이버시 영역의 원영상 데이터를 복원한다(S23). 즉, 255-(255-ROI(x, y))=ROI(x,y) 또는 (마스킹 색깔의 RGB값)-((마스킹 색깔의 RGB값)-(ROI(x, y)의 RGB값))=ROI(x, y) 가 된다.3. For the privacy zone, restore the original image data of the privacy zone by subtracting the privacy data PD from the saturation value 255 (if the masking color is bright white) or from the RGB value of the other masking color desired. (S23). 255- (255-ROI (x, y)) = ROI (x, y) or (RGB value of masking color)-((RGB value of masking color)-(RGB value of ROI (x, y)) ) = ROI (x, y).

4. 프라이버시 영역의 좌표정보(x, y), 마스킹 영역의 크기(size), 프레임 번호에 대응하는 시간 정보(t)를 포함하는 프라이버시 영역 정보를 SD카드(15)의 파일(File1)에서 도출하여 이들을 바탕으로, 마스킹된 영상 데이터(MID)의 마스킹 부분을 프라이버시 영역의 원영상 데이터로 대체하여 전체적인 원영상 데이터를 얻는다(S24).4. Deriving the privacy area information including the coordinate information (x, y) of the privacy area, the size of the masking area and the time information (t) corresponding to the frame number from the file File1 of the SD card 15 Based on these, the masking portion of the masked image data MID is replaced with the original image data of the privacy area to obtain the overall original image data (S24).

5. 키가 있는 사용자의 경우에는 전체적인 원영상 데이터를 이용하여 화면에 출력하여 마스킹된 부분이 없는 원영상을 사용자가 볼수 있게 되고, 키가 없는 사용자의 경우에는 마스킹된 영상 데이터(MID)를 이용하여 화면에 출력하여 마스킹된 영상만을 보게 된다(S25).
5. In the case of a user who has a key, the user can see the original image without the masked part by outputting it to the screen using the entire original image data, and in the case of a user who does not have a key, the masked image data (MID) Output to the screen to see only the masked image (S25).

이상에서는 본 발명의 바람직한 실시예를 설명하였지만, 당업자는 본 발명의 사상에서 벗어나지 않는 범위 내에서 다양하게 수정 및 변경시킬 수 있음에 유의해야 한다.Although the preferred embodiment of the present invention has been described above, those skilled in the art should be noted that various modifications and changes can be made without departing from the spirit of the present invention.

예를 들어, 상기에서는 재생장치(2)로써 외부의 PC를 사용하는 것에 대해 설명하였으나, 영상촬영장치(1)에 내장된 재생 모듈을 사용할 수도 있다.For example, in the above, the use of an external PC as the playback device 2 has been described, but a playback module built in the video image pickup device 1 may be used.

또한, 이상에서는 프라이버시 영역에 대하여, 포화값 또는 원하는 색깔값에서 각 피셀의 픽셀값들을 차감하고 차감된 값들에 대해 키를 사용하여 암호화하여 암호화된 프라이버시 데이터(EPD)를 형성하고, 프라이버시 데이터(PD)를 포화값 또는 마스킹 색깔의 RGB값에서 차감하여, 마스킹 영역의 원영상 데이터를 복원하였지만, 프라이버시 영역에 대해 바로 암호화하여 암호화된 프라이버시 데이터(EPD)를 형성하고 복원단계에서 바로 암호화된 프라이버시 데이터(EPD)를 복호화하여 프라이버시 영역의 원영상 데이터를 복원하는 것도 가능하다.Further, in the above description, the pixel values of each pixel are subtracted from the saturation value or the desired color value with respect to the privacy area, and the encrypted values are encrypted using a key to form the encrypted privacy data EPD, and the privacy data PD ) To restore the original image data of the masking area by subtracting the saturation value or the RGB value of the masking color, but encrypts the privacy area directly to form the encrypted privacy data (EPD), and the encrypted privacy data ( It is also possible to restore the original image data of the privacy area by decoding the EPD).

Claims (5)

촬영 영상의 프라이버시 마스킹 및 복원 방법에 있어서,
촬영된 원영상에서 프라이버시 영역을 추출하고, 추출된 프라이버시 영역에 대한 정보를 생성하는 단계;
상기 추출된 프라이버시 영역에 대해, 미리 설정된 마스킹용 RGB값으로 채우고, 이 채워진 영상에 대해 압축 인코딩을 하여, 인코딩되고 마스킹된 영상 데이터(EMID)를 형성하는 단계;
상기 추출된 프라이버시 영역에 대해 키로 암호화하여, 암호화된 프라이버시 데이터(EPD)를 형성하는 단계;
상기 프라이버스 영역에 대한 정보와, 상기 인코딩되고 마스킹된 영상 데이터(EMID)와, 상기 암호화된 프라이버시 데이터(EPD)를 내장 저장장치에 저장하거나 네트워크를 통해 외부 장치로 전송하는 단계;
상기 인코딩되고 마스킹된 영상 데이터(EMID)를 디코딩하여 마스킹된 영상 데이터(MID)를 형성하는 단계;
상기 암호화된 프라이버시 데이터(EPD)를 상기 키를 이용하여 복호화하여 프라이버시 데이터(PD)를 형성하는 단계;
상기 키를 가지고 있지 않은 사용자인 경우에는 상기 마스킹된 영상 데이터(MID)를 이용하여 마스킹된 영상을 화면에 표시하고, 상기 키를 가지고 있는 사용자인 경우에는 상기 프라이버스 영역에 대한 정보와 상기 마스킹된 영상 데이터(MID)와 상기 프라이버시 데이터(PD)를 이용하여 프라이버시 영역이 복원된 원영상을 화면에 표시하는 단계를 포함하는 것을 특징으로 하는 촬영 영상의 프라이버시 마스킹 및 복원 방법.
In the privacy masking and restoration method of the captured image,
Extracting a privacy region from the captured original image and generating information on the extracted privacy region;
Filling the extracted privacy region with a predetermined masking RGB value and performing compression encoding on the filled image to form encoded and masked image data (EMID);
Encrypting the extracted privacy area with a key to form encrypted privacy data (EPD);
Storing information about the privacy area, the encoded and masked image data (EMID), and the encrypted privacy data (EPD) in an internal storage device or transmitting to an external device through a network;
Decoding the encoded and masked image data (EMID) to form masked image data (MID);
Decrypting the encrypted privacy data (EPD) using the key to form privacy data (PD);
If the user does not have the key, the masked image is displayed on the screen using the masked image data (MID), and if the user has the key, information on the privacy area and the masked image are displayed. And displaying the original image on which the privacy area is restored using the image data (MID) and the privacy data (PD) on the screen.
제1항에 있어서, 암호화된 프라이버시 데이터(EPD)를 형성하는 단계는, 상기 마스킹용 RGB값에서 프라이버시 데이터(PD)를 차감한 것을 암호화하여 달성되는 것을 특징으로 하는 촬영 영상의 프라이버시 마스킹 및 복원 방법.The method of claim 1, wherein the forming of the encrypted privacy data (EPD) is achieved by encrypting the masking RGB value by subtracting the privacy data (PD) from the masking RGB value. . 제1항에 있어서, 상기 암호화와 복호화는 H.264 방식인 것을 특징으로 하는 촬영 영상의 프라이버시 마스킹 및 복원 방법.The method of claim 1, wherein the encryption and decryption is H.264. 제1항에 있어서, 상기 외부장치는 PC인 것을 특징으로 하는 촬영 영상의 프라이버시 마스킹 및 복원 방법.The method of claim 1, wherein the external device is a personal computer. 제1항에 있어서, 상기 내장 저장장치는 SD카드인 것을 특징으로 하는 촬영 영상의 프라이버시 마스킹 및 복원 방법.The method of claim 1, wherein the built-in storage device is an SD card.
KR1020130106167A 2013-09-04 2013-09-04 Masking and Recovering Method of Privacy Region KR101460552B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130106167A KR101460552B1 (en) 2013-09-04 2013-09-04 Masking and Recovering Method of Privacy Region

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130106167A KR101460552B1 (en) 2013-09-04 2013-09-04 Masking and Recovering Method of Privacy Region

Publications (2)

Publication Number Publication Date
KR20130114037A true KR20130114037A (en) 2013-10-16
KR101460552B1 KR101460552B1 (en) 2014-11-11

Family

ID=49634317

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130106167A KR101460552B1 (en) 2013-09-04 2013-09-04 Masking and Recovering Method of Privacy Region

Country Status (1)

Country Link
KR (1) KR101460552B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101487461B1 (en) * 2014-06-26 2015-01-28 우원소프트 주식회사 Security control system by face recognition with private image secure function
KR20190005540A (en) * 2017-07-07 2019-01-16 서울대학교산학협력단 Method for Authenticating Evaluation Results of Homomorphic-Encrypted Data
CN114363474A (en) * 2022-03-17 2022-04-15 深圳市利诺威科技有限公司 Image transmission method and system
GB2600477A (en) * 2020-11-02 2022-05-04 Pimloc Ltd Selective video modification
KR20230070879A (en) * 2021-11-15 2023-05-23 주식회사 엠에이치엔씨티 Apparatus for non-identification and restoration of privacy region, method for non-identification and restoration of privacy region
CN116847036A (en) * 2023-09-01 2023-10-03 北京中星微人工智能芯片技术有限公司 Image display method, apparatus, electronic device, and computer-readable medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102090696B1 (en) * 2018-04-16 2020-04-23 주식회사 아이에이 Image receiving device, image reconstructing method thereof, method for image masking and reconstructing of image system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101378295B1 (en) * 2009-12-18 2014-03-27 한국전자통신연구원 Method and Apparatus of privacy masking on Image
KR20120035299A (en) * 2010-10-05 2012-04-16 한국인터넷진흥원 Image protection processing apparatus for privacy protection, and image security system and method using the same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101487461B1 (en) * 2014-06-26 2015-01-28 우원소프트 주식회사 Security control system by face recognition with private image secure function
KR20190005540A (en) * 2017-07-07 2019-01-16 서울대학교산학협력단 Method for Authenticating Evaluation Results of Homomorphic-Encrypted Data
GB2600477A (en) * 2020-11-02 2022-05-04 Pimloc Ltd Selective video modification
WO2022090738A1 (en) * 2020-11-02 2022-05-05 Pimloc Limited Selective video modification
KR20230070879A (en) * 2021-11-15 2023-05-23 주식회사 엠에이치엔씨티 Apparatus for non-identification and restoration of privacy region, method for non-identification and restoration of privacy region
CN114363474A (en) * 2022-03-17 2022-04-15 深圳市利诺威科技有限公司 Image transmission method and system
CN116847036A (en) * 2023-09-01 2023-10-03 北京中星微人工智能芯片技术有限公司 Image display method, apparatus, electronic device, and computer-readable medium
CN116847036B (en) * 2023-09-01 2023-11-24 北京中星微人工智能芯片技术有限公司 Image display method, apparatus, electronic device, and computer-readable medium

Also Published As

Publication number Publication date
KR101460552B1 (en) 2014-11-11

Similar Documents

Publication Publication Date Title
KR101460552B1 (en) Masking and Recovering Method of Privacy Region
Padilla-López et al. Visual privacy protection methods: A survey
US10284885B1 (en) Method and apparatus for redacting video for compression and identification of releasing party
Korshunov et al. Using warping for privacy protection in video surveillance
EP3557864A1 (en) Method and apparatus for image display using privacy masking
US10964182B2 (en) Methods and devices for encoding and decoding a sequence of image frames in which the privacy of an object is protected
CN104079830B (en) Private mark adding method and device, private mark photo processing method and device
Zhang et al. Kaleido: You can watch it but cannot record it
US20210287322A1 (en) Robust selective image, video, and audio content authentication
JP2000152148A (en) Electronic camera
JP4825449B2 (en) Video distribution system
CN111327947B (en) Screen capture management method and device and mobile terminal
KR101951605B1 (en) Cctv image security system to prevent image leakage
CN107241585B (en) Video monitoring method and system
CN108712400A (en) Data transmission method, device, computer readable storage medium and electronic equipment
Ruchaud et al. Privacy protecting, intelligibility preserving video surveillance
Deshmukh et al. Hash based least significant bit technique for video steganography
JP4654330B2 (en) Video change device, video change method, and video change program
EP3217644A1 (en) Information processing device
JP2001309159A (en) Recorder
JP2011176385A (en) Image processing method
WO2017047862A1 (en) Image key authentication method and system, which use color histogram and texture information of images
US20220215071A1 (en) Privacy protection method for transmitting end and receiving end, electronic device and computer readable storage medium
CN115550691A (en) Video processing method, video transmission method, video viewing method and device
KR101677111B1 (en) Dynamic image object privacy protection device and the method of detecting the face of the pedestrian based

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
N231 Notification of change of applicant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20171106

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180829

Year of fee payment: 5