Cv2 Error on editing media object (face detection)

Gramps 5.2.3
Gramps Web API 2.5.0
Gramps Web Frontend 24.10.0
Gramps QL 0.3.0
Sifts 1.0.0
locale: en
multi-tree: false
task queue: true
OCR: true
chat: false

Running on RasPi in Docker

Although manually adding a border and tagging the person works, the automatic bordering fails on the client with ‘error: internal server error’. The grampsweb container log shows '[ERROR] Error handling request /api/media/f4866dcfe9313de682b/face_detection
cv2.error: OpenCV(4.6.0) ./modules/dnn/src/layers/eltwise_layer.cpp:251: error: (-215:Assertion failed) inputs[vecIdx][j] == inputs[i][j] in function ‘getMemoryShapes’
This happens on all media files

Can anyone please give me advice how I could repair the face detection?

Please upgrade to Release v2.5.2 · gramps-project/gramps-web-api · GitHub

Many thanks David! Sorry, I hadn’t thought to check github, will do next time