2013-09-12 12:50:55 +02:00
|
|
|
object MainForm: TMainForm
|
|
|
|
Left = 0
|
|
|
|
Top = 0
|
|
|
|
BorderIcons = [biSystemMenu, biMinimize]
|
|
|
|
BorderStyle = bsSingle
|
|
|
|
Caption = 'OpenCV - Component demo'
|
|
|
|
ClientHeight = 319
|
|
|
|
ClientWidth = 466
|
|
|
|
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 = 308
|
|
|
|
Top = 8
|
|
|
|
Width = 79
|
|
|
|
Height = 13
|
|
|
|
Caption = 'Image operation'
|
|
|
|
end
|
|
|
|
object cbb1: TComboBox
|
|
|
|
Left = 308
|
|
|
|
Top = 24
|
|
|
|
Width = 145
|
|
|
|
Height = 21
|
|
|
|
Style = csDropDownList
|
|
|
|
TabOrder = 1
|
|
|
|
OnChange = cbb1Change
|
|
|
|
Items.Strings = (
|
|
|
|
'None'
|
|
|
|
'Convert to grayscale'
|
|
|
|
'Canny'
|
|
|
|
'Smooth')
|
|
|
|
end
|
|
|
|
object chk1: TCheckBox
|
|
|
|
Left = 308
|
|
|
|
Top = 60
|
|
|
|
Width = 97
|
|
|
|
Height = 17
|
|
|
|
Caption = 'Camera enabled'
|
|
|
|
TabOrder = 2
|
|
|
|
OnClick = chk1Click
|
|
|
|
end
|
|
|
|
object ocvw1: TocvView
|
|
|
|
Left = 13
|
|
|
|
Top = 8
|
|
|
|
Width = 289
|
|
|
|
Height = 297
|
2013-09-15 14:02:26 +02:00
|
|
|
VideoSource = ocvmgprtn1
|
2013-09-12 12:50:55 +02:00
|
|
|
end
|
|
|
|
object ocvcmr1: TocvCamera
|
|
|
|
Enabled = True
|
2013-09-16 13:49:10 +02:00
|
|
|
Resolution = r320x240
|
2013-09-12 12:50:55 +02:00
|
|
|
Left = 348
|
|
|
|
Top = 240
|
|
|
|
end
|
|
|
|
object ocvmgprtn1: TocvImageOperation
|
2013-09-15 14:02:26 +02:00
|
|
|
VideoSource = ocvcmr1
|
2013-09-12 12:50:55 +02:00
|
|
|
ImageOperation = ioCanny
|
|
|
|
Left = 348
|
|
|
|
Top = 172
|
|
|
|
end
|
2013-09-16 13:49:10 +02:00
|
|
|
object ocvspltr1: TocvSplitter
|
|
|
|
VideoSource = ocvcmr1
|
|
|
|
Left = 404
|
|
|
|
Top = 112
|
|
|
|
end
|
2013-09-12 12:50:55 +02:00
|
|
|
end
|