locked
Capture Webcam Image/Upload and change background to specific color RRS feed

  • Question

  • User1142539828 posted

    Hi, 

     I have requirement where image of person should be captured through webcam and background should be white only . and if image is uploaded then check weather background is white or change the color to white . Please suggest me some solution how to proceed future.

    Thursday, March 6, 2014 9:16 AM

All replies

  • User-933407369 posted

    hi,

    without any codes, i don't provide a specific solution ,i would suggest you check out the links for deatils:

    How to change specific image by upload it from the asp.net page

    http://www.codeproject.com/KB/aspnet/fileupload.aspx

    http://www.daniweb.com/forums/thread121652.html#

    WebCamImageSave: Capture Still Images Periodically From Webcam

    http://www.addictivetips.com/windows-tips/webcamimagesave-capture-still-images-periodically-from-webcam/

    http://forums.asp.net/t/1557131.aspx

    Hope it helps you.

    Thursday, March 6, 2014 10:11 PM
  • User1142539828 posted

    Hi ,

     i what ever you have suggest is good my requiremnt is bit changed ,i.e i need to change background color or object to white in given image.

    Friday, March 7, 2014 5:56 AM
  • User-933407369 posted

    Could you provide any additional code or markup related to this issue? It may be a bit easier to resolve if it can be easily reproduced.

    if you layout the Image into a div tag or other control, you maybe try setting the background color of div tag or other control.

    Thank you for your understanding.

    Sunday, March 9, 2014 9:53 PM
  • User465171450 posted

    The problem is, what is the background color? Something taken from a webcam is bound to be much more complex such than just a single color behind someone. You would have to identify the person, their outline, and then alter the color of everything around them. I don't think this is something you will find very easy to do, and I don't know of software that comes off the shelf for detecting a person's outline and identifying their edge so you can trim around them. This is seriously difficult and advanced stuff.

    Tuesday, April 8, 2014 12:48 AM