question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add to .env file "max_detect_size" option

See original GitHub issue

To 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:closed
  • Created 2 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
pospielovcommented, Oct 1, 2021

Hi, thanks for the interest in our repository, I assigned the issue to you

0reactions
pospielovcommented, Oct 25, 2021

Merged, thanks for the contribution!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found