Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

169
Visualizações
Why is my face detector app so slow on my mobile device

I've successfully implemented a face detector app using html and javascript. Specifically this one: https://justadudewhohacks.github.io/face-api.js/docs/index.html. To test it, I run it locally using VS Code extension Live Server, and it works pretty fine and fast. Now, I'm trying to test it on my mobile device and manage to do so after following the steps posted here: How to allow Chrome to access my camera on localhost?.

Now, the issue that I'm facing is that the app runs extremely laggy on my phone. Particularly, I've tested the app just streaming my frontal camera and showing the local time on the corner of it, and it runs fast. The problem appears when I add the face detection part. In the script.js, that part is:

const detections = await faceapi.detectAllFaces(video, new 
faceapi.TinyFaceDetectorOptions()).withFaceLandmarks().withFaceExpressions()

Eventually, my intention is to host this app in a server (I have no previous experience in that matter), so my question is what change do I have to make in the code (or somewhere else) so that the face detection is performed by the server itself and not by the user's phone (I'm assuming that's what's happening in my case)?

Thanks!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda