GithubHelp home page GithubHelp logo

Expose <video> element about ngx-webcam HOT 3 CLOSED

basst314 avatar basst314 commented on July 27, 2024
Expose

Comments (3)

basst314 avatar basst314 commented on July 27, 2024 2

Hi @franz1023dfjr,

I released a new version (0.2.4) which has a new method to access the native video element. Checkout the nativeVideoElement() method on the webcam component.

Cheers!

from ngx-webcam.

franzfloresjr avatar franzfloresjr commented on July 27, 2024 1

Hi @basst314 ,

Yes. That's the lib I'm talking about and your library makes my work faster since i don't have to code setting up the camera. I greatly appreciate it.

Your assumption is correct. What I'm doing right now is:
const video = document.querySelector('#webcam video')

Not much of a hassle but I rather use @ViewChild() decorator of angular then access its properties 😁 .

Thanks.

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

Hi @franz1023dfjr,

thank you for using this library!

The idea of exposing the video element sounds interesting. I will take a look at it and the face-api lib that you mentioned.
Is this the lib? https://github.com/justadudewhohacks/face-api.js?files=1

Am I correct in the assumption that you're currently able to use a workaround by querying the element through document?

Cheers

from ngx-webcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.