Geertjan Wielenga: An Introduction to the Java Visual Recognition API Geertjan Wielenga published an introduction to JSR 381, the Java Visual Recognition API, on foojay.io, including an implementation of a nearest-neighbor classifier built on DuckDB. The article demonstrates the API in practice and argues in-house visual recognition APIs are useful where external services pose security concerns or unpredictable costs. Geertjan Wielenga has published " An Introduction to JSR 381, the Java Visual Recognition API https://foojay.io/today/jsr-381-java-visual-recognition-api/ " on foojay.io https://foojay.io . It's not only neat to see the API in practice, but Geertjan also shows an implementation of a nearest-neighbor classifier based on DuckDB https://duckdb.org/ . Could you do this with OpenCV https://bytecode.news/factoids/opencv or something like that, or maybe even offload it to an LLM for classification? Yes, you certainly could. But it's very useful to have in-house APIs, especially in environments where external services represent security concerns or unpredictable cost centers. Very interesting article, interesting API, and the reduction of images for classification... feels insufficient but quite useful for example purposes.