GithubHelp home page GithubHelp logo

cv2 error about facer HOT 6 OPEN

delray avatar delray commented on July 4, 2024
cv2 error

from facer.

Comments (6)

johnwmillr avatar johnwmillr commented on July 4, 2024

Does the code work for you on some images but not others? Or do you get this error no matter what? It could be specific to the image you're running the code on.

from facer.

delray avatar delray commented on July 4, 2024

I tried looking into that and deleted a few. Should they be the same pixel dimensions? Otherwise, they all have csv landmark files created for them, and all have 67 lines in them, so it seems like it should be OK.

from facer.

johnwmillr avatar johnwmillr commented on July 4, 2024

If you don't mind uploading an example image that's producing the error, that will help with debugging.

from facer.

delray avatar delray commented on July 4, 2024

sure, I was using these two...also included the .csl files in case that is helpful. thanks so much!

3994169c8d6bbf39265d1618b1c7f60f
3994169c8d6bbf39265d1618b1c7f60f_landmarks_0.csv
20231222111228-6585b9ff46236751c52f3251jpeg
20231222111228-6585b9ff46236751c52f3251jpeg_landmarks_0.csv

from facer.

delray avatar delray commented on July 4, 2024

Any ideas on why i might be getting that error?

from facer.

johnwmillr avatar johnwmillr commented on July 4, 2024

Hi there, I'm just now getting a chance to take a look. I took screenshots of the two images you provided and ran facer on them without issue.

image

The fact that a screenshot worked for me potentially suggests that it's the format your image is saved in, rather than the specific content of the image (i.e. the arrangement of the face) that is causing problems.

It also looks like the landmarks you provided are correctly identifying the face. You could try updating to a newer version of Open CV and dlib. I'm not sure what else to suggest given that I can't reproduce your error.

image

from facer.

Related Issues (9)

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.