Batch Background Removal - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: Batch Background Removal (/Thread-Batch-Background-Removal) Pages:
1
2
|
RE: Batch Background Removal - Terry50 - 04-23-2019 (04-18-2019, 08:10 PM)Ofnuts Wrote: Removing a background is still a relatively labor-intensive process in the general case. You can automate it quite a bit if you take the photographs with that in mind: good lighting, contrasting and uniform background as a minimum. But in the pictures above, even a human has trouble distinguishing the mannequin from the background. Hi Ofnuts, I want to submit a question; but I can't find any submit new question button. I know this is cheating by contacting you here off the subject - but what else could I do? RE: Batch Background Removal - ct197475 - 04-23-2019 Hi Ofnots, Thanks for your help but I feel I am far away from getting this done without your coding help. I am unable to translate all what is obvious for you pythonwise :-) > I cannot find simple ways to export in png the file > for some reason the script does not appear in the console Could you please correct this code, knowing that the purpose is to deal with 400 photos and I would like their name to be the same in another file. PS: my business is very small so I need to use to the max GNU solutions and their generous community; Thanks again, Chris Code: #!/usr/bin/env python RE: Batch Background Removal - Ofnuts - 04-23-2019 (04-23-2019, 06:17 AM)Terry50 Wrote: I want to submit a question; but I can't find any submit new question button. I know this is cheating by contacting you here off the subject - but what else could I do? In a Forum page (here your are in a thread, not a forum), there is a big Post thread button. RE: Batch Background Removal - Ofnuts - 04-23-2019 (04-23-2019, 09:10 AM)ct197475 Wrote: PS: my business is very small so I need to use to the max GNU solutions and their generous community; You are mistaking me for a free script writing service. I write scripts if:
The Open Source movement works based on mutual benefit. A "generous community" doesn't mean that they do the work and you get the money. RE: Batch Background Removal - ct197475 - 04-23-2019 Code: gimp -idf --batch-interpreter python-fu-eval -b "import sys;sys.path=['.']+sys.path;import batch;batch.eraseBackground('C:/Users/chris/Desktop/CHRIS/MABONNEAMIE/Site/Catalogue/00 Images Produits/00 Images Shooting Originale png')" -b "pdb.gimp_quit(1) Apprently this piece of code returns an error too but I just changed the name of the script; would you have also any clue? Thanks a lot, Chris |