Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, March 21, 2012 5:04:01 PM(UTC)


Groups: Registered
Posts: 13

I use LTMM 17.5 Capture sample(.Net).

When I use LTMM 16, I just use like below.
Dim nIndex As Integer
Dim cropsize As LMVCrop

nIndex = AxltmmCaptureCtrl1.VideoProcessors.Find("UNIQUE CODE")
AxltmmCaptureCtrl1.SelectedVideoProcessors.Add(AxltmmCaptureCtrl1.VideoProcessors.Item(nIndex), 0)

cropsize = AxltmmCaptureCtrl1.GetSubObject(ltmmPlay_Object_SelVideoProcessor)
cropsize.Enabled = True
I tried to do like above, but I cannot.

I think I should use different method.
I want to know, how to use video processor more details.

If you can, please give me some sample code or suggest the section of help. (I already read LEADTOOLS filters Help -> Video filters ..)
(I just want to use video filter using one button, not like sample.(popup dialog -> select filter ->...)

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, March 22, 2012 6:32:17 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

If you are using LEADTOOLS Multimedia v17.5 .Net DLLs, you can select a video processor programmatically by using the following code:
Private Crop As New LMVCropLib.LMVCrop
CaptureCtrl1.VideoDevices.Selection = 0
CaptureCtrl1.Preview = False      


Crop = CaptureCtrl1.GetSubObject(Leadtools.Multimedia.CaptureObject.SelVideoProcessor)
Crop.Left = 10
Crop.Right = 10
Crop.Right = 500
Crop.Bottom = 500
Crop.Enabled = True

CaptureCtrl1.Preview = True

Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.043 seconds.