Code Monkey home page Code Monkey logo

Comments (7)

boltgolt avatar boltgolt commented on August 24, 2024 2

It would've worked if i didn't add other changes as well. You can just revert to the default compare.py and remove the line that reads frame = frame[:, :, ::-1].

from howdy.

boltgolt avatar boltgolt commented on August 24, 2024

It looks like the underlying library is having some trouble, might be an outdated version. Could you post what pip3 show face_recognition outputs?

from howdy.

Jerezano avatar Jerezano commented on August 24, 2024

from howdy.

boltgolt avatar boltgolt commented on August 24, 2024

Strange, i can't find anything about that error anywhere either. It does look like you're using an older version of howdy but that shoudn't really matter.

Could you try commenting out the

frame = frame[:, :, ::-1]

line in /lib/security/howdy/compare.py?

from howdy.

Jerezano avatar Jerezano commented on August 24, 2024

from howdy.

boltgolt avatar boltgolt commented on August 24, 2024

It's possible that some files have been left behind or just not updated, but if everything works there's no real issue.

I'll remove the BGR to RGB conversion line in the next release as we're only dealing with black and white frames here.

from howdy.

vigneshnin avatar vigneshnin commented on August 24, 2024

I just replaced the compare.py in my /lib/security/howdy/ with the compare.py in src in the dev branch. I am new to this so i don't know if thats what should be done.

It retured the following error.

Traceback (most recent call last):
File "/usr/lib/python3.6/configparser.py", line 789, in get
value = d[option]
File "/usr/lib/python3.6/collections/init.py", line 883, in getitem
return self.missing(key) # support subclasses that define missing
File "/usr/lib/python3.6/collections/init.py", line 875, in missing
raise KeyError(key)
KeyError: 'force_mjpeg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/lib/security/howdy/compare.py", line 64, in
if config.get("debug", "force_mjpeg") == "true":
File "/usr/lib/python3.6/configparser.py", line 792, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'force_mjpeg' in section: 'debug'
Unknown error: 1

This happened when i ran sudo -i

from howdy.

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.