mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-16 08:15:52 +01:00
d1fab15b0f
[+] Added demos of creating and using visual and non-visual component using OpenCV (\ component \ OpenCV.dpk) [+] Added an example of using components (samples \ Components \ cCameraCapture \ cCameraCapture.dpr) [*] Minor changes in the modules Signed-off-by: Laex <laex@bk.ru>
54 lines
1.7 KiB
ObjectPascal
54 lines
1.7 KiB
ObjectPascal
(* /*****************************************************************
|
|
// Delphi-OpenCV Demo
|
|
// Copyright (C) 2013 Project Delphi-OpenCV
|
|
// ****************************************************************
|
|
// Contributor:
|
|
// laentir Valetov
|
|
// email:laex@bk.ru
|
|
// ****************************************************************
|
|
// You may retrieve the latest version of this file at the GitHub,
|
|
// located at git://github.com/Laex/Delphi-OpenCV.git
|
|
// ****************************************************************
|
|
// The contents of this file are used with permission, subject to
|
|
// the Mozilla Public License Version 1.1 (the "License"); you may
|
|
// not use this file except in compliance with the License. You may
|
|
// obtain a copy of the License at
|
|
// http://www.mozilla.org/MPL/MPL-1_1Final.html
|
|
//
|
|
// Software distributed under the License is distributed on an
|
|
// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
// implied. See the License for the specific language governing
|
|
// rights and limitations under the License.
|
|
******************************************************************* *)
|
|
unit uMainForm;
|
|
|
|
interface
|
|
|
|
uses
|
|
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
|
|
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uOpenCVVideoSource, uOpenCVCamera,
|
|
uOpenCVView, Vcl.ExtCtrls;
|
|
|
|
type
|
|
TForm1 = class(TForm)
|
|
opncvcmr1: TOpenCVCamera;
|
|
grdpnl1: TGridPanel;
|
|
opncvw1: TOpenCVView;
|
|
opncvw2: TOpenCVView;
|
|
opncvw3: TOpenCVView;
|
|
opncvw4: TOpenCVView;
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
var
|
|
Form1: TForm1;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
|
|
end.
|