Search found 37 matches

by vpmammana
2016-01-02T15:38:19-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

ok... I got it.

It is working, man! I am pretty much there... I will share what I got here later...
by vpmammana
2016-01-02T14:06:26-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

Ok! thank you for your patience!

Actually I also want the *.png output.
by vpmammana
2016-01-02T13:29:09-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

Ok... I will check that. Now I am facing another issue: When I do the following in PHP, $compara is null: $compara=shell_exec("compare -fuzz 5% -metric AE /home/".$key."/".$dir[$key]."/".$average." ".$imagem_atual." s_".$key."_".date("Y_m_d-H_i_s").".png"); How could I get the average value that is ...
by vpmammana
2016-01-02T08:57:00-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

You are right. I understand perfectly that. However, JPG is the way these D-Link cameras save their images. So I need to find some way to deal with the information I have within the jpg format. Right now I am using the -fuzz filter. I wonder if there could be something better? Moreover, now I am fac...
by vpmammana
2015-12-29T20:50:00-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

A quick test I just did: If I add -fuzz 8% to compare, as follows: compare -fuzz 5% -metric AE r1.png r2.png s1.png the result is that I get "zero" as a numerical indication of how close the images are (the images are almost identical). But this seems a bit artificial for me... Isn't there a way to ...
by vpmammana
2015-12-29T20:19:22-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

Note that you previously suggested to substitute "compare" by "convert -compose difference" convert r1.png r2.png -compose difference -composite s1.png But in this case, I am not able to use -metric AE, which is important for me. If I include -metric to the convert command, it doesn't show the numer...
by vpmammana
2015-12-29T20:10:55-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

I am still facing issues related to the "lossy" characteristic of "jpg" images. I had two original jpg files: r1.jpg and r2.jpg. I converted those to png using the following command: convert r1.jpg r1.png convert r2.jpg r2.png This is the r1.png file I got: [img] http://i1039.photobucket.com/albums/...
by vpmammana
2015-12-29T15:56:21-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

Not very easy to find documentation on -evaluate-sequence.

I tried -list evaluate, but it gives only a list of reserved words, with no explanation.
by vpmammana
2015-12-29T15:35:42-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

Ok...

I will not use -average.

Regarding the jpg/png issue, my camera generates jpg. Converting jpg to png would be enough? Is IM capable of doing this conversion?
by vpmammana
2015-12-29T08:03:24-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

Funny... I am testing IM with regard to averaging images. I did the following: convert origin.jpg -verbose -average media.jpg compare -metric AE media.jpg origin.jpg teste.jpg I got a very large number as a result for the comparison: 41965 It makes no sense, right? The file teste.jpg also shows a lo...
by vpmammana
2015-12-26T19:38:51-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

In order to test that I need to discover how to trigger a ftp upload from the camera using PHP. If I set the camera to upload periodicaly, my WIFI will be jammed. I need to combine motion triggered upload with a few periodical uploads, triggered by my server. D-Link cameras have no documentation on ...
by vpmammana
2015-12-26T19:09:26-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

I am considering to use something like:

Code: Select all

convert image1.jpg image2.jpg image3.jpg image4.jpg image5.jpg image6.jpg  -average media.jpg
convert current.jpg media.jpg -compose difference -composite -threshold XX% result

by vpmammana
2015-12-26T15:59:32-07:00
Forum: Users
Topic: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day
Replies: 55
Views: 24547

Re: Using ImageMagick to identify a person walking over grass for a fixed camera in a sunny day

I finally tried the technique you proposed, that is, using connected components to separate the different features. It works, but there is something I forgot to tell you: I have a streaming of images. The camera is already set for detecting movement, and it keeps sending images to the server for eac...
by vpmammana
2015-12-26T15:53:08-07:00
Forum: Users
Topic: What is the difference between +ift/+fft and -ift/-fft
Replies: 1
Views: 2698

What is the difference between +ift/+fft and -ift/-fft

I was reading the nice tutorial of Fred Weinhaus on Fourier Transforms:

www.imagemagick.org/Usage/fourier/#fourier_transform

It is very clear, but I didn't catch was what is the difference between +ift/+fft and -fft/-ift.

Thanks!