4kubo / bacf_python

A port of implementation fo BACF to python 2
20 stars 5 forks source link

issues with features_pedro_py.so file #8

Open ozzaman opened 5 years ago

ozzaman commented 5 years ago

i am trying to compile bacf_python project on my Windows 64 running pc. I am getting the import error "cannot import name 'features_pedro_py' " The problem arises from the .so file which is meant to be for Linux platforms. My questions:

  1. Is there a compatible .dll version of this shared object to be used in Windows platform?
  2. If there is no .dll version for this .so file then where can i find the source file to recompile it as .dll ?
4kubo commented 5 years ago

Hi ozzaman. Thank you for your trying. Since I borrowed features_pedro_py.so from dimatura's repository and I developed only on Ubuntu platform, I'm not sure about how to run it on Windows. Anyway I compiled using the Makefile in dimatura's repository. I'm sorry but I don't know whether it outputs files for Windows.

prepre1234 commented 3 years ago

I am fail to compile this project as you discribed and i also have no idea on this problem.I would like to ask you if you have found the solution.

4kubo commented 3 years ago

Thank you for your report.

Even if you compile the FHoG feature package on ubuntu, it is sorry but I can't tell you about solution soon. How about to use another FHoG package, implemented for python? https://github.com/uoip/KCFpy/blob/85796995be22e1cebc4fae994bc67ec6d4ac8654/kcftracker.py#L220

I remember that this outputs same shape of numpy arrays and not so slow.