Giter VIP home page Giter VIP logo

Comments (10)

enquel avatar enquel commented on May 17, 2024 1

This may mean that the Python bindings for OpenCV are not initialized properly at all. Can someone from MS pick that up?

from ailab.

enquel avatar enquel commented on May 17, 2024

@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.

from ailab.

berak avatar berak commented on May 17, 2024

please make sure you give a proper image path (DOUBLE CHECK!) to the --back argument of the script

from ailab.

enquel avatar enquel commented on May 17, 2024

@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?

from ailab.

enquel avatar enquel commented on May 17, 2024

@berak I have checked and it works for me, I think we can close this.

from ailab.

Henrilux avatar Henrilux commented on May 17, 2024

@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?

e0e26fb9bb1298ab40ab6d04c5b8a53

feec98d9886c3cf96000a527099b8f8

from ailab.

enquel avatar enquel commented on May 17, 2024

@Henrilux the paths seem ok. Have you modified the Python script just like @berak suggested? I had no further issues afterwards.

from ailab.

berak avatar berak commented on May 17, 2024

@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.

from ailab.

hutianyang avatar hutianyang commented on May 17, 2024

@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?

e0e26fb9bbtoo1298ab40ab6d04c5b8a53 feec98d9886c3cf96000a527099b8f8

I have the same problem ,too . Have you found any solutions

from ailab.

neaorin avatar neaorin commented on May 17, 2024

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.

from ailab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.