diff --git a/README.md b/README.md index 510ecbf..1d1f65a 100644 --- a/README.md +++ b/README.md @@ -1,65 +1,67 @@ -# PermHack +# Искуственный - да, Интелект- нет - +✨ Нами был реализован микросервисный комплекс использующий ансамбль свёрточных нейронных сетей на базе YOLO v8 и Torch Vision. Мы провели анализ доступных архитектур для решения поставленной задачи и остановились на данном решении ввиду его производительности. Наша платформа поставляется вместе с оптимизированными сервисами сбора метрик и современным WEB-интерфейсом. Кроме этого мы интегрировали наш программный продукт с промышленными системами видеонаблюдения mars. -✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨ - - -liygfdlifdsijlkjb - -## Start the app - -To start the development server run `nx serve crud`. Open your browser and navigate to http://localhost:4200/. Happy coding! - - -## Generate code - -If you happen to use Nx plugins, you can leverage code generators that might come with it. - -Run `nx list` to get a list of available plugins and whether they have generators. Then run `nx list ` to see what generators are available. - -Learn more about [Nx generators on the docs](https://nx.dev/plugin-features/use-code-generators). - -## Running tasks - -To execute tasks with Nx use the following syntax: +## Развертывание +### Backend +```bash +cd apps ``` -nx <...options> +```bash +sudo docker-compose up -d ``` - -You can also run multiple targets: - +### Frontend +```bash +npm i -g nx ``` -nx run-many -t +```bash +nx run crud:serve:development --host=0.0.0.0 ``` -..or add `-p` to filter specific projects - +### Model +```bash +cd yolo-websocket ``` -nx run-many -t -p +```bash +git checkout master +``` +```bash +sudo docker-compose up -d ``` -Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/core-features/run-tasks). - -## Want better Editor Integration? - -Have a look at the [Nx Console extensions](https://nx.dev/nx-console). It provides autocomplete support, a UI for exploring and running tasks & generators, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users. - -## Ready to deploy? - -Just run `nx build demoapp` to build the application. The build artifacts will be stored in the `dist/` directory, ready to be deployed. - -## Set up CI! - -Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further. +#### Альтернативный запуска (не рекомендуем) +```bash +nx run-many -t py-categories-service py-conveyor-service crud +``` -- [Set up remote caching](https://nx.dev/core-features/share-your-cache) -- [Set up task distribution across multiple machines](https://nx.dev/core-features/distribute-task-execution) -- [Learn more how to setup CI](https://nx.dev/recipes/ci) +После запуска приложение будет доступно на http://localhost:4200 + +| Name | Source | Deploy URL | Hosted URL | +|:-------:|:------------------------------------------------------------------------------------------------:| :---: |:-------------------------------| +| WEB | [crud](https://github.com/perm-hack/perm-hack/tree/main/apps/crud) | http://localhost:4200 | https://ayin.k-lab.su | +| Backend | [py-conveyor-service](https://github.com/perm-hack/perm-hack/tree/main/apps/py-conveyor-service) | http://localhost:4200/api/docs | https://ayin.k-lab.su/api/docs | +| Model | [yolo-websocket](https://github.com/95862888/yolo-websocket/tree/master) | | | + +## Архитектура + +```mermaid +graph TD; + agw-e2w-->agw; + crud-e2e-->crud; + crud-->agw; + agw-->py-categories-service; + agw-->py-conveyor-service; + py-conveyor-service-->db; + page-->crud; + ui-->page; + yolo-websocket-->ui; + yolo-websocket-->py-conveyor-service; + yolo-websocket-->ml-flow; + ml-flow-->s3; +``` -## Connect with us! +ML-Flow & s3 развернуты в локальной сети. -- [Join the community](https://nx.dev/community) -- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools) -- [Follow us on Twitter](https://twitter.com/nxdevtools) +![dataset.jpg](__assets__%2Fdataset.jpg) +![model_v4.jpg](__assets__%2Fmodel_v4.jpg) diff --git a/__assets__/dataset.jpg b/__assets__/dataset.jpg new file mode 100644 index 0000000..9991dfb Binary files /dev/null and b/__assets__/dataset.jpg differ diff --git a/__assets__/model_v4.jpg b/__assets__/model_v4.jpg new file mode 100644 index 0000000..41af8e0 Binary files /dev/null and b/__assets__/model_v4.jpg differ