vatic icon indicating copy to clipboard operation
vatic copied to clipboard

cpptrack issue when installing

Open OmarMAmin opened this issue 9 years ago • 4 comments

Hello All,

I hope if someone can help me completing the installation of https://github.com/johndoherty/vatic which integrates opencv tracking algorithms in the tracking between two annotations

the error is as follows:

/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/cse2017/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable). warnings.warn(msg, UserWarning) Traceback (most recent call last): File "/usr/local/bin/turkic", line 5, in pkg_resources.run_script('turkic==0.2.5', 'turkic') File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script execfile(script_filename, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/EGG-INFO/scripts/turkic", line 12, in import cli File "/home/cse2017/Desktop/Projects/VaticJohn/vatic/cli.py", line 17, in from tracking import * File "/usr/local/lib/python2.7/dist-packages/tracking/init.py", line 1, in import api File "/usr/local/lib/python2.7/dist-packages/tracking/api.py", line 2, in import cpptrack ImportError: /usr/local/lib/python2.7/dist-packages/cpptrack.so: undefined symbol: _ZN2cv6imreadERKNS_6StringEi

I'd be very thankful if you can help

OmarMAmin avatar May 23 '16 13:05 OmarMAmin

This is likely due to opencv not correctly linked. Double-check vatic_tracking/setup.py, "include_dirs" and "library_dirs" in extensions are pointing to the correct version of opencv

junjuew avatar May 27 '16 00:05 junjuew

@OmarMAmin were you able to resolve this issue? I am trying to get the vatic tool to work. Thanks for the help

asdaqsamir avatar Jul 13 '16 17:07 asdaqsamir

You read more than a few times issue vatic. I was referring to readme and issue to build a set of offline vatic.

ymm8505 avatar Jul 16 '16 15:07 ymm8505

What is the right version of OpenCV for the tracking component of vatic?

anilrgukt avatar Feb 23 '19 20:02 anilrgukt