- Create env file.
cp .env.sample .env
- Go to Azure portal and create a Storage Account.
- Createa a Blob Container in the Storage Account.
- Find the api access key from the Azure storage dashboard.
- Copy paste the account name, account key, connection string, and container name in the .env.
- Go to Azure portal and create a Container Registry.
- Build an image and push it to Container Registry.
docker login <myregistry>.azurecr.io --username <acr_username> --password <acr_password> docker build -t background-subtraction . docker tag background-subtraction <myregistry>.azurecr.io/background-subtraction:latest docker push <myregistry>.azurecr.io/background-subtraction:latest
- Create a WebApp and deploy it.
To open the log stream generated by your web app, you should use the following command.
az appservice plan create --name <plan_name> --resource-group <resource_group> --sku F1 --is-linux az webapp create --name <app_name> --resource-group <resource_group> --plan <plan_name> --deployment-container-image-name <myregistry>.azurecr.io/background-subtraction:latest az webapp config container set --name <app_name> --resource-group <resource_group> --docker-custom-image-name <myregistry>.azurecr.io/background-subtraction:latest --docker-registry-server-url https://<myregistry>.azurecr.io --docker-registry-server-user <acr_username> --docker-registry-server-password <acr_password> az webapp config appsettings set --name <app_name> --resource-group <resource_group> --settings WEBSITES_PORT=5000 az webapp log config --name <app_name> --resource-group <resource_group> --docker-container-logging filesystem
az webapp log tail --name <app_name> --resource-group <resource_group>
- Go to the link below, upload your images and send it.
https://<app_name>.azurewebsites.net
background-subtraction-of-two-images's Introduction
background-subtraction-of-two-images's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.