Delphi-OpenCV/samples/Components/cCameraCapture/uMainForm.dfm
Laentir Valetov 515c284531 WarpPerspective
Signed-off-by: Laentir Valetov <laex@bk.ru>
2014-05-28 22:13:29 +04:00

174 lines
3.8 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
Frames = <
item
VideoSource = ocvflsrc1
DrawRect.Left = 0
DrawRect.Top = 0
DrawRect.Right = 100
DrawRect.Bottom = 100
Enabled = True
end>
end
object ocvw2: TocvView
Left = 8
Top = 361
Width = 300
Height = 300
VideoSource = ocvmgprtn1
Center = True
Frames = <>
end
object ocvw3: TocvView
Left = 316
Top = 358
Width = 300
Height = 300
VideoSource = ocvflsrc1
Frames = <>
end
object ocvw4: TocvView
Left = 316
Top = 28
Width = 300
Height = 300
VideoSource = ocvpcmsrc1
Frames = <>
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 = 'TocvRotateOperation'
Operation.Angle = 90
Operation.RotateAroundCenter = True
Operation.Scale = 1.000000000000000000
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>
OperationsEnabled = False
OnAfterEachOperation = ocvmgprtn1AfterEachOperation
Left = 36
Top = 392
end
object ocvflsrc1: TocvFileSource
Enabled = True
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'
URI = '/cam/realmonitor?channel=1&subtype=0'
Left = 336
Top = 44
end
end