Add to .env file "max_detect_size" option
See original GitHub issueTo improve performance on huge images, we resize it before face detection. The downside of this is that small faces could be not recognized.
Some users complain that we do not catch too small faces in their 1080p camera.
We need to make resizing a configurable variable, so users choose if we need to resize at all, or what resize to apply
Here is where we init the variable in Python: https://github.com/exadel-inc/CompreFace/blob/c44c92eaea31798f8e68c91acc36144d3b8ab411/embedding-calculator/src/constants.py#L24
So basically all we need is to add the “IMG_LENGTH_LIMIT” environment variable to docker-compose
and then add it to .env
file
Issue Analytics
- State:
- Created 2 years ago
- Comments:19
Top Results From Across the Web
Customizing Node.js .env files - LogRocket Blog
Learn how to configure a Node.js application via environment variables and customize an .env file with new environment variables.
Read more >Environment variables in Compose | Docker Documentation
env file is placed at the base of the project directory. Project directory can be explicitly defined with the --file option or COMPOSE_FILE...
Read more >Managing .env files and setting variables - Prisma
Learn how to manage .env files and set environment variables.
Read more >What is .env ? How to Set up and run a .env file in Node?
How to Set up and read a .env file ? The dotenv package for handling environment variables is the most popular option in...
Read more >Using .env Files for Environment Variables in Python ...
Using a .env file will enable you to use environment variables for local development without polluting the global environment namespace. It will ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, thanks for the interest in our repository, I assigned the issue to you
Merged, thanks for the contribution!