mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-16 00:05:52 +01:00
43ef9d7560
[*] Event Signed-off-by: Laentir Valetov <laex@bk.ru>
157 lines
3.4 KiB
Plaintext
157 lines
3.4 KiB
Plaintext
object MainForm: TMainForm
|
|
Left = 0
|
|
Top = 0
|
|
BorderIcons = [biSystemMenu, biMinimize]
|
|
BorderStyle = bsSingle
|
|
Caption = 'OpenCV - Component demo'
|
|
ClientHeight = 669
|
|
ClientWidth = 624
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
Position = poScreenCenter
|
|
OnCreate = FormCreate
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object lbl1: TLabel
|
|
Left = 8
|
|
Top = 338
|
|
Width = 79
|
|
Height = 13
|
|
Caption = 'Image operation'
|
|
end
|
|
object cbb1: TComboBox
|
|
Left = 93
|
|
Top = 335
|
|
Width = 145
|
|
Height = 21
|
|
Style = csDropDownList
|
|
TabOrder = 0
|
|
OnChange = cbb1Change
|
|
Items.Strings = (
|
|
'None'
|
|
'Convert to grayscale'
|
|
'Canny'
|
|
'Smooth'
|
|
'Erode'
|
|
'Dilate'
|
|
'Laplace'
|
|
'Sobel'
|
|
'Threshold')
|
|
end
|
|
object chk1: TCheckBox
|
|
Left = 8
|
|
Top = 5
|
|
Width = 117
|
|
Height = 17
|
|
Caption = 'Camera enabled'
|
|
Checked = True
|
|
State = cbChecked
|
|
TabOrder = 1
|
|
OnClick = chk1Click
|
|
end
|
|
object ocvw1: TocvView
|
|
Left = 8
|
|
Top = 28
|
|
Width = 300
|
|
Height = 300
|
|
VideoSource = ocvcmrsrc1
|
|
end
|
|
object ocvw2: TocvView
|
|
Left = 8
|
|
Top = 361
|
|
Width = 300
|
|
Height = 300
|
|
VideoSource = ocvmgprtn1
|
|
Center = True
|
|
end
|
|
object ocvw3: TocvView
|
|
Left = 316
|
|
Top = 358
|
|
Width = 300
|
|
Height = 300
|
|
VideoSource = ocvflsrc1
|
|
end
|
|
object ocvw4: TocvView
|
|
Left = 316
|
|
Top = 28
|
|
Width = 300
|
|
Height = 300
|
|
VideoSource = ocvpcmsrc1
|
|
end
|
|
object chk2: TCheckBox
|
|
Left = 314
|
|
Top = 5
|
|
Width = 129
|
|
Height = 17
|
|
Caption = 'IP Camera enabled'
|
|
TabOrder = 6
|
|
OnClick = chk2Click
|
|
end
|
|
object chk3: TCheckBox
|
|
Left = 314
|
|
Top = 338
|
|
Width = 187
|
|
Height = 17
|
|
Caption = 'File source'
|
|
TabOrder = 7
|
|
OnClick = chk3Click
|
|
end
|
|
object ocvmgprtn1: TocvImageOperation
|
|
VideoSource = ocvcmrsrc1
|
|
OperationClassName = 'TocvNoneOperation'
|
|
Operations = <
|
|
item
|
|
OperationClassName = 'TocvHaarCascade'
|
|
Operation.Equalize = True
|
|
Operation.Scale = 1.300000000000000000
|
|
Operation.MinNeighbors = 3
|
|
Operation.MinSize.X = 30
|
|
Operation.MinSize.Y = 30
|
|
Operation.MaxSize.X = 0
|
|
Operation.MaxSize.Y = 0
|
|
Operation.DrawHaarCascade.Enabled = False
|
|
Operation.DrawHaarCascade.Thickness = 1
|
|
Operation.DrawHaarCascade.Offset.X = 0
|
|
Operation.DrawHaarCascade.Offset.Y = 0
|
|
Operation.NotifyOnlyWhenFound = False
|
|
end
|
|
item
|
|
OperationClassName = 'TovcCropOperation'
|
|
Operation.CropRect.Left = 0
|
|
Operation.CropRect.Top = 0
|
|
Operation.CropRect.Bottom = 0
|
|
Operation.CropRect.Right = 0
|
|
Operation.CropRect.Width = 0
|
|
Operation.CropRect.Height = 0
|
|
end>
|
|
OnAfterEachOperation = ocvmgprtn1AfterEachOperation
|
|
Left = 36
|
|
Top = 392
|
|
end
|
|
object ocvflsrc1: TocvFileSource
|
|
Delay = 120
|
|
FileName = '..\..\resource\media\768x576.avi'
|
|
Left = 340
|
|
Top = 380
|
|
end
|
|
object ocvcmrsrc1: TocvCameraSource
|
|
Enabled = True
|
|
Resolution = r320x240
|
|
Left = 32
|
|
Top = 40
|
|
end
|
|
object ocvpcmsrc1: TocvIPCamSource
|
|
UserName = 'admin'
|
|
Password = 'admin'
|
|
IP = '10.1.1.202'
|
|
Postfix = 'cam/realmonitor?channel=1&subtype=0'
|
|
Left = 336
|
|
Top = 44
|
|
end
|
|
end
|