Re: Transparent label over live video stream
From: Rodrigo S. Novelli (rsnovelli_at_gmx.net)
Date: 06/19/04
- Previous message: Sahil Malik: "Re: Transparent label over live video stream"
- In reply to: Sahil Malik: "Re: Transparent label over live video stream"
- Next in thread: Matt Budd: "Re: Transparent label over live video stream"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 19 Jun 2004 12:49:42 -0300
Yes, I can, but as I sad before, if I do this then I will have to set the
Image property of the PictureBox for each frame I capture. This works,
because I tried it with a Panel instead of a PictureBox, but I think it's a
too much expensive task. I'm looking for a better solution.
Anyway, thanks for your reply.
Best Regards,
Rodrigo.
"Sahil Malik" <nospam@ms.com> wrote in message
news:uoMcFPhVEHA.1952@TK2MSFTNGP12.phx.gbl...
> Can you use a picturebox instead? And Picturebox.image = your webcam
image?
>
> If that is acceptable, then you can add the label to the picturebox
> programatically (won't let you add from designer), and set it's bgcolor to
> transparent.
>
> - Sahil Malik
> Independent Consultant
> You can reach me thru my blog at -
> http://www.dotnetjunkies.com/weblog/sahilmalik/
>
>
>
> "Rodrigo S. Novelli" <rsnovelli@gmx.net> wrote in message
> news:uKyOjugVEHA.2988@TK2MSFTNGP10.phx.gbl...
> >
> > Hello All,
> >
> > I'm working in a software that captures live video from an ordinary
> webcam.
> > This software has a form with a panel which is the preview window. In
this
> > panel is show a preview of what is being captured from the webcam. I
wish
> to
> > put a label inside this panel, but this label should be transparent, so
I
> > can show its text with the video behind it. If I set the BackColor of
the
> > label to Transparent it doesn't work because it will render the parent's
> > color, it is, the panel BackColor, not the video being captured.
> >
> > I have tried to set the panel BackgroundImage property to the current
> frame
> > being captured and this way it worked, but I didn't like this solutions
> > because I have to set the BackgroundImage property for each captured
> frame,
> > and this decreases the application performance.
> >
> > Does anyone has some ideia or tip or knows some component or control
that
> > does something like I want?
> > Any help or tip is welcome,
> >
> > PS: I'am using the C# programming language with the 1.1 framework. To
> > capture video I'm using DirectShow throught COM Interop.
> >
> > Best Regards,
> >
> > Rodrigo S. Novelli
> > rsnovelli@gmx.net
> >
> >
>
>
- Previous message: Sahil Malik: "Re: Transparent label over live video stream"
- In reply to: Sahil Malik: "Re: Transparent label over live video stream"
- Next in thread: Matt Budd: "Re: Transparent label over live video stream"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|