You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Сервис анализа фотографий при помощи базы знаний
## Настройка и запуск
Требуемое окружение: Python 3.10+.
Настройка виртуальной среды и установка зависимостей:
```commandline
python3 -m venv --clear .venv
# или
python -m venv --clear .venv
# для batch
.venv\Scripts\activate.bat
# для powershell
.\.venv\Scripts\Activate.ps1
# для bash (в т.ч. mac os x)
source .venv/bin/activate
python -m pip install -r requirements.txt
```
Запуск:
```commandline
python -m flask --app src/webApp.py run
```
После этого в браузере необходимо перейти по ссылке <http://127.0.0.1:5000/>.
## Полезные ссылки
* REST-сервис работы с онтологиями: <http://kb.athene.tech/swagger-ui/index.html>.
## Для летней школы ИИ
Для запуска Protege необходимо запустить командную строку (`cmd`) и вбить команду `"c:\Program Files\Protege-5.6.1\run.bat"`.