System i am going to implement should have a mechanism to scan an image when an operator clicks on a button. So be kind to publish a sample code to fix this problem so that it will be much more easier to complete my final year project...

Thank you..