JMF application that take photos from your webcam and store in database as a BLOB file.
Requirement Java Media Framework
Warning
JMF only works with JDK x86 and the following platforms: windows-i586, linux-i586, solaris-sparc
For other platforms use java-opencv-photo-db
sequenceDiagram
participant App as Java Application
participant Webcam as Webcam
participant Database as Database
App->>Webcam: Start capturing image
Webcam-->>App: Captured Image
App->>App: Convert image to Blob
App->>Database: Save Blob image
Database-->>App: Image Saved
./mvnw package
COD_INSTITUICAO=1
RGM_ALUNO=123456789
java -jar target/photo-db-1.0-jar-with-dependencies.jar $COD_INSTITUICAO $RGM_ALUNO
At src/main/resources/connection.properties
jdbc.driver=org.h2.Driver
jdbc.user=sa
jdbc.pass=
jdbc.url=jdbc:h2:file:~/java-photo-db