-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Ali! Am 02.04.2011 17:55, schrieb Ali Servet Donmez: > I attached a simple test python function > which should do the job. Thanks for the example script. I checked it, but unfortunately, it does not work with my photos I tested. I added a bit of debugging and attached a patch file for this file. Maybe you can check, what's wrong with it? Error message is > terminate called after throwing an instance of 'int' > Abgebrochen and occurs in the line after "Problem starts here" is printed. Greetings, Philip -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2YMPsACgkQYNYFUFLXAD2RoQCfcYts73zeh0Q9/XKY/O3FwYDd oA4AnjNIeyVGW688kbrXWmIXwllIklW4 =fW2F -----END PGP SIGNATURE-----
25a26 > print("Problems start here") 27a29 > print("Problem solved") 75,77c77,87 < img_name = sys.argv[1] < output = sys.argv[2] < image = cvLoadImage(sys.argv[1]); --- > try: > img_name = sys.argv[1] > except: > pass > try: > output = sys.argv[2] > except: > pass > print("Starting cvLoadImage...") > image = cvLoadImage(sys.argv[1]) > print("Image loaded, starting detection...") 78a89 > print("Detection done...")
Attachment:
face_detect.patch.sig
Description: Binary data