Sample project that simulates sliding window technique to match a template
To Run the project
- navigate to root directory
- mvn clean install
- java -jar target/cat-face-recognizer.jar
- the server will start running at port 8080
- navigate to http://localhost:8080/swagger-ui.html
- test /cat/recognize endpoint with following request
{ "image": [ "++++++++++++++ +++++ +++++ +++++++++++ +++ ++++++++++++++++++++++ +++++++ ++ ++ ++++++", "+++++++++++++++++++++++++++++++++++++++++ +++++ ++++++++++++ +++ + ++++ ++++++++", "++ +++++++ ++++++++ ++++++++++++++++++++++++++++ +++++++ +++ ++++++++ ++ +++++++++++++ ++ ++", "++++++++++++++ + + +++++ +++++ ++++++ ++ ++++ +++++++++++++ ++++ +++ ++++ ++ +++ ++ + ++ ++", "+ +++++++++ ++++++++++++++++++ ++++ ++ + +++++ ++ +++ +++++++ ++++ ++++ + + +++++++", "++++ +++++++++ ++++++++++++++ +++ +++++++++++++ + + +++++++++++++++++++++++++ +++ +++ +++++++", "+++++++++++++ +++++++++++++++++++++ ++++++ ++ +++ +++ +++++++++++ + ++++++++++ +++ +++", "++ +++++++++++++ +++++++++++ ++++++ +++++++++++ ++ +++++++++++++ ++++ ++ +++ ++ ++++", "+++++ + ++++ ++++ ++++++++++++++ ++++++++++ ++ +++ ++ +++++++++ ++++++ + + ++ ++ +++ +", "++++++++++++++++ ++++++++ ++++++++++++++++++ ++ ++ ++++++ ++++++++++++ ++ + + ++ +++++", "++++++ ++++ +++++++ +++++++++++++++ ++++++ + ++ + + ++ + ++++++++ ++++++++ ++ +++ ++ ++ +", "++++++++++++++++++ + +++ ++++++++ +++ +++++ ++ +++ ++ +++++++++ ++++++++++ ++ ++ ++++", "+++++ ++++++++++ + +++++++++++ ++++++++ ++++ ++ ++ +++++++++++++++ ++ +++++ ++ ++", "++ + +++++ ++ ++ +++++++++ + ++++++++++++++++ + +++++ ++++++++++ +++++++++ + ++++ ", "++++++++++ +++++ +++++++++++++++++ +++ ++++ + + ++++ +++++++++++ +++++", "++++++++++++ ++++++++++++++ ++++++++ ++++ ++ +++++++ ++++++++++++ ++ ++ ++++++ + +++", "+++++++++++ +++++++++++++ ++++ ++++++++++++++++++++++++++++ +++++++++++++++++++++++ ++++++++ + ++ +"
], "threshold": 8 }