vbalnt / bold

BOLD - Binary Online Learned Descriptor - CVPR 2015
http://www.iis.ee.ic.ac.uk/~vbalnt/
Other
33 stars 13 forks source link

error in execution #1

Open rannrahul opened 7 years ago

rannrahul commented 7 years ago

sir im trying to execute bold in cpp there is always an error popping out regarding data set link main program is not running i find an error always like unidentified reference to init_dataset(dataset char constant); unidentified reference to BOLD::BOLD( ); and many more errors i request you to please check it bold main_cpp_file_problem

vbalnt commented 7 years ago

Hi, you need to use cmake to compile the code.

sudo apt-get install cmake

and then from the project root folder (~/Desktop/bold/bold in your case) run

cmake . 
make
rannrahul commented 7 years ago

Sir I have used the commands.which you mentioned but did not succeed can you please say the software versions required of c++( cmake) or if any other I could only run the sample code but not the complete file . sorry to disturb you but this may be my last message to you sir please give me a solution so that I may not bother you again On Feb 20, 2017 3:00 PM, "Vassileios Balntas" notifications@github.com wrote:

Hi, you need to use cmake to compile the code.

sudo apt-get install cmake

and then

cmake . make

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vbalnt/bold/issues/1#issuecomment-281028825, or mute the thread https://github.com/notifications/unsubscribe-auth/AYcWQNZmyaUeLt3yhkw5t1yzdhGSUS1uks5reV0ogaJpZM4L6bBW .

Alexlixer commented 7 years ago

@vbalnt @rannrahul Hi ![Uploading c.PNG…]()

Since the patch size is 32 by 32, why the cordinates in bold.desc has cordinates 927(or numbers much larger than 32).Do i misunderstand anything? what does data in bold.desc really mean?Hope you can help me out!

rannrahul commented 7 years ago

Sorry I don't know On Feb 24, 2017 7:05 PM, "Alexlixer" notifications@github.com wrote:

@rannrahul https://github.com/rannrahul Can you help me on the question listed by me? Since the patch size is 32 by 32, why the cordinates in bold.desc has cordinates 927(or numbers much larger than 32).Do i misunderstand anything? what does data in bold.desc really mean?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vbalnt/bold/issues/1#issuecomment-282292303, or mute the thread https://github.com/notifications/unsubscribe-auth/AYcWQLlnAb-vLFMkH8tp8lx_RVfMLG3zks5rftyogaJpZM4L6bBW .

vbalnt commented 7 years ago

@Alexlixer these are C-style indices from 0 to 32^2

vbalnt commented 7 years ago

@rannrahul sorry I can't help without any info on what the problem is.

Alexlixer commented 7 years ago

@vbalnt hi, I read the code to compute the descriptor ,there is 1 problem: 1.What if the pixel location is out of range of Mat after rotaion and interpolation fails since there maybe no pixel at all by the edge of the patch?

Hopefully you can help me out!

rodrigo-reboucas commented 7 years ago

It is possible to use BOLD as TFeat, input: object image and video; Output: object detection in video?

rannrahul commented 7 years ago

hi sir, i have run the code succesfully and built executable file for bold.cpp using cmake . and make, problem is that main.cpp is not building any executable file when i run the code can u please help me with this how to build main.cpp

On Mon, Feb 20, 2017 at 3:00 PM, Vassileios Balntas < notifications@github.com> wrote:

Hi, you need to use cmake to compile the code.

sudo apt-get install cmake

and then

cmake . make

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vbalnt/bold/issues/1#issuecomment-281028825, or mute the thread https://github.com/notifications/unsubscribe-auth/AYcWQNZmyaUeLt3yhkw5t1yzdhGSUS1uks5reV0ogaJpZM4L6bBW .

rodrigo-reboucas commented 7 years ago

Are you planning to use OpenCV to read video and image?

vbalnt commented 7 years ago

This issue report is getting a bit crowded with several different issues. Can you please create separate issues per question?

rannrahul commented 7 years ago

sir, actually the problem with bold is i could execute the sample code bold.cpp successfully and generate exe file on a single image but, executing the main.cpp file is generating function call errors like: undefined reference to init_dataset(dataset char const) undefined reference to Bold::Bold( ) undefined reference to Bold::compute_patch(CV::Mat, CV::Mat&, CV::Mat&) and many more u could notice the errors in the screnshot attached below thankyou.

vbalnt commented 7 years ago

Hi, can you run git pull and try again? It seems like a linking problem with CMake. I have updated the CMakeLists.txt let me know if it works for you now.

rannrahul commented 7 years ago

good morning sir, i have tried git pull but didnt work. yes it is a linking problem i could run the code on sample data but not on complete dataset.

i could run the bold.cpp file but not main.cpp it is some linking problem could u sort this out. i have atached the screen shot

thankyou

On Mon, Apr 3, 2017 at 5:09 PM, Vassileios Balntas <notifications@github.com

wrote:

Hi, can you run git pull and try again? It seems like a linking problem with CMake. I have updated the CMakeLists.txt let me know if it works for you now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vbalnt/bold/issues/1#issuecomment-291118822, or mute the thread https://github.com/notifications/unsubscribe-auth/AYcWQPjWMjRx-G6JKkNj-jADBOgTRo7Zks5rsNpngaJpZM4L6bBW .