A simple docker-compose app for orchestrating a fastapi application, a celery queue with rabbitmq(broker) and redis(backend)

A simple docker-compose app for orchestrating a fastapi application, a celery queue with rabbitmq(broker) and redis(backend) build and run containers docker-compose up -d –build This will expose fastapi application on 5000 and celery flower on 5555 swagger docs – http://localhost:5000/ redoc – http://localhost:5000/redoc celery flower – http://localhost:5555 GitHub https://github.com/karthikasasanka/fastapi-celery-redis-rabbitmq    

Read more

Backend Skeleton using FastAPI and Sqlalchemy ORM

Based on @tiangolo’s full stack postgres template, with some things added, some things removed, and some things changed. This is a work in progress! TODO: Remove fastapi_util from the app repo, and make it a separate package Add example pydantic models, sqlalchemy models, endpoints Add encode/databases support (possibly in a separate template?) GitHub https://github.com/dmontagu/backend-skeleton    

Read more

Prints values and types during compilation

Compile-Time Printer Compile-Time Printer prints values and types at compile-time in C++. Teaser test.cpp compile-time-printer — make test.cpp #include template constexpr auto func(int i) { // Formatted output. ctp::printf(“Hello {}!n”, ctp::type{I}); // Standardized output. ctp::print(I + i, sizeof(I)); return true; } constexpr    

Read more

Structure Guided Lane Detection with python

Project for the IJCAI 2021 paper “Structure Guided Lane Detection” Abstract Recently, lane detection has made great progresswith the rapid development of deep neural networksand autonomous driving. However, thereexist three mainly problems including characterizinglanes, modeling the structural relationship betweenscenes and lanes, and supporting more attributes(e.g., instance and type) of lanes. In thispaper, we propose a novel structure guided frameworkto solve these problems simultaneously. Inthe framework, we first introduce a new lane representationto characterize each instance. Then a topdownvanishing point guided […]

Read more

A project helps to detect the mathematical formula from the given picture and the same formula is extracted and converted into the latex code

The goal of this project is to create a learning based system that takes an image of a math formula and returns corresponding LaTeX code. Requirements Model PyTorch (tested on v1.9) Python 3.7+ & dependencies (requirements.txt) pip install -r requirements.txt Dataset In order to render the math in many different fonts we use XeLaTeX, generate a PDF and finally convert it to a PNG. For the last step we need to use some third party tools: Using the model Download/Clone […]

Read more
1 2