{"slug": "geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api", "title": "Geertjan Wielenga: An Introduction to the Java Visual Recognition API", "summary": "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.", "body_md": "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/).\n\nCould 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.\n\nVery interesting article, interesting API, and the reduction of images for classification... feels insufficient but quite useful for *example* purposes.", "url": "https://wpnews.pro/news/geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api", "canonical_source": "https://bytecode.news/posts/2026/11/geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api", "published_at": "2026-11-18 16:37:00+00:00", "updated_at": "2026-12-02 16:43:59.503596+00:00", "lang": "en", "topics": ["computer-vision", "developer-tools", "artificial-intelligence"], "entities": ["Geertjan Wielenga", "JSR 381", "Java Visual Recognition API", "foojay.io", "DuckDB", "OpenCV"], "also_reported_by": [], "takeaway": "JSR 381's Java Visual Recognition API can be paired with a DuckDB-backed nearest-neighbor classifier to keep image classification in-house instead of relying on external services.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api", "markdown": "https://wpnews.pro/news/geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api.md", "text": "https://wpnews.pro/news/geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api.txt", "jsonld": "https://wpnews.pro/news/geertjan-wielenga-an-introduction-to-the-java-visual-recognition-api.jsonld"}}