Open Henrilux opened 3 years ago
@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 --back
argument of the script
@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.
@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 the paths seem ok. Have you modified the Python script just like @berak suggested? I had no further issues afterwards.
@Henrilux -- you probably misunderstood something, it's NOT AT ALL about installing opencv.
you have to invoke the python script with a proper --back /some/valid/imagepath
argument, that's all.
@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?
![]()
![]()
I have the same problem ,too . Have you found any solutions
I tracked down this error to running the run.ps1
script for background matting from a regular PowerShell prompt.
I instead ran it from PowerShell ISE, and everything went fine.
For some reason, one of the data preparation steps fails (it's the one calling KinectMaskGenerator.exe
in prepare_data.py
) and then everything breaks.
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.