There are a lot of possibilities to analyse and process data like image files programmatically, if one dares to use the Python programming language. Java, which is used as the programming language on the server side of the publishing application, could already be used to run applications in Python, but the use of the micro-application framework Flash makes it more elegant.
In practice, Python applications would be executed on a separate application server within the same virtual server, which would be connected to from Java in similar fashion to connecting to external APIs, after which a response message using the desired structure would be received and processing could continue from there. Such a separate application server would be Gunicorn, a "Python WSGI HTTP Server for UNIX". Flask's role would be to make it easier to use Python code in a web application.
One use case could be to send an image to Python code to be analyzed by a chosen AI model, which then generates numeric vector data that defines what that image contains, returns that vector data to Java code, which then stores it to a Weaviate vector database for later use. That later use could mean retrieving similar images from the Weaviate vector database using either the vector data corresponding to an example image or the vector data corresponding to a verbal search, which could then be displayed to a user of the publishing application when searching for images fitting to a specific purpose among the images already stored in the publishing application.
<-- Processing images in plentiful amounts
Stackable solutions in the list of published works -->