Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openbr not working on ubuntu 18.04 #571

Open
satetheus opened this issue Apr 4, 2020 · 2 comments
Open

openbr not working on ubuntu 18.04 #571

satetheus opened this issue Apr 4, 2020 · 2 comments

Comments

@satetheus
Copy link

I've been trying to install openbr on an ubuntu 18.04 system for 2 weeks now.
I have gotten to the point where openbr builds, but I can't do anything with it.

If i try to run the example:

br -algorithm FaceRecognition -compare me.jpg you.jpg

with any set of pictures, it fails with:

Set algorithm to FaceRecognition
Loading /usr/local/share/openbr/models/algorithms/FaceRecognition
Fatal: Failed to set br::Transform* br::IndependentTransform::transform to: 
  SDK Path: /usr/local
  File: 
  Function: 
  Line: 0

The system is ubuntu 18.04, the opencv is 2.4, the qt is 5.9.5. The exact installation instructions I did can be found here.

@pinaa
Copy link

pinaa commented Oct 12, 2020

I downloaded your build script code and am running it now because I couldn't get OpenBR to work with opencv 3.2.0, but was too lazy to install opencv 3..4.5 which is required by the openbr/CMakeLists.txt file.
Your scripts just finished and Iwas able to bring up the GUI with br-gui from my terminal running Bash. The stdout messages were,
qt5ct: using qt5ct plugin
D-Bus global menu: no
Set enrollAll to true
Set algorithm to FaceRecognition
Warning: QObject::connect: No such signal br::TemplateViewer::newInput(File)
SDK Path: /usr/local
File:
Function:
Line: 0
which makes sense since I don't have any files dropped into the GUI at this point. I am running Ubuntu 20.04.1 LTS with the latest utils and dev tools.

@pinaa
Copy link

pinaa commented Oct 12, 2020

Okay, it crashed. drag-n-drop didn't work and when I clicked on File -> Clear, the stdout/stderr was,
Warning: QObject::connect: No such slot br::TemplateViewer::setFile(File)
SDK Path: /usr/local
File:
Function:
Line: 0
Loading /usr/local/share/openbr/models/algorithms/GenderClassification
Loading /usr/local/share/openbr/models/algorithms/AgeRegression
Fatal: Failed to set br::Transform* br::IndependentTransform::transform to:
SDK Path: /usr/local
File:
Function:
Line: 0
Aborted (core dumped)
Same results with commandline,
$ br -algorithm FaceRecognition -compare IMG_20170517_080315_3.jpg IMG_20170517_080315.jpg
Set algorithm to FaceRecognition
Loading /usr/local/share/openbr/models/algorithms/FaceRecognition
Fatal: Failed to set br::Transform* br::IndependentTransform::transform to:
SDK Path: /usr/local
File:
Function:
Line: 0
Aborted (core dumped)
Back to troubleshooting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants