Git Product home page Git Product logo

Comments (5)

alyssaq avatar alyssaq commented on August 19, 2024

Hi. I cant reproduce the error. Are all the modules in requirements.txt installed?
If the images are present with a face, the command should work:
python facemorpher/morpher.py --src=index.jpg --dest=index3.jpg

from face_morpher.

DylanMaeng avatar DylanMaeng commented on August 19, 2024

Hi ,i am trying to
python face_morpher/averager.py --src=16.jpg --dest=ted_cruz.jpg --out=a.png
but,the result i received:
Usage:
averager.py --images=<images_folder> [--blur] [--plot]
[--background=(black|transparent|average)]
[--width=] [--height=]
[--out=] [--destimg=]
Options:
-h, --help Show this screen.
--images= Folder to images (.jpg, .jpeg, .png)
--blur Flag to blur edges of image [default: False]
--width= Custom width of the images/video [default: 500]
--height= Custom height of the images/video [default: 600]
--out= Filename to save the average face [default: result.png]
--destimg= Destination face image to overlay average face
--plot Flag to display the average face [default: False]
--background= Background of image to be one of (black|transparent|average) [default: black]
--version Show version.
there isn't a picture!
Thanks in advance

from face_morpher.

alyssaq avatar alyssaq commented on August 19, 2024

@SagerMaeng averager.py expects a folder of images. There is nothing to do with one image. You pass the full path of the folder: --images=<images_folder>

from face_morpher.

DylanMaeng avatar DylanMaeng commented on August 19, 2024

oh,no ,i admitted that i was wrong ,but i corrected it ,the problem is the same.

from face_morpher.

alyssaq avatar alyssaq commented on August 19, 2024

Remove all the flags and only use --images.
E.g python facemorpher/averager.py --images=images
If theres are face images, it will createresult.png

from face_morpher.

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.