Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.4 KB

File metadata and controls

43 lines (32 loc) · 1.4 KB

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.