You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hii,
I have followed the exact instructions as per readme.md but still I am having some issues with the code, could you pls help me with that?
I got this as Output:-
Harry : Hey !! Would you like to try my invisibility cloak ??
Its awesome !!
Prepare to get invisible .....................
---------------------------------------------------------------------------
AxisError Traceback (most recent call last)
<ipython-input-1-8140f276118a> in <module>()
17 ret,background = cap.read()
18
---> 19 background = np.flip(background,axis=1)
20
21 while(cap.isOpened()):
<__array_function__ internals> in flip(*args, **kwargs)
2 frames
/usr/local/lib/python3.6/dist-packages/numpy/lib/function_base.py in flip(m, axis)
247 indexer = (np.s_[::-1],) * m.ndim
248 else:
--> 249 axis = _nx.normalize_axis_tuple(axis, m.ndim)
250 indexer = [np.s_[:]] * m.ndim
251 for ax in axis:
/usr/local/lib/python3.6/dist-packages/numpy/core/numeric.py in normalize_axis_tuple(axis, ndim, argname, allow_duplicate)
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:
/usr/local/lib/python3.6/dist-packages/numpy/core/numeric.py in <listcomp>(.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
#5
The text was updated successfully, but these errors were encountered:
Hii,
I have followed the exact instructions as per readme.md but still I am having some issues with the code, could you pls help me with that?
I got this as Output:-
The text was updated successfully, but these errors were encountered: