Skip to content

mattix1710/DepthMapQualityDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DepthMapQualityEstDB

Evaluation database for depth maps estimation (Django: Python)


TODO - before starting server (if no database file in the project)

  • create admin account

    py manage.py createsuperuser
    Username: admin
    Email address: your_email
    Password: your_password

  • create database

    py manage.py migrate
    py manage.py makemigrations


  • starting a server

    • !! server must be started in main directory of the project (inside depth_grader folder - manage.py root directory) !!

    ON WSL server (Windows Subsystem for Linux) run Redis server:

    # redis-server

    Before executing Python server, run Celery broker:

    python -m celery -A depth_grader worker -l info -P gevent

    • depth_grader | Django app that will manage all the incoming traffic
    • -l info | command flag that shows all current "tasks" accounted for code execution
    • -P gevent | command flag that handles coroutines with help of gevent (Python networking library)

    py manage.py runserver


EXECUTION of BATCH files

while calling BATCH file - current absolute path is the path that was entered in terminal
i.e.

  • terminal PATH is: DepthMapQualityDB/depth_grader/
  • BAT file PATH is: DepthMapQualityDB/depth_grader/depthQualifier/src/testBatch.bat

then commands written on .bat file will be executed as on "terminal PATH"


TODO - while inserting/running server

  • unpack "ffmpeg.exe" file from "ffmpeg.zip" archive
    • this file is located in DepthMapQualityDB\depth_grader\depthQualifier\src\media_handling\ location
  • check TERMINAL path
    • BATCH files depend on the terminal path:
      i.e. access to /media/ folder

About

Evaluation database for depth maps estimation (Django: Python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •