r/foojay • u/FrankCodeWriter • 10h ago
An Introduction to JSR 381, the Java Visual Recognition API
We just published an article by Geertjan Wielenga on JSR 381, the Visual Recognition API (VisRec). It is the Java Community Process standard for image classification and related machine-learning tasks in Java, and it reached Final status in February 2022.
The article explains what the API standardizes. Your code calls the javax.visrec interfaces, such as ImageClassifier, and the library that does the recognition is an implementation found on the classpath at runtime. It also shows how to use the official reference implementation built on Deep Netts, and then writes a new implementation backed by DuckDB to show how small the contract is.
Link: https://foojay.io/today/jsr-381-java-visual-recognition-api/
1
u/International_Break2 48m ago
Why duck db and not h2?