Skip to content

A Java spring boot application to serve Tensorflow trained siamese model with React JS frontend.

Notifications You must be signed in to change notification settings

passid-services/siamese-tf-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

siamese-tf-java

A Java spring boot application to serve Tensorflow trained siamese model with React frontend. For illustration purpose, a siamese model trained for signature verification (python code) is integrated here. [Tensorflow Model]

Enrollment

Recognition

Requirements

Getting Started

Download the provided Tensorflow model and extract it in src/main/resources.

To use your own model, first train it using python code (Use its graph_serialize_utils to convert it to pb file). Then set appropriate model path in src/main/resources/application.properties. If necessary, implement provided interface com.tensorflow.siamese.services.TfModelServingService.

Then execute following in root directory:

mvn clean install -DskipTests
mvn spring-boot:run

Start front-end:

cd <webapp folder>
npm run start

Then just open localhost:3000 in your browser.

About

A Java spring boot application to serve Tensorflow trained siamese model with React JS frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published