2013-09-12 12:50:55 +02:00
|
|
|
object MainForm: TMainForm
|
|
|
|
Left = 0
|
|
|
|
Top = 0
|
|
|
|
BorderIcons = [biSystemMenu, biMinimize]
|
|
|
|
BorderStyle = bsSingle
|
|
|
|
Caption = 'OpenCV - Component demo'
|
2014-05-18 12:36:01 +02:00
|
|
|
ClientHeight = 669
|
|
|
|
ClientWidth = 624
|
2013-09-12 12:50:55 +02:00
|
|
|
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
|
2014-05-11 02:42:34 +02:00
|
|
|
Left = 8
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 338
|
2013-09-12 12:50:55 +02:00
|
|
|
Width = 79
|
|
|
|
Height = 13
|
|
|
|
Caption = 'Image operation'
|
|
|
|
end
|
|
|
|
object cbb1: TComboBox
|
2014-05-11 02:42:34 +02:00
|
|
|
Left = 93
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 335
|
2013-09-12 12:50:55 +02:00
|
|
|
Width = 145
|
|
|
|
Height = 21
|
|
|
|
Style = csDropDownList
|
2014-05-06 21:13:57 +02:00
|
|
|
TabOrder = 0
|
2013-09-12 12:50:55 +02:00
|
|
|
OnChange = cbb1Change
|
|
|
|
Items.Strings = (
|
|
|
|
'None'
|
|
|
|
'Convert to grayscale'
|
|
|
|
'Canny'
|
2014-05-06 21:13:57 +02:00
|
|
|
'Smooth'
|
|
|
|
'Erode'
|
|
|
|
'Dilate'
|
|
|
|
'Laplace'
|
2014-05-07 13:14:32 +02:00
|
|
|
'Sobel'
|
|
|
|
'Threshold')
|
2013-09-12 12:50:55 +02:00
|
|
|
end
|
|
|
|
object chk1: TCheckBox
|
2014-05-11 02:42:34 +02:00
|
|
|
Left = 8
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 5
|
|
|
|
Width = 117
|
2013-09-12 12:50:55 +02:00
|
|
|
Height = 17
|
|
|
|
Caption = 'Camera enabled'
|
2013-12-02 19:39:13 +01:00
|
|
|
Checked = True
|
|
|
|
State = cbChecked
|
2014-05-07 13:14:32 +02:00
|
|
|
TabOrder = 1
|
2013-09-12 12:50:55 +02:00
|
|
|
OnClick = chk1Click
|
|
|
|
end
|
|
|
|
object ocvw1: TocvView
|
2013-12-02 19:39:13 +01:00
|
|
|
Left = 8
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 28
|
|
|
|
Width = 300
|
|
|
|
Height = 300
|
2014-05-11 02:42:34 +02:00
|
|
|
VideoSource = ocvcmrsrc1
|
2013-12-02 19:39:13 +01:00
|
|
|
end
|
|
|
|
object ocvw2: TocvView
|
|
|
|
Left = 8
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 358
|
|
|
|
Width = 300
|
|
|
|
Height = 300
|
2014-02-24 20:18:30 +01:00
|
|
|
VideoSource = ocvmgprtn1
|
2013-09-12 12:50:55 +02:00
|
|
|
end
|
2014-05-11 02:42:34 +02:00
|
|
|
object ocvw3: TocvView
|
|
|
|
Left = 316
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 358
|
|
|
|
Width = 300
|
|
|
|
Height = 300
|
2014-05-11 02:42:34 +02:00
|
|
|
VideoSource = ocvflsrc1
|
|
|
|
end
|
|
|
|
object ocvw4: TocvView
|
|
|
|
Left = 316
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 28
|
|
|
|
Width = 300
|
|
|
|
Height = 300
|
2014-05-11 02:42:34 +02:00
|
|
|
VideoSource = ocvpcmsrc1
|
2013-09-12 12:50:55 +02:00
|
|
|
end
|
2014-05-18 12:36:01 +02:00
|
|
|
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
|
2013-09-12 12:50:55 +02:00
|
|
|
object ocvmgprtn1: TocvImageOperation
|
2014-05-11 02:42:34 +02:00
|
|
|
VideoSource = ocvcmrsrc1
|
2014-05-18 18:19:44 +02:00
|
|
|
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
|
2014-05-18 12:36:01 +02:00
|
|
|
Operation.NotifyOnlyWhenFound = False
|
2014-05-18 13:12:14 +02:00
|
|
|
Operations = <>
|
2014-05-11 02:42:34 +02:00
|
|
|
OperationsEnabled = False
|
2014-05-18 12:36:01 +02:00
|
|
|
Left = 36
|
|
|
|
Top = 392
|
2014-05-11 02:42:34 +02:00
|
|
|
end
|
|
|
|
object ocvflsrc1: TocvFileSource
|
|
|
|
Delay = 120
|
2014-05-20 06:02:43 +02:00
|
|
|
FileName = '..\..\resource\media\768x576.avi'
|
|
|
|
Left = 340
|
|
|
|
Top = 380
|
2014-05-11 02:42:34 +02:00
|
|
|
end
|
|
|
|
object ocvcmrsrc1: TocvCameraSource
|
|
|
|
Enabled = True
|
2014-05-18 12:36:01 +02:00
|
|
|
Resolution = r960x544
|
2014-05-11 02:42:34 +02:00
|
|
|
Left = 32
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 40
|
2014-05-11 02:42:34 +02:00
|
|
|
end
|
|
|
|
object ocvpcmsrc1: TocvIPCamSource
|
|
|
|
UserName = 'admin'
|
|
|
|
Password = 'admin'
|
|
|
|
IP = '10.1.1.202'
|
|
|
|
Postfix = 'cam/realmonitor?channel=1&subtype=0'
|
|
|
|
Left = 336
|
2014-05-18 12:36:01 +02:00
|
|
|
Top = 44
|
2013-09-16 13:49:10 +02:00
|
|
|
end
|
2013-09-12 12:50:55 +02:00
|
|
|
end
|