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

facing issue importing : import com.github.sarxos.webcam.Webcam; #921

Open sangram02 opened 8 months ago

sangram02 commented 8 months ago

Screenshot (364) am unable to use Webcam module function as its not able to import that module. please help me to solve this

brianmichalk1 commented 6 months ago

Add a dependency to your pom.xml file:

        <dependency>
            <groupId>com.github.sarxos</groupId>
            <artifactId>webcam-capture</artifactId>
            <version>0.3.12</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/../webcam-capture/src</systemPath>
        </dependency>