I need application written in C++/C# that will find commercials in certain video material. I was thinking to cut first frame from commercial as well as the last one. In that way I could create app, using OpenCV, that will load a video (TV content) and then it will search for the first frame catted from commercials. If it finds it (with probability more than SOME_PARAMETER) than app can conclude that that commercials starts there. Then I would like to search for the last frame and if it's found (again with probability more than SOME_PARAMETER) than the app can conclude that wanted commercial really exists in given video. I am expert in C++/C# but totally newbie with OpenCV. Of course I am open to any suggestions regarding idea. Thanks.
P.S. Disregard the budget. We can negotiate about price. That would depend of your solution, application optimization, execution time, parallel processing, multithreading, etc.