OpenCV 3.4.1 breaks data capture (Bug #543)


Added by Fabien Baron over 6 years ago. Updated almost 4 years ago.


Status:Closed Start date:03/20/2018
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

Arch just moved to openCV 3.4.1, which completely breaks data capture even for the latest hg.
Downgrading to openCV 3.4.0 works.


History

Updated by Alexis Bienvenüe over 6 years ago

Can you explain what happens exactly?

Updated by Fabien Baron over 6 years ago

Compilation works fine, but when trying to recognize scans (Automatic mode), auto-multiple-choice throws this multiple times:

OpenCV(3.4.1) Error: Assertion failed ((flags & FIXED_TYPE) != 0) in type, file /build/opencv/src/opencv-3.4.1/modules/core/src/matrix_wrap.cpp, line 807
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.1) /build/opencv/src/opencv-3.4.1/modules/core/src/matrix_wrap.cpp:807: error: (-215) (flags & FIXED_TYPE) != 0 in function type

This results in nothing being actually recognized properly.

Updated by Alexis Bienvenüe over 6 years ago

Thanks. Can you try an automatic data capture in debugging mode (from the menu Help), and post the resulting log file?

Updated by Maël Valais over 6 years ago

Hi,
I had the exact same issue on macOS when OpenCV 3.4.1 was released. Fortunately, we fixed:https://bitbucket.org/auto-multiple-choice/auto-multiple-choice/pull-requests/53 it very recently!
Until packagers like pacman catch up, I propose to download:https://bitbucket.org/auto-multiple-choice/auto-multiple-choice/downloads/ the dist tarball 1.3.0.2199 and

make
sudo make install

Updated by Maël Valais over 6 years ago

Sorry, I didn't see 'even for the latest hg'.
On what 'hg' revision do you refer to?

Updated by Fabien Baron over 6 years ago

Looks like this was the bug you fixed indeed.
I can confirm that auto-multiple-choice_1.3.0-2208-493a811c6b40_dist.tar.gz works fine.

Updated by Alexis Bienvenüe almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF