I have a requirement to capture an image from a webcam and I came up with a few solutions myself too. but there are a few conditions in the way I achieve this result. They are:
- I cannot use HTML5 (compatibility issues with most browsers).
- I tried using an external swf file. It works but I cant use it to integrate with the current project because I will have to decompile and compile the swf every time I want to make a modification (Not something I prefer). So i cant use swf.
- Cant use silverlight.
- Basically I would like this to be possible using HTML,javascript and c#.
I tried a few solutions from codeproject and other websites, none I came across satisfies my conditions.Does anyone have any idea what to do ??
This is not possible to do using a browser with HTML 4 and/or javascript. All browsers run in a restricted space known as the sandbox.
In computer security, a sandbox is a security mechanism for separating running programs. It is often used to execute untested code, or untrusted programs from unverified third-parties, suppliers, untrusted users and untrusted websites.
The only way you could capture something from a web cam would be to have client software running that connects to the camera, grabs a still, and then uploads the image to a web site, web service, or web api.
I have a requirement to capture an image from a webcam and I came up with a few solutions myself too. but there are a few conditions in the way I achieve this result. They are:
- I cannot use HTML5 (compatibility issues with most browsers).
- I tried using an external swf file. It works but I cant use it to integrate with the current project because I will have to decompile and compile the swf every time I want to make a modification (Not something I prefer). So i cant use swf.
- Cant use silverlight.
- Basically I would like this to be possible using HTML,javascript and c#.
I tried a few solutions from codeproject and other websites, none I came across satisfies my conditions.Does anyone have any idea what to do ??
This is not possible to do using a browser with HTML 4 and/or javascript. All browsers run in a restricted space known as the sandbox.
In computer security, a sandbox is a security mechanism for separating running programs. It is often used to execute untested code, or untrusted programs from unverified third-parties, suppliers, untrusted users and untrusted websites.
The only way you could capture something from a web cam would be to have client software running that connects to the camera, grabs a still, and then uploads the image to a web site, web service, or web api.
0 commentaires:
Enregistrer un commentaire