Hello ,
Glad to know it's working well so far, I'm interested to see the telemetry figures you got on each platform you tried, can you post them here?, I would appreciate if you
git pull the recent changes before running it (with release profile), then copy and past the telemetry with the printed CPU info from the console along with telemetry table, it will help me to get a grasp on how is it behaving on different CPUs, and for each platform,
Just added:
uses
{$IFDEF UNIX}
{$IFDEF UseCThreads}
cthreads,
{$ENDIF}
{$ENDIF}
Try to test on a Windows 7 Pro 64
well I don't recommend placeing cthread in any unit head specially if you need to reuse it in Delphi, Lazarus usually places it in the .lpr project entry and it should be enough to link cthread libraries used for POSIX systems
ILLEGAL Instruction
My assumption it's due to the old CPU generation? please try to disable the switch -CfAVX2 or use the (Debug Profile) and let me know.
I have made some quick changes to get some context about the processors you may try to
git pull the changes.
- regarding OPENCV i'm trying to make this library available for both Delphi and Lazarus, I have translated OpenCV headers for quick webcam usage and haven't test all the functionalities yet, I'm in favour of (and eventually planning to) a platform wrapper for each OS with tiny video capturing & media playing/recording library natively with in pascal, nevertheless I highly recommend sticking to
OpenCV version 2.4.13 files
.dll ( or
.so in linux case) don't use static linking
.a files, and because the folks at Intel unfortunately have decided to ditch the ABI
cdecl C calling which was compatible with both FPC and Delphi and replace it with C++
cppdecl starting from version 3.x.x and this is AFAIK not really compatible with Delphi and still experimental in FPC (perhaps the wizards of this forum can advise?) , finally just place those DLL's next to the executable the webcam should work (use it with -dUSE_OPENCV switch).
Thanks again for the good feedback
Cheers
H