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

Error in Raspberry Pi #7

Open
ramineniraviteja opened this issue May 13, 2018 · 2 comments
Open

Error in Raspberry Pi #7

ramineniraviteja opened this issue May 13, 2018 · 2 comments

Comments

@ramineniraviteja
Copy link

$ python3 eval.py --video="aab.mp4"

** (Detector:2966): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

$python3 daemon.py
[INFO] 2018-05-13 17:50:24,420: Start camera loop
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

$python3
Python 3.5.3
[GCC 6.3.0 20170124] on linux

import tensorflow
import cv2
tensorflow.version
'1.4.0'
cv2.version
'3.4.0'

@igor-panteleev
Copy link
Contributor

Hi,
How do you install openCV on RPI?
AFAIK opencv-python that is used in this demo do not officially support ARM builds.
Best solution for now is to build openCV from scratch. Here you can found good tutorial.

@vamshireddyp
Copy link

vamshireddyp commented Jul 12, 2018

'std::bad_alloc'
what(): std::bad_alloc

This allocation error is due to Heap Memory so just as mentioned above try to reinstall using some other way..
If you haven't installed please do follow this the best one and you can build from scratch.

Just follow the above mentioned link thats the best one..

Goodluck

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

3 participants