Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

137
Vistas
How to capture error with Mediapipe camera object

I am using the mediapipe Camera object imported by '@mediapipe/camera_utils/camera_utils'

It is working fine most of the times, but sometimes an error is thrown inside this 'camera_utils' file but I don't know how to capture and handle it.

        try {
            this.camera = new Camera(this.video, {
                onFrame: recursiveCamera,
                width: width / 2,
                height: height,
            });
        } catch (error) {
            console.log('error camera mediapipe captured ', error)
        }

I am running this try/catch but even if the exception is thrown, it is not captured by the try/catch

It is easily reproducible if you throw and exception inside the 'camera_utils' file like 'throw Error("The play() request has been denied by the user")'

Thank you!!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda