FaceDetect / jointCascade_py

Joint Cascade Face Detection and Alignment
103 stars 59 forks source link

Can the code run in win? #7

Open weiyt2014 opened 9 years ago

weiyt2014 commented 9 years ago

the code can run in win?

weiyt2014 commented 9 years ago

in win, I run the code. it has a mistake -"ImportError: numpy.core.multiarray failed to import

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo\demo_detect.py", line 6, in import cv2 ImportError: numpy.core.multiarray failed to import" I hope to get suggestions!Thanks very much!

GarrickLin commented 9 years ago

have you installed numpy for python in win environment?

samuel1208 commented 9 years ago

I'm sorry. I just only test the code on Unbuntu

weiyt2014 commented 9 years ago

can your testing time including detection and alignment reach 30ms ? I see the paper is less 30ms

GarrickLin commented 9 years ago

it takes 6~7s in my machine by using samuel's model

weiyt2014 commented 9 years ago

The speed cann't be accepted!The slow is slow!

weiyt2014 commented 9 years ago

Can the code run in win?

GarrickLin commented 9 years ago

you might optimize it yourself, I just run the code in windows, I am trying to transplant the code into C++. and someone is doing this work, you can have a look at luoyetx/JDA

weiyt2014 commented 9 years ago

Thanks very much!

weiyt2014 commented 9 years ago

这个问题有遇到没?网上找了好久也没解决,请教一下啊! Traceback (most recent call last): File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo\demo_detect.py", line 14, in from cascade import File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo/../cascadeinit.py", line 1, in from cascade import File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo/../cascade\cascade.py", line 7, in from dator import File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo/../datorinit.py", line 1, in from data import File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo/../dator\data.py", line 6, in from reader import File "C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo/../dator\reader.py", line 5, in from scipy.ndimage.interpolation import zoom File "C:\Python27\lib\site-packages\scipy\ndimageinit.py", line 172, in from .filters import File "C:\Python27\lib\site-packages\scipy\ndimage\filters.py", line 37, in from scipy.misc import doccer File "C:\Python27\lib\site-packages\scipy\miscinit.py", line 47, in from scipy.special import comb, factorial, factorial2, factorialk File "C:\Python27\lib\site-packages\scipy\specialinit.py", line 548, in from .basic import File "C:\Python27\lib\site-packages\scipy\special\basic.py", line 17, in from . import orthogonal File "C:\Python27\lib\site-packages\scipy\special\orthogonal.py", line 90, in from scipy import linalg File "C:\Python27\lib\site-packages\scipy\linalginit.py", line 159, in from .misc import File "C:\Python27\lib\site-packages\scipy\linalg\misc.py", line 5, in from . import blas File "C:\Python27\lib\site-packages\scipy\linalg\blas.py", line 145, in from scipy.linalg import _fblas ImportError: DLL load failed: 找不到指定的模块。 求指教一下!

GarrickLin commented 9 years ago

it might be a version problem google from scipy.linalg import _fblas ImportError: DLL load failed

weiyt2014 commented 9 years ago

对了,python的版本必须和numpy、scikit-learn、scipy版本保持一致吗?我的python是2.7.10版本的,但是对应的64位的这几个版本没有找到啊?求指教一下

weiyt2014 commented 8 years ago

现在配置到没问题了,没有错误了,但是好像看不到检测效果!执行demo_detect会有这样的提示:

C:\Users\Administrator\Desktop\jointCascade_py-master\jointCascade_py-master\demo\demo_detect.py [Paras] train.model test.jpg
help|h : Print the help information 

求指教一下!

weiyt2014 commented 8 years ago

对了,你好,我问一下,你那个python版本的jointcascade那个检测代码能看到定位效果吗?我这只能看到的是那个检测结果,时间是5s左右,大致和你运行的时间一样!

At 2015-09-21 15:39:26, "XianyanLin" notifications@github.com wrote:

it might be a version problem google from scipy.linalg import _fblas ImportError: DLL load failed

— Reply to this email directly or view it on GitHub.

GarrickLin commented 8 years ago

不能