your first problem is
How to use OpenCV in C#[
^] - I could only find half a million links
After that, it's a question of architecture ... do you want to burden the WepApp with that overhead or pass it on to another service/component
I'd suggest you examine the first point, and write some prototype code before you attempt the second