cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012
http://mit.edu/vondrick/vatic/
MIT License
603 stars 255 forks source link

cpptrack issue when installing #42

Open OmarMAmin opened 8 years ago

OmarMAmin commented 8 years ago

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

junjuew commented 8 years ago

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

asdaqsamir commented 8 years ago

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

ymm8505 commented 8 years ago

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

anilrgukt commented 5 years ago

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