Không có mô tả

Dimitri Korsch 92e3624a12 adapted moth scanner 3 năm trước cách đây
labels 92e3624a12 adapted moth scanner 3 năm trước cách đây
migrations d272f7c26d added tests for file upload and removal. fixed some bugs 4 năm trước cách đây
models 92e3624a12 adapted moth scanner 3 năm trước cách đây
pycs 63bbf031fe added logger config in the settings.json; replaced all prints with app.logger.info/.debug 3 năm trước cách đây
tests 63bbf031fe added logger config in the settings.json; replaced all prints with app.logger.info/.debug 3 năm trước cách đây
webui 106ba4785d some minor WebUI fixes 3 năm trước cách đây
.coveragerc fa28cb9780 added a Makefile and converagerc file 4 năm trước cách đây
.dockerignore 1259a4330a Resolve "Dockerfile" 4 năm trước cách đây
.editorconfig 05fab88a78 implemented first version of the crop view. Moved image operations to a separate utils module 4 năm trước cách đây
.gitignore fa28cb9780 added a Makefile and converagerc file 4 năm trước cách đây
.gitlab-ci.yml dc9ce6a951 [ci skip] report of the coverage is duplicated 3 năm trước cách đây
.pylintrc 63bbf031fe added logger config in the settings.json; replaced all prints with app.logger.info/.debug 3 năm trước cách đây
Dockerfile 1259a4330a Resolve "Dockerfile" 4 năm trước cách đây
Makefile 1bde8fc4e2 ignoring resource warnings, when running coverage tests 3 năm trước cách đây
README.md 1259a4330a Resolve "Dockerfile" 4 năm trước cách đây
app.py b5d784be18 deleted Database class. Reworked all view, so that they don't need a database instance 4 năm trước cách đây
docker-compose.yml 59603d7eba Ammod 4 năm trước cách đây
requirements.dev.txt 0c8332a22d CI changes: 4 năm trước cách đây
requirements.txt ccdfae6b81 forgot a dependency 4 năm trước cách đây
settings.json 63bbf031fe added logger config in the settings.json; replaced all prints with app.logger.info/.debug 3 năm trước cách đây

README.md

PyCS

pipeline status coverage report made-with-python made-with-vuejs

PyCS is a python tool to use and fit machine learning models using any modern web browser.

Requirements

  • python 3.6 + pip
  • nodejs 14 + npm

Getting Started

CI Builds

Download the latest version and unzip it. Execute the following commands using a command prompt:

  • create and activate a virtual python environment

    python -m venv env
    source env/bin/activate
    
  • install python dependencies

    pip install numpy opencv-python Pillow scipy
    pip install eventlet flask python-socketio
    
  • start server

    python app.py
    

Docker

Docker is the preferred way to quickly start a PyCS instance without requiring any more software or libraries on your system.

  • build image with tag pycs

    docker build -t pycs .
    
  • start container

    docker run -p 5000:5000 pycs
    

Development

Use git to clone this repository or download the latest version as a zip file. Execute the following commands using a command prompt:

  • create and activate a virtual python environment

    python -m venv env
    source env/bin/activate
    
  • install python dependencies

    pip install numpy opencv-python Pillow scipy
    pip install eventlet flask python-socketio
    
  • start server

    python app.py
    
  • change directory to webui

    cd webui/
    
  • install vuejs and other dependencies

    npm install
    
  • start frontend

    npm run serve