mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 15:55:53 +01:00
1b0632f752
Signed-off-by: Laentir Valetov <laex@bk.ru>
35 lines
589 B
ObjectPascal
35 lines
589 B
ObjectPascal
unit uResourcePaths;
|
|
|
|
{$WRITEABLECONST ON}
|
|
|
|
interface
|
|
|
|
Const
|
|
{
|
|
Relative paths from
|
|
<root>\bin\Win32
|
|
<root>\bin\Win64
|
|
to <root>\resource
|
|
}
|
|
cResourceMedia = '..\..\resource\media\';
|
|
cResourceFaces = '..\..\resource\faces\';
|
|
cResourceFaceDetect = '..\..\resource\facedetectxml\';
|
|
cResourceResultDefault = '..\..\resource\result\';
|
|
|
|
function cResourceResult: AnsiString;
|
|
|
|
implementation
|
|
|
|
uses
|
|
SysUtils;
|
|
|
|
function cResourceResult: AnsiString;
|
|
begin
|
|
if DirectoryExists(cResourceResultDefault) then
|
|
Result := cResourceResultDefault
|
|
else
|
|
Result := '';
|
|
end;
|
|
|
|
end.
|