Laex / Delphi-OpenCV

Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
500 stars 226 forks source link

FileName --> Assert error raised by openCV on open CvCapture #118

Closed HuguesDug closed 5 years ago

HuguesDug commented 5 years ago

Hello,

Following your comment on "go for OpenCV 3.0", I tried to install openCV 3.4.5 on my computer, x64 version only, as binaries are not available in x84.

In updated the opencv.inc to reflect this change of version.

I recompiled some code using a FileName:TFileName to open capture with cvCreateFileCapture(PAnsiChar(@(AnsiString(FileName)[1]))); (as you do in ocv.comp.source)

I have a nice assert Error : File minkernel\crts\ucrt\appcrt\convert\isctype.cpp Line: 36 Expression c>= -1 && c <=255

Any idea ?

Laex commented 5 years ago

No no no Do not try to run version 3.0. Everything should be done differently there ... What is in the repository is an early attempt at translation. It does not work.

HuguesDug commented 5 years ago

Thank you for the feedback. I will revert so :-(

However, some of the old code I recompiled with the 3.4.5 just worked OK (and rather heavy things) The only problem detected so far is this filename issue.