Skip to content

Blurring faces and license plates using deep-learning with YOLO-v3

Notifications You must be signed in to change notification settings

WonDongGyun/BigData_Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigData_Project: Blur faces and license plates using deep-learning

This project was worked with 서수진, 원동균, 이민지, 전여진

These codes were built on Ubuntu 18.04 enviroment(python_3.6, tensorflow_1.14.0, django_2.0.13, opencv-python_4.1.0.25 and ngrok_2.3.34) with GTX-1050ti

We trained face and license plate images with YOLO-v3

face: wider face(3226), license plate: AOLP(2049), MediaLAb LPR(590) and self collection(327))

Getting Started

Our weight was uploaded on here

You must move weight file to "./YOLOv3_TensorFlow/checkpoint" and modify restore_path argument of test_single_image.py at 43th row

  1. Run the server in your project directory
$ python3 manage.py runserver
  1. Activate server using ngrok on other terminal
    • Copy the address of 'Fowarding' row on terminal after execute below code (ex. d61b0f6fngrok.io)
$ ./ngrok http [port number] (maybe 8000)
  1. Modify setting.py in FirstProject directory

    • Paste the address to ALLOWED_HOSTS at 28th row
  2. Blur a image

    • Open the address on your browser
    • If you want blur the image, click image_icon icon
    • After click "파일선택" button, select the image to blur
    • Click convert button
    • If you want to download blured image, click download_icon icon
    • If you want to go home, click home_icon icon
    • We don't produce to blur the video on the web. If you want to blur the video, you must execute video_mosaik.py on your computer not our web
    • If any path(in code) is written by uni-code, it doesn't work because of open-cv

Result

If you input a image, the image is converted like below

face_image

face_image

About

Blurring faces and license plates using deep-learning with YOLO-v3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.5%
  • HTML 6.9%
  • CSS 4.5%
  • JavaScript 0.1%