learnopencv icon indicating copy to clipboard operation
learnopencv copied to clipboard

Issue in Create-AR-filters-using-Mediapipe

Open richa-kody opened this issue 2 years ago • 1 comments

After loading of filters, we are getting the following error.

INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Traceback (most recent call last): File "ABC.py", line 255, in frame = cv2.imread(cap) cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 3145728 bytes in function 'cv::OutOfMemoryError'

Could you provide a solution for the same?

richa-kody avatar Feb 13 '23 04:02 richa-kody

Can you provide more details - for allowing to reproduce the behavior? Which sample are you referring to, how have you prepared your environment (which versions of Python/C/C++/TensorFlow, etc, which installations, which operating-system, which command-line, which source-code, which hardware, running the application natively/in virtualenv/in container)? Have you applied local changes, using your own input (picture/video/camera)?

brmarkus avatar Feb 13 '23 10:02 brmarkus