sarxos / webcam-capture

The goal of this project is to allow integrated or USB-connected webcams to be accessed directly from Java. Using provided libraries users are able to read camera images and detect motion. Main project consist of several sub projects - the root one, which contains required classes, build-in webcam driver compatible with Windows, Linux and Mac OS, which can stream images as fast as your camera can serve them (up to 50 FPS). Main project can be used standalone, but user is able to replace build-in driver with different one - such as OpenIMAJ, GStreamer, V4L4j, JMF, LTI-CIVIL, FMJ, etc.
http://webcam-capture.sarxos.pl
MIT License
2.26k stars 1.11k forks source link

WebCam is not access by using Java in MAC ventura version #904

Open ssrivastava123 opened 1 year ago

ssrivastava123 commented 1 year ago

i am trying to access webcam using javafx in my project in mac ventura and catlina version.but to unable to get access plz tell me the solutions.

eduramiba commented 1 year ago

Try this https://github.com/eduramiba/webcam-capture-driver-native It's a native driver that I have tested with all recent MacOS versions

ssrivastava123 commented 1 year ago

i have setup this code in my STS IDE it can get webcam list but unable to open webcam.Facing webcam locked issue and other app does not access webcam during the execution of project. I am using JAVA 17 version.

hrana123 commented 1 year ago

i am trying to access webcam using javafx in my project in mac ventura and catlina version.but to unable to get access plz tell me the solutions.

please use OpenCVFrameGrabber to capture the image