[JdeRobot] [jderobot] Error in import CV2
Jose Antonio
cbyte18 at gmail.com
Mon Mar 6 20:42:43 CET 2017
Oh, thanks
I tried what you said, and this example works! So I suppose the problem
is in the imshow() function. It's annoying but no blocking so go go go.
Thanks
El 06/03/17 a las 18:10, JoseMaria Cañas Plaza escribió:
> Hi JoseAntonio,
>
> that seems more an OpenCV problem than a JdeRobot one :-)
>
> The "init done opengl support available" are warning messages
> according to these webs [1][2]. Try to explore the OpenCV example
> demos, like grabcut.py to check that OpenCV is working fine on your
> machine.
>
> Cheers,
>
> JoseMaria
> [1] http://answers.opencv.org/question/91423/supressing-init-done-and-opengl-support-available/
> [2] http://answers.opencv.org/question/117084/init-done-opengl-support-available/
>
> On Sun, Mar 5, 2017 at 6:40 PM, Jose Antonio <cbyte18 en gmail.com> wrote:
>> Hi all, I update my situation.
>>
>> I did a apt-get dist-upgrade and the import problem disappeared. However i
>> can't do a simple read image and show it.
>>
>> I do
>>
>> im = cv2.imread('images/plazaMayor600x600.png');
>> cv2.imshow('image',im)
>>
>> And i get
>>
>> init doneSef
>> opengl support available
>>
>> And a window open and close with no error. If i execute from terminal I get
>> the same problem however produces a crash on ubuntu with more information:
>>
>> "Segfault happened at 0x7f5fe89fb629 can't access to this direction not
>> located in a know VMA region
>>
>> Stack memory exhausted"
>>
>> Thanks everybody
>>
>> El 05/03/17 a las 11:16, Jose Antonio escribió:
>>
>> Hi all,
>>
>> I've a problem when i do the import in my python code. In this simple line
>> of code my program crashes:
>>
>> from cv2 import *
>>
>> With the following error:
>>
>> ImportError: /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: undefined symbol:
>> _ZN15QStaticTextItem13setFontEngineEP11QFontEngine
>>
>> I not have idea of what is wrong I installed the jderobot from apt
>> repositories an it didn't give me any problem
>>
>>
>> thanks all
>>
>>
>>
>> _______________________________________________
>> Jde-developers mailing list
>> Jde-developers en gsyc.urjc.es
>> https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>
>
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://gsyc.urjc.es/pipermail/jde-developers/attachments/20170306/f2c2779e/attachment.html>
More information about the Jde-developers
mailing list