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
I need to use this VideoCapture. I am using cap = cv.VideoCapture{0}
I am getting this error. ...e/kushal/torch/install/share/lua/5.2/cv/videoio/init.lua:52:`` NYI: call return type stack traceback: /home/kushal/torch/install/share/lua/5.2/trepl/init.lua:506: in function </home/kushal/torch/install/share/lua/5.2/trepl/init.lua:499> [C]: in function '__index' ...e/kushal/torch/install/share/lua/5.2/cv/videoio/init.lua:52: in function '__init' /home/kushal/torch/install/share/lua/5.2/torch/init.lua:91: in function </home/kushal/torch/install/share/lua/5.2/torch/init.lua:87> [C]: in function 'VideoCapture' [string "local cap = cv.VideoCapture{0}"]:1: in main chunk [C]: in function 'xpcall' /home/kushal/torch/install/share/lua/5.2/trepl/init.lua:679: in function 'repl' ...shal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk [C]: in ?
I am able to use cv2.VideoCapture(0) in python and its working fine. Is there any way to solve this?
The text was updated successfully, but these errors were encountered:
I need to use this VideoCapture. I am using
cap = cv.VideoCapture{0}
I am getting this error.
...e/kushal/torch/install/share/lua/5.2/cv/videoio/init.lua:52:`` NYI: call return type stack traceback: /home/kushal/torch/install/share/lua/5.2/trepl/init.lua:506: in function </home/kushal/torch/install/share/lua/5.2/trepl/init.lua:499> [C]: in function '__index' ...e/kushal/torch/install/share/lua/5.2/cv/videoio/init.lua:52: in function '__init' /home/kushal/torch/install/share/lua/5.2/torch/init.lua:91: in function </home/kushal/torch/install/share/lua/5.2/torch/init.lua:87> [C]: in function 'VideoCapture' [string "local cap = cv.VideoCapture{0}"]:1: in main chunk [C]: in function 'xpcall' /home/kushal/torch/install/share/lua/5.2/trepl/init.lua:679: in function 'repl' ...shal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk [C]: in ?
I am able to use cv2.VideoCapture(0) in python and its working fine. Is there any way to solve this?
The text was updated successfully, but these errors were encountered: