Delphi-OpenCV/samples/Components/cCameraCapture/uMainForm.dfm
Mikhail Grigorev 3a685b135f Update OpenCV Component
Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>
2014-05-20 10:02:43 +06:00

141 lines
2.9 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 = 358
Width = 300
Height = 300
VideoSource = ocvmgprtn1
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 = 'TocvMotionDetect'
Operation.OperationClassName = 'TocvThresholdOperation'
Operation.RemoveSmallObject = True
Operation.MinObjectSize = 100
Operation.Threshold.MaxValue = 255.000000000000000000
Operation.Threshold.Threshold = 25.000000000000000000
Operation.DrawMotionRect.Thickness = 1
Operation.DrawMotionRect.Offset.X = 0
Operation.DrawMotionRect.Offset.Y = 0
Operation.NotifyOnlyWhenFound = False
Operations = <>
OperationsEnabled = False
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 = r960x544
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