harshilp24 / invisible_cloak

invisible cloak using opencv
13 stars 7 forks source link

not working in my system #2

Open Aashish1106 opened 4 years ago

Aashish1106 commented 4 years ago

could you make a readme file describing the process?

harshilp24 commented 4 years ago

Check this - https://harshilp.medium.com/invisibility-cloak-using-opencv-8b07142c83d6 you can also post the error if you want

Aashish1106 commented 3 years ago

2

I got this

AxisError Traceback (most recent call last)

in () 18 for i in range(60): 19 ret, background = cap.read() ---> 20 background = np.flip(background, axis=1) 21 22 ## Read every frame from the webcam, until the camera is open <__array_function__ internals> in flip(*args, **kwargs) 2 frames /usr/local/lib/python3.6/dist-packages/numpy/core/numeric.py in (.0) 1325 pass 1326 # Going via an iterator directly is slower than via list comprehension. -> 1327 axis = tuple([normalize_axis_index(ax, ndim, argname) for ax in axis]) 1328 if not allow_duplicate and len(set(axis)) != len(axis): 1329 if argname: AxisError: axis 1 is out of bounds for array of dimension 0