mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-18 01:05:53 +01:00
81de80c682
[*] Modified TocvCamera [*] Modified TocvView [+] Added TocvImageOperation (TovcImageOperationSmooth - not working properly) Signed-off-by: Laex <laex@bk.ru>
69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
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 = 8
|
|
Top = 8
|
|
Width = 289
|
|
Height = 297
|
|
VideoSource = ocvmgprtn1
|
|
end
|
|
object ocvcmr1: TocvCamera
|
|
Enabled = True
|
|
Left = 140
|
|
Top = 128
|
|
end
|
|
object ocvmgprtn1: TocvImageOperation
|
|
VideoSource = ocvcmr1
|
|
ImageOperation = ioNone
|
|
Left = 140
|
|
Top = 76
|
|
end
|
|
end
|