Re: [opensuse] Do we have software to scan a video and find changes in a still scene?
Or one can get a cheap CCTV DVR and set the record type to "Motion detect", which only records if there is a change from one frame to another. Maybe "significant change" depending upon the sensitivity. Point 1: "on topic" because most cheap DVRs use linux Point 2: I didn't say it was a good idea, just one option. Point 3: Yes, there are ways in software to do what you want. Converting a video to individual jpg and comparing them is one way, Finding an open source (https://www.mythtv.org/ is one) DVR program is another. Good luck Fred -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-14 16:41, Stevens wrote:
Or one can get a cheap CCTV DVR and set the record type to "Motion detect", which only records if there is a change from one frame to another. Maybe "significant change" depending upon the sensitivity.
Yes, but that is not the case. The movie was already made with a normal camera, and I would like to analyze it.
Point 3: Yes, there are ways in software to do what you want. Converting a video to individual jpg and comparing them is one way, Finding an open source (https://www.mythtv.org/ is one) DVR program is another.
And what can I use to compare thousands of individual photos automatically? I can't imagine mythtv doing that. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-08-14 16:41, Stevens wrote:
Or one can get a cheap CCTV DVR and set the record type to "Motion detect", which only records if there is a change from one frame to another. Maybe "significant change" depending upon the sensitivity.
Yes, but that is not the case. The movie was already made with a normal camera, and I would like to analyze it.
Point 3: Yes, there are ways in software to do what you want. Converting a video to individual jpg and comparing them is one way, Finding an open source (https://www.mythtv.org/ is one) DVR program is another.
And what can I use to compare thousands of individual photos automatically? I can't imagine mythtv doing that.
No, I doubt that very much :-) imagemagick will help you "subtract" two jpegs and evaluate the result. compare -compose difference 1.jpeg 2.jpeg diff.jpeg I imagine two jpegs that are almost the same will result in one black jpeg, but I don't know how to test that (other than taking the jpeg part programmatically). -- Per Jessen, Zürich (19.0°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-15 08:13, Per Jessen wrote:
Carlos E. R. wrote:
And what can I use to compare thousands of individual photos automatically? I can't imagine mythtv doing that.
No, I doubt that very much :-)
imagemagick will help you "subtract" two jpegs and evaluate the result.
compare -compose difference 1.jpeg 2.jpeg diff.jpeg
Mmm.
I imagine two jpegs that are almost the same will result in one black jpeg, but I don't know how to test that (other than taking the jpeg part programmatically).
Well, yes, that's the problem, I can't visually test 45*60*15 images ;-) And the difference, if it exists, would be minimal. The video is all black, and hopefully a shooting star would be a white dot moving fast. Or rather more probably, nothing at all, 45 minutes of pure black. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-08-15 08:13, Per Jessen wrote:
Carlos E. R. wrote:
And what can I use to compare thousands of individual photos automatically? I can't imagine mythtv doing that.
No, I doubt that very much :-)
imagemagick will help you "subtract" two jpegs and evaluate the result.
compare -compose difference 1.jpeg 2.jpeg diff.jpeg
Mmm.
I imagine two jpegs that are almost the same will result in one black jpeg, but I don't know how to test that (other than taking the jpeg part programmatically).
Well, yes, that's the problem, I can't visually test 45*60*15 images ;-)
It's only 40500, you can surely do that before Christmas? :-)
And the difference, if it exists, would be minimal. The video is all black, and hopefully a shooting star would be a white dot moving fast. Or rather more probably, nothing at all, 45 minutes of pure black.
How about this - split your video into jpegs, then start with #1 and compare with #2,3,4,5,6,7.... until you see a difference? -- Per Jessen, Zürich (25.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-15 14:29, Per Jessen wrote:
Well, yes, that's the problem, I can't visually test 45*60*15 images ;-)
It's only 40500, you can surely do that before Christmas? :-)
LOL.
And the difference, if it exists, would be minimal. The video is all black, and hopefully a shooting star would be a white dot moving fast. Or rather more probably, nothing at all, 45 minutes of pure black.
How about this -
split your video into jpegs, then start with #1 and compare with #2,3,4,5,6,7.... until you see a difference?
Yes, but the same problem remains: how does it tell that there is a difference, without me "seeing" 40500 compares? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-08-15 14:29, Per Jessen wrote:
Well, yes, that's the problem, I can't visually test 45*60*15 images ;-)
It's only 40500, you can surely do that before Christmas? :-)
LOL.
And the difference, if it exists, would be minimal. The video is all black, and hopefully a shooting star would be a white dot moving fast. Or rather more probably, nothing at all, 45 minutes of pure black.
How about this -
split your video into jpegs, then start with #1 and compare with #2,3,4,5,6,7.... until you see a difference?
Yes, but the same problem remains: how does it tell that there is a difference, without me "seeing" 40500 compares?
imagemagick::compare has an option "-metric" for specifying how you want to measure the difference. You get a number, which you can compare with. -- Per Jessen, Zürich (26.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-15 15:24, Per Jessen wrote:
Yes, but the same problem remains: how does it tell that there is a difference, without me "seeing" 40500 compares?
imagemagick::compare has an option "-metric" for specifying how you want to measure the difference. You get a number, which you can compare with.
Ah! I see. Mmm... -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (3)
-
Carlos E. R.
-
Per Jessen
-
Stevens