return self.view_functions[rule.endpoint](**req.view_args)
File "app.py", line 229, in home
xi, yi = detect_head(test_image_path)
File "app.py", line 62, in detect_head
net = cv2.dnn.readNetFromCaffe(prototxt, model)
cv2.error: OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 16154467024644 bytes in function 'cv::OutOfMemoryError'