Git Product home page Git Product logo

kcfnb's People

Contributors

uoip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kcfnb's Issues

What if object suddenly disappears?

Hi, I'm confused about what update function will return when object disappears. It seems the function will still return a location. Is there any way to return confidence about tracking results?

fhog_utils not working on Windows!

I get the folowing error when i try to run:

Traceback (most recent call last):
File "fhog_utils.py", line 10, in 
cc = CC('fhog_utils')
File "C:\ProgramData\Anaconda2\lib\site-packages\numba\pycc\cc.py", line 62, i
n init
self._toolchain = Toolchain()
File "C:\ProgramData\Anaconda2\lib\site-packages\numba\pycc\platform.py", line
61, in init
self._raise_external_compiler_error()
File "C:\ProgramData\Anaconda2\lib\site-packages\numba\pycc\platform.py", line
104, in _raise_external_compiler_error
raise RuntimeError(msg)
RuntimeError: Attempted to compile AOT function without the compiler used by nu mpy.distutils present. Cannot find suitable msvc.

fhog_util err

ubuntu 16.04
conda virtual-env python2.7

when run "python fhog.util.py" get some err like this:

cc1plus: warning: command line option ???-Wstrict-prototypes??? is valid for C/ObjC but not for C++
In file included from /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/modulemixin.c:16:0:
/home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/../_helperlib.c: In function ???import_cython_function???:
/home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/../_helperlib.c:578:42: warning: passing argument 2 of ???PyMapping_GetItemString??? discards ???const??? qualifier from pointer target type [-Wdiscarded-qualifiers]
cobj = PyMapping_GetItemString(capi, function_name);
^
In file included from /home/by/anaconda3/envs/kcfenv/include/python2.7/Python.h:136:0,
from /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/../_pymodule.h:6,
from /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/modulemixin.c:8:
/home/by/anaconda3/envs/kcfenv/include/python2.7/abstract.h:1356:29: note: expected ???char *??? but argument is of type ???const char *???
PyAPI_FUNC(PyObject *) PyMapping_GetItemString(PyObject *o, char *key);
^
Exception TypeError: "'NoneType' object is not callable" in <bound method ModuleRef.del of <llvmlite.binding.module.ModuleRef object at 0x7f1042b255d0>> ignored

I don't know how to fix this.pls

Build fhog_utils.py in windows

I want to build this file in windows but I am not successful. I test with both msvc and mingw32 compiler but I got this error:

compilation terminated. Traceback (most recent call last): File "fhog_utils.py", line 125, in <module> cc.compile() File "C:\Users\Ali\Anaconda2\lib\site-packages\numba\pycc\cc.py", line 212, in compile objects += self._compile_mixins(build_dir) File "C:\Users\Ali\Anaconda2\lib\site-packages\numba\pycc\cc.py", line 187, in _compile_mixins extra_cflags=extra_cflags) File "C:\Users\Ali\Anaconda2\lib\site-packages\numba\pycc\platform.py", line 79, in compile_objects extra_preargs=extra_cflags) File "C:\Users\Ali\Anaconda2\lib\site-packages\numpy\distutils\ccompiler.py", line 230, in CCompiler_compile single_compile(o) File "C:\Users\Ali\Anaconda2\lib\site-packages\numpy\distutils\ccompiler.py", line 194, in single_compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "C:\Users\Ali\Anaconda2\lib\distutils\cygwinccompiler.py", line 166, in _compile raise CompileError, msg distutils.errors.CompileError: Command "gcc -mdll -O -Wall -DMS_WIN64 -DPYCC_MODULE_NAME=fhog_utils -DPYCC_USE_NRT=1 -IC:\Users\Ali\Anaconda2\include -IC:\Users\Ali\Anaconda2\PC -IC:\\Users\\Ali\\Anaconda2\\lib\\site-packages\\numpy\\core\\include -c C:\Users\Ali\Anaconda2\lib\site-packages\numba\pycc\modulemixin.c -o c:\users\ali\anaconda2\lib\site-packages\numba\pycc\modulemixin.o" failed with exit status 1

Can I build it on windows? How?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.