SURF in mahotas

24 views
Skip to first unread message

Antonis Polykratis

unread,
Feb 28, 2015, 5:55:08 AM2/28/15
to python...@googlegroups.com
Hello,

I am trying to run the following code
>>> import mahotas as mh
>>> from mahotas.features import surf

Sadly though, I can not import surf.
With tab I see only the following options
haralick lbp pftas tas zernike.

Could you give me a help on that?

Thanks
Antonis





Luis Pedro Coelho

unread,
Feb 28, 2015, 7:34:27 AM2/28/15
to python...@googlegroups.com
This should work.

What version of mahotas are you running?

You can check

print(mh.__version__)

(That is underscore-underscore-"version"-underscore-underscore)

Luis

--
Luis Pedro Coelho | EMBL | http://luispedro.org
My blog: http://metarabbit.wordpress.com
> --
> You received this message because you are subscribed to the Google Groups
> "pythonvision" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pythonvision...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Antonis Polykratis

unread,
Feb 28, 2015, 3:24:19 PM2/28/15
to python...@googlegroups.com
My version was 0.7.1.-1 and I have installed mahotas through Canopy IDE 's package manager.
After Luis' message I tried to install mahotas with one of the standard ways (pip install mahotas).
But now I deal with trouble when I try to import mahotas.
(see new topic:  undefined symbol: _ZNSt8ios_base4InitD1Ev)

Antonis

Reply all
Reply to author
Forward
0 new messages