spmallick / learnopencv

Learn OpenCV : C++ and Python Examples

Home Page:https://www.learnopencv.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue in Create-AR-filters-using-Mediapipe

richa-kody opened this issue · 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?

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)?