0

In my C# win form, I capture the live bitmap image from direct show and save as JPEG format. The original image consists of an overlay white-colour arrow sign with black rectangle box. Is there a way I can remove overlay image Or Can I chop out the rectangle area only from its original image. The following is my sample photo.

enter image description here

Update

using TouchlessLib;
using System.Drawing.Imaging;

TouchlessMgr manager;
Camera choosenCam;


   //Giving the feed of the camera to the picturebox

   void CurrentCamera_OnImageCaptured(object sender, CameraEventArgs e)
    {

        picFeed.Image = manager.CurrentCamera.GetCurrentImage();
    }


   // Save picturebox image in location 
  Bitmap b = (Bitmap)picFeed.Image;
  picFeed.Image.Save(Paths + imageName + ".jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
Garra San
  • 11
  • 5

0 Answers0