Real-time obscene scene nudity detection and blurring in a video clip
This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2022.
Principais autores: | , , , , |
---|---|
Outros Autores: | |
Formato: | Tese |
Idioma: | English |
Publicado em: |
Brac University
2023
|
Assuntos: | |
Acesso em linha: | http://hdl.handle.net/10361/21829 |
id |
10361-21829 |
---|---|
record_format |
dspace |
spelling |
10361-218292023-10-16T21:04:03Z Real-time obscene scene nudity detection and blurring in a video clip Rizwana, Jesima Hasan, Md. Fahim Hossain, Motakabbir Zahangir, Kaniz Ferdous Binte Prothoma, Humaira Mir Uddin, Jia Reza, Md. Tanzim Department of Computer Science and Engineering, BRAC University Video Obscenity Neural network Nudity detection YOLOv5 Faster R-CNN OpenCV PIL Image processing Blur Neuropsychology Python (Computer program language) This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2022. Cataloged from PDF version of thesis. Includes bibliographical references (pages 32-34). Videos are widely consumed by people of all ages as a form of entertainment, information and education. However, not all videos are made for everyone. Many videos contain obscenities such as nudity, violence, blood, and gore which should not be watched by children or people who feel repulsed by these obscenities. Obscene con-tent can negatively affect a child’s mindset, and it can even traumatize people with weak mental constitutions. The real problem begins when these obscene videos are publicly available on the Internet, and anyone can watch them easily by downloading or streaming them online without getting any kind of warning. Moreover, people can even encounter these obscenities on live video streams or video calls. In our research, we have worked to detect and blur nude and obscene sexual content from videos in real-time. In that respect, this paper proposes a Neural Network-based approach. We have detected whether sexually explicit content is present in a video or not and blurred only the detected contents from the video frames. To detect nude and obscene contents, we have used different object detection algorithms such as Faster R-CNN, YOLOv5 and YOLOv6. These three respectively gave us mean average precision values of 0.382, 0.663 and 0.508 at 0.5 IOU threshold. Although with an mAP value less than YOLOv5, we chose YOLOv6 as it has proved to be the most optimal for our solution in regards of both accuracy and speed. And to blur, we have tried a total of five methods provided by two image processing libraries, OpenCV and PIL. Among those, we have selected the averaging method of OpenCV since it has best suited our needs. Additionally, we have attempted to reduce the rate of false positives so that any decent content does not get incorrectly labelled as obscene. This detection and blurring of obscene contents will contribute to ensuring safety in internet browsing for everyone. Jesima Rizwana Md. Fahim Hasan Motakabbir Hossain Kaniz Ferdous Binte Zahangir Humaira Mir Prothoma B.Sc. in Computer Science and Engineering 2023-10-16T03:54:20Z 2023-10-16T03:54:20Z ©2022 2022-09-22 Thesis ID 17201099 ID 17201129 ID 17301078 ID 19101441 ID 19101622 http://hdl.handle.net/10361/21829 en Brac University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. 45 pages application/pdf Brac University |
institution |
Brac University |
collection |
Institutional Repository |
language |
English |
topic |
Video Obscenity Neural network Nudity detection YOLOv5 Faster R-CNN OpenCV PIL Image processing Blur Neuropsychology Python (Computer program language) |
spellingShingle |
Video Obscenity Neural network Nudity detection YOLOv5 Faster R-CNN OpenCV PIL Image processing Blur Neuropsychology Python (Computer program language) Rizwana, Jesima Hasan, Md. Fahim Hossain, Motakabbir Zahangir, Kaniz Ferdous Binte Prothoma, Humaira Mir Real-time obscene scene nudity detection and blurring in a video clip |
description |
This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2022. |
author2 |
Uddin, Jia |
author_facet |
Uddin, Jia Rizwana, Jesima Hasan, Md. Fahim Hossain, Motakabbir Zahangir, Kaniz Ferdous Binte Prothoma, Humaira Mir |
format |
Thesis |
author |
Rizwana, Jesima Hasan, Md. Fahim Hossain, Motakabbir Zahangir, Kaniz Ferdous Binte Prothoma, Humaira Mir |
author_sort |
Rizwana, Jesima |
title |
Real-time obscene scene nudity detection and blurring in a video clip |
title_short |
Real-time obscene scene nudity detection and blurring in a video clip |
title_full |
Real-time obscene scene nudity detection and blurring in a video clip |
title_fullStr |
Real-time obscene scene nudity detection and blurring in a video clip |
title_full_unstemmed |
Real-time obscene scene nudity detection and blurring in a video clip |
title_sort |
real-time obscene scene nudity detection and blurring in a video clip |
publisher |
Brac University |
publishDate |
2023 |
url |
http://hdl.handle.net/10361/21829 |
work_keys_str_mv |
AT rizwanajesima realtimeobscenescenenuditydetectionandblurringinavideoclip AT hasanmdfahim realtimeobscenescenenuditydetectionandblurringinavideoclip AT hossainmotakabbir realtimeobscenescenenuditydetectionandblurringinavideoclip AT zahangirkanizferdousbinte realtimeobscenescenenuditydetectionandblurringinavideoclip AT prothomahumairamir realtimeobscenescenenuditydetectionandblurringinavideoclip |
_version_ |
1814306846224154624 |