Giter Club home page Giter Club logo

final-project-level3-cv-09's Introduction

team

손바닥도 마주쳐야 소리가 납니다.

손바닥을 맞대고 싶은 우리는 팀 하이파이프입니다.

220606_발표자료

  • 프로젝트 주제

    • 아동 · 심약자를 위한 동영상 폭력 감지 및 필터링 서비스
  • 프로젝트 소개

    • 동영상 내 폭력적인 장면에 대한 폭력성 스코어링
    • 폭력성 스코어가 높은 부분, 필터링 적용
    • 필터링 적용 후, 처리된 영상 다운로드

  • 서비스 개념도
    • Multi-Modal을 활용한 Violence Detection(HLNet)
    • 동영상 전 구간에 대한 Blood Detection(YOLOv5)
    • 폭력성 구간에 대한 Violence Localization(ResNet34-Kinetics)

concept


  • 프로그램 구성도
    • Web Demo : Streamlit

structure


🎥 Result

  • Violence Detection
  • Korean Movie Dataset 20 videos
  • PR AUC Offline : 0.8021 Online : 0.7130

result1

result2


  • Blood Detection

result3

⚙ Development Environment

  • GPU : Nvidia Tesla V100
  • OS : Linux Ubuntu 18.04
  • Runtime : Python 3.8.5

🎬 Get Started

  • We recommanded PYTHON 3.8.5
conda create -n {your_env_name} python=3.8.5
  • conda env activate
conda activate {your_env_name}
  • install requirements
pip install -r requirements.txt
apt-get install libsndfile1
apt-get update
apt-get install ffmpeg

  • Run Demo (🧨Caution) pipeline is working directory. All path setting on pipeline.
cd pipeline
streamlit run zzolflix.py
  • Run Demo on Cloud Server
streamlit run zzolflix.py --server.port {your_server_port}

Data Directory Structure

pipeline/data/
            |-- audio_features(wav -> npy)
            |-- audios(wav)
            |-- blurred_images(jpg)
            |-- figures(result of plot)
            |-- image_features(jpg -> npy)
            |-- images(jpg)
            |-- list(list)
            |-- not_violent_videos
            |-- npys(on.npy, off.npy)
            |-- output_videos(mp4)
            `-- videos(mp4)




🚩 Pre-Commit Installation Guide

  1. 아래 명령어를 리눅스 기본 shell에서 실행합니다.

  1. pre-commit 설치
$ pip install pre-commit
$ brew install pre-commit
  1. 버전 확인
$ pre-commit --v
pre-commit 2.17.0
  1. 설치 확인 및 업데이트
$ pre-commit autoupdate
[WARNING] The 'rev' field.......
  1. 설치
$ pre-commit install
pre-commit installed at .git/hooks/pre-commit
  1. 이후 commit부터 오토 포매팅 반영
  • fix된 사항 있을 시 git status를 통해 modified 확인 후 다시 add & commit

final-project-level3-cv-09's People

Contributors

updaun avatar tjrudrnr2 avatar jeongjae96 avatar km9mn avatar leeyoonghee avatar yoonghee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.