[Kwiver-users] problems about maptk

Stedraw 527063960 at qq.com
Fri Jul 3 03:52:59 EDT 2015


Sorry, I have little experience about mailing list using.....Even this email ,  I'm not sure if I sent to the right place......^_^|||


About VXL
this is the download-link in the main page of the VXL, 

Download VXL-1.17

but the version of VXL there which is available to me is 1.14

So I went to github and git clone it. I take it as version 1.18 because of  its CHANGES.txt .


About ctest
I followed your advice to have enabled test in CMake, and had a OK result:
...
100% tests passed, 0 tests failed out of 162
Total Test time (real) =  10.49 sec


About imagelist

These are from my track_feature.conf:
# Path to an input file containing new-line separated paths to sequential image
# files.
image_list_file = /home/stedraw/maptk/maptk/bin/input_image_list.txt


And these are from my  input_image_list.txt:

/home/stedraw/IMG/2015-07-02_04-13-10-89BB.bmp
/home/stedraw/IMG/2015-07-02_04-12-39-130BB.bmp
/home/stedraw/IMG/2015-07-02_04-13-05-690BB.bmp
/home/stedraw/IMG/2015-07-02_04-12-55-668BB.bmp
/home/stedraw/IMG/2015-07-02_04-12-56-481BB.bmp
...


And in the input_image_list.txt, I'm sure that there is no blank line.


By the way, my OS is Ubuntu 14.04.


Thanks!






------------------ Original ------------------
From:  "matt.leotta";<matt.leotta at kitware.com>;
Date:  Thu, Jul 2, 2015 09:38 PM
To:  "Stedraw"<527063960 at qq.com>;
Cc:  "kwiver-users"<kwiver-users at public.kitware.com>;
Subject:  Re: problems about maptk



Thanks for your interest in MAP-Tk.  In the future, please join the kwiver-users mailing list (MAP-Tk is a component of KWIVER) and post questions there.  This will allow more than just myself to respond, it will also archive the responses so that others who have similar questions can benefit.  The mailing list sign-up page is here:

http://public.kitware.com/mailman/listinfo/kwiver-users


It is linked from both www.kwiver.org and the README.md in MAP-Tk.




In response to your message:  First, your dependency versions look okay, though we haven’t tested that exact combination.  You may want to enable tests in CMake and then run “ctest” in your build tree to verify that the tests pass.  There are some known issues with the last official release of VXL (1.17), but the master branch should work.  You said VXL 1.18, I’m not sure that that exists.


The correct way to call maptk_track_features (or any MAP-Tk tool) is with the “-c” to specify the config file.  In your last example without the “-c" the config check failures are because the tool is not reading the config file and just using the default config values.


In the case where you are correctly using “-c”, the exception you are getting indicates “Path does not exist”.  This is most likely related to loading image files.  Your config file should have “image_list_file” set to a path to a text file in which each line in the file is a path to one image to load (i.e. each frame of video).  What is the contents of your image list file?  Is it empty or does it have a blank line?


—Matt





On Jul 1, 2015, at 11:30 PM, Stedraw <527063960 at qq.com> wrote:

Hello, thank you for reading (^_^)
I have installed :
Boost 1.58 ,
Eigen 3.25 ,
opencv 2.4.11 (the latest version 3.0 can't work with maptk, because it doesn't have Algorithm::_create() ),  
proj 4.91 ,  
VXL 1.18 .
Then I built maptk sucessfully.


But when I ran maptk_track_features ,  I can't get the output


stedraw at stedraw-PC:~/maptk/maptk/bin$ ./maptk_track_features -c  track_feature.conf -o track_feature.conf
File parsed! Contained 102 k/v entries.
OpenCV Error: Bad argument (Unknown matcher name) in create, file /home/stedraw/opencv-2.4.11/modules/features2d/src/matchers.cpp, line 497
[---] Ignore the above error message, it will be handled. OpenCV is silly.
OpenCV Error: Bad argument (Unknown matcher name) in create, file /home/stedraw/opencv-2.4.11/modules/features2d/src/matchers.cpp, line 497
[---] Ignore the above error message, it will be handled. OpenCV is silly.
INFO: Configuration file contained valid parameters and may be used for running



It seems like I can run then. But:
stedraw at stedraw-PC:~/maptk/maptk/bin$ ./maptk_track_features -c  track_feature.conf
File parsed! Contained 102 k/v entries.
OpenCV Error: Bad argument (Unknown matcher name) in create, file /home/stedraw/opencv-2.4.11/modules/features2d/src/matchers.cpp, line 497
[---] Ignore the above error message, it will be handled. OpenCV is silly.
OpenCV Error: Bad argument (Unknown matcher name) in create, file /home/stedraw/opencv-2.4.11/modules/features2d/src/matchers.cpp, line 497
[---] Ignore the above error message, it will be handled. OpenCV is silly.
Exception caught: Path does not exist: ""



And I also tried :
stedraw at stedraw-PC:~/maptk/maptk/bin$ ./maptk_track_features   track_feature.conf
Config Check Fail: Config needs value image_list_file
Config Check Fail: Config needs value output_tracks_file
Configuration Failure: invalid option
   feature_tracker:type =
   valid options are
      core
Config Check Fail: feature_tracker configuration check failed
Configuration Failure: invalid option
   image_reader:type =
   valid options are
      ocv
      vxl
Config Check Fail: image_reader configuration check failed
Configuration Failure: invalid option
   convert_image:type =
   valid options are
      bypass
Config Check Fail: convert_image configuration check failed
ERROR: Configuration not valid.



I swear that these three options have been set with the valid value !...
So now I don't know how to kill this error, and I really want to try this maptk for "efficiently processing aerial video"...
Thank you very much !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20150703/484bcfaf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2F0DFB06 at FA8EFE49.5B3F9655
Type: application/octet-stream
Size: 19347 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20150703/484bcfaf/attachment-0001.obj>


More information about the Kwiver-users mailing list