Log in

View Full Version : Comparing 2 picrtures/frams from tv capture


alon24
8th September 2007, 14:57
Hi,

I use SageTv, and want to overcome parental control.
In the sat box, after a certain hour you need to insert a code, so that the picture will come on.

For that we devised a brilliant strategy, we need to take 2 snapshots, 5 seconds apart, compare them, and if they are the same, enter the code.

Taking the snapshots is handled, the question is, how do i compare 2 frames, comming from an analouge source.

Is there a library to do this?
The problem is because its from an analoug source, so it can shift slightly.

Any help would be appreciated.

DonQ
9th September 2007, 15:19
Something alike:

1. remove noise and soften both frames
2. motion compensate one frame into another
3. use some frame comparison tool to calculate difference

There are alot threads about noise reduction algorithms, where frame comparison tools (scripts?) are mentioned too.

alon24
9th September 2007, 15:23
can u be more specific, I am a newbe at these issues