Skip to content

ltyiz07/label_statistics

Repository files navigation

simple api server

요구사항: 1. 서버의 어노테이션에 대해 수치화된 정보 웹 으로 제공 2. 제공받은 수치들을 종류별로 통계화 3. 해당하는 이미지 제공 4. 이미지에 어노테이션 오버레이

mongodb as database

Requirements

Python version >= 3.9

Usage

To run the server, please execute the following from the project root directory:

set TAR_SOURCE at .\proj_stat\config.py as path where *.tar files located.

docker run -dp 27017:27017 -v ./database:/data/db --name mongodb mongo
python -m pip3 install -r requirements.txt
python -m flask run

실행후 아래 페이지에서 "Update Database" 링크 클릭
web page
Notion info

Test

To run tests, please execute the following from the root directory:

python -m pytest

Swagger document

swagger api document

resolve

for mod_wsgi installation error, on powershell below

mkdir -p C:\wamp64\bin\apache\apache2.4.51
$env:MOD_WSGI_APACHE_ROOTDIR = "C:\wamp64\bin\apache\apache2.4.51"

project hierarchy
- app.py controllers - config.py database services - config.py,
database - config.py,
templates

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages