- Signature production service (WEB * ML)
- Let us make your novel signature!!
Youngkwon Kim WEB-BE |
Sohyun Park WEB-FE |
Yula Seo Machine Learning |
- Create workspace and clone:
mkdir signature-workspace && cd signature-workspace
git clone https://github.com/CAU-Celebrity/TheSignature.git
- ML model 다운로드: Download
위의 링크에서 모델 파일을 다운로드 후
/signMaker/ml_model/ 폴더에 배치
- 가상환경 설치 및 Module 설치:
pip3 install virtualenv && virtualenv venv
source venv/bin/activate (For Linux, Mac OS)
call venv/Scripts/activate (For Windows)
cd TheSignature && pip3 install -r requirement.txt
(According to your dependency, you might have to install some additional modules)
3-a. DB 관련 Module 설치:
(Window & Mac)
pip3 install mysqlclient
pip3 install pymysql
(Linux)
sudo apt install libmysqlclient-dev
pip3 install mysqlclient
pip3 install pymysql
- MySQL 설치:
(Windows) Visit the link https://www.mysql.com/downloads/
(Linux) sudo apt-get install mysql-server && sudo systemctl start mysql
(Mac OS) brew install mysql
- Database 기본설정:
mysql -u root -p (Permission이 필요하면 prefix sudo keyword)
CREATE USER 'signature-root'@'localhost' IDENTIFIED BY 'thesignature7!';
CREATE DATABASE theSignature;
GRANT ALL PRIVILEGES ON *.* TO 'signature-root'@'localhost';
FLUSH PRIVILEGES;
exit() (또는 Ctrl + Z)
- Model migration:
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
- 실행 방법:
다음 주소를 브라우저에 복사 및 이동
localhost:8000
- Prof: Sangoh Park (Chung-Ang Univ)
- Mentor: Jiman Kim (Samsung research)