GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f321d35
)
Dewrap
author
Harvie
<tomas@mudrunka.cz>
Fri, 3 Aug 2012 19:25:03 +0000
(21:25 +0200)
committer
Harvie
<tomas@mudrunka.cz>
Fri, 3 Aug 2012 19:25:03 +0000
(21:25 +0200)
perl/facedetect.pl
patch
|
blob
|
blame
|
history
diff --git
a/perl/facedetect.pl
b/perl/facedetect.pl
index 8139f6eb8e784e8ea6ecb9a6a0adbdd00e57cb2b..ca0cc8895e5fc3a78ad7bf625bf0ec1b41b10208 100755
(executable)
--- a/
perl/facedetect.pl
+++ b/
perl/facedetect.pl
@@
-32,8
+32,7
@@
foreach(@cascades) {
for my $face (@faces) {
my $file2 = 'paroubek.jpg';
my $image2 = Imager->new->read(file => $file2);
- $image2 = $image2->scale(xpixels => $face->{width}, ypixels => $face->
-{height});
+ $image2 = $image2->scale(xpixels => $face->{width}, ypixels => $face->{height});
$image->paste(left => $face->{x}, top => $face->{y}, src => $image2);
}
This page took
0.120815 seconds
and
4
git commands to generate.