Ornament
Exemplary Beauty
13.10.23 – 28.4.24
Exhibition view "Ornament – Exemplary Beauty", MK&G, photo: Henning Rogge
Ornament Explorer
In-gallery tablet app for Ornament Exhibition
Oct 2023 - April 2024
12058 Ornamental Objects from the collection
Powered by:
Laravel, Vue, MySQL, Weaviate Vector DB
create schema
search
$data = $weaviate->graphql()->get('{
Get {
Ornament (
offset: 1
limit: '.$limit.'
nearObject: {
id: "'.$object_id.'"
}
'.$exclude_query.'
) {
identifier
_additional {
distance
}
}
}
}');
$schema = [
'class' => $this->className,
'description' => 'Images of different objects featuring ornamental details',
'moduleConfig' => [
'img2vec-neural' => [
'imageFields' => ['image'],
],
],
'vectorIndexType' => 'hnsw',
'vectorizer' => 'img2vec-neural',
'properties' => [
[
'name' => 'identifier',
'dataType' => ['string'],
'tokenization' => 'field',
'description' => 'id of the item',
],
[
'name' => 'image',
'dataType' => ['blob'],
'description' => 'image',
],
]
];
$response = $weaviate->schema()->createClass($schema);
spring
views
looking for photographs
3210 records
filered for iconography containing "blumen"
blumen.csv
images_blumen/
proof of concept (flask)
API
def cosine_similarity(vecA, vecB):
return np.dot(vecA,vecB)/(norm(vecA)*norm(vecB))
Choose Your Own Object
functional prototype for visitors
start with a curated object,
walk through the collection
along 2 axes (both metadata)
tested in gallery, positive responses