Re: face detection problem
- From: Sven Utcke <sven utcke gmx de>
- To: f-spot-list gnome org
- Subject: Re: face detection problem
- Date: Tue, 5 Apr 2011 11:12:43 +0200
Hello Philip,
> > That doesn't make much sense, does it? The very least you could
> > do is to tell people to provide an argument and/or set a standard
> > argument if you find out that sys.argv[1] and sys.argv[2] do not
> > exist (never mind that there are better ways to handle that than
> > with a try/except).
> The try except block is needed for the case, if no image file was
> given to the main method.
You could use len(sys.argv) to figure out how many arguments were
given.
> The default values are given in the file, too.
Ok, didn't see that (it seems I missed the original mail, this
sometimes seems to happen, no idea why --- maybe a problem with gmx?)
> There's no try except block around the method causing the error. It
> looks like OpenCV catches an exception and does not provide any
> information on that.
Strange. Never saw that happen for me.
> Thanks for the hint to your library, I've already seen it. The
> interesting aspect Ali's approaches have is the integration into
> F-Spot. It would be great if something like this could be
> integrated.
Ok. As I said, I missed the original mail and just saw the patches to
a python-script --- how does the integration to F-Spot works?
Thanks
Sven
--
.xxxx. FACE-Tools |||||
|(o)(o)| http://www.svenutcke.de/sw/Face/ {. @ @ .}
( (__) ) | o |
| __ | Face detection and recognition \_U_/
\__/ for photo-managers like F-Spot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]