-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: (-215: Assertion failed) !_scr.empty() in function 'cv::cvtColor' #127
Comments
@Henrilux I have solved a bunch or errors leading to this one. Have you figured it out? For me the path to OpenCV stated in error is the same as yours, and actually there is nothing there on my system, so my guess is that the paths are mixed in .py script, causing the script to point to a nonexistent address. |
This may mean that the Python bindings for OpenCV are not initialized properly at all. Can someone from MS pick that up? |
please make sure you give a proper image path (DOUBLE CHECK!) to the |
@berak thank you for answer. Is there a resource somewhere on actual usage patterns or do I need to go each python script line by line to figure out how to use the script parameters? Also, is there a way to get output without compositing the new background video with --back parameter? |
@berak I have checked and it works for me, I think we can close this. |
Hi, I still haven't solve the issue.. below is where we tried to fix the path but didnt work. would you be able to have a quick look see if we have missed anything? |
@Henrilux -- you probably misunderstood something, it's NOT AT ALL about installing opencv. you have to invoke the python script with a proper |
I have the same problem ,too . Have you found any solutions |
I tracked down this error to running the For some reason, one of the data preparation steps fails (it's the one calling Use PowerShell ISE to run the script instead. |
Hi
I'm having error when running processing the pictures.
Error screen reads as attached file 1.png
processing photos while having this error as attached file 2.png
I saved this project under below route
C:\Users\edz\Desktop\ailab-master\VirtualStage\BackgroundMatting
would you be able to help solving this issue?
thanks.
The text was updated successfully, but these errors were encountered: