Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
Forum membership is Free! Click
Join
to sign-up
Username:
Password:
Save Password
Forgot your Password?
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
Draw Rectangle over the video show in imagenenview
New Topic
Reply to Topic
Author
Topic
hamed1234
5 Posts
Posted - Aug 29 2020 : 07:02:55
Hi,
Can I Draw rectangle/rectangles over the Imageenview when it showing a video or connected to a camera?
I want to detect some area and draw rectangle(s) whit color borders.
xequte
38616 Posts
Posted - Aug 30 2020 : 17:24:03
Hi
Yes, you can either draw to the canvas after the video content has been assigned to it, or you add a shape layer and move it as required.
Please take a look at how it is done in the demo:
\Demo\IEVision\TrackObjects\TrackObjects.dpr
Nigel
Xequte Software
www.imageen.com
hamed1234
5 Posts
Posted - Sep 03 2020 : 07:27:05
Thank you xequte,
I tried to use canvas but It did not work . I use this in button event :
ImageEnView1.BackBuffer.Canvas.Pen.Width := 1;
ImageEnView1.BackBuffer.Canvas.Pen.Color := clRed;
ImageEnView1.BackBuffer.Canvas.Pen.Style := psSolid;
ImageEnView1.BackBuffer.Canvas.MoveTo(10, 10);
ImageEnView1.BackBuffer.Canvas.LineTo(100, 100);
ImageEnView1.Update;
Can you please tell me my mistake?
xequte
38616 Posts
Posted - Sep 04 2020 : 18:38:59
Hi
The back buffer is likely cleared by the video frame. Did you look at the code in the TrackObjects.dpr demo?
Nigel
Xequte Software
www.imageen.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page