My Requirement is I need to scan the barcode from my mobile browser HTML5 app. I need to scan the code from the captured screen which is captured by camera via scanning.
How can I capture an image in my HTML5 application?
You can use the accept attribute of a file type input like this:
<input type="file" accept="image/*;capture=camera">
Here is more information on capturing media using your mobile device: http://www.html5rocks.com/en/tutorials/getusermedia/intro/
You would then need to create a webservice to consume the input and return any relevant information