Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박선진
/
video-emergency-detection
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박선진
2020-06-25 14:39:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
abd6b4375602c354ca5517c09b20e23e961c5249
abd6b437
1 parent
eebeb6fe
add README
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
92 additions
and
0 deletions
README.md
README.md
0 → 100644
View file @
abd6b43
## 개발 목표
영상 데이터로부터 화재 및 침입자 감지하여 해당 프레임과 함께 알림이 출력되도록 하는 웹사이트 개발
## FE/BE 빌드
1.
git clone http://khuhub.khu.ac.kr/2016104123/video-emergency-detection.git
2.
install NPM packages
-
/Back-end/
```shell
npm install
npm start
```
-
/Front-end/
```shell
npm install
npm start
```
## detection api
1.
api 띄우고자 하는 서버에 python3, pip3 버전 3.6 이상 설치
-
전체 패키지 업데이트
```shell
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y
```
-
재부팅
```shell
sudo shutdown -r now
```
-
OpenSSL 다운로드
```shell
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar -zxvf openssl-1.1.1g.tar.gz sudo apt install build-essential
./config
make
make test
sudo make install
```
-
Python 빌드 의존성 설치
```shell
sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
```
-
pyenv 설치
```shell
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc source ~/.bashrc
pyenv install 3.7.0
pyenv global 3.7.0
pip3 install --upgrade setuptools
```
2.
필요한 모듈들 설치
- git clone detection-API
- model 가져오기(sftp)
sftp user@ip
put detection_model-ex-33--loss-4.97.h5
- 필요한 모듈들 설치
```shell
pip3 install --upgrade tensorflow
pip3 install opencv-python
pip3 install keras
pip3 install imageai --upgrade
pip3 install flask
pip3 install flask-restplus
pip3 install cmake
pip3 install dlib
pip3 install face-recognition
```
Please
register
or
login
to post a comment