January 2019
Intermediate to advanced
322 pages
7h 29m
English
Let's go back to our main task and start implementing a web application that allows users to upload an image, and then use the serialized VGG16 model to make an inference on it. Several frameworks exist for the JVM to implement web applications. In this case, to minimize our efforts, we are going to use SparkJava (http://sparkjava.com/, not to be confused with Apache Spark), a micro framework for JVM programming languages, which has being implemented to keep rapid prototyping in mind. Compared to other web frameworks, it has a minimal boilerplate. SparkJava isn't for web applications only; it is possible to implement the REST API in very few lines of code (it will also be used in the next section to implement ...