selectROI is not working ?

asked 2018-09-26 04:26:43 -0500

Norah gravatar image

updated 2018-09-26 08:16:57 -0500

I run this code https://github.com/spmallick/learnope... and I am using VS 14 in windows 10 and opencv 3.4.3 . In console "select a ROI and then press space or enter button! cancel the selection process by pressing c button!" I select the object by mouse and then when I press space or enter not working .how to fix that and do next step tracking?!

edit retag flag offensive close merge delete

Comments

"not working" never works as an error report. be more concise, please.

berak gravatar imageberak ( 2018-09-26 04:28:30 -0500 )edit

when I press space or enter it repeat the sentence "select a ROI and then press space or enter button! cancel the selection process by pressing c button!"

Norah gravatar imageNorah ( 2018-09-26 05:13:55 -0500 )edit

you have to press enter or space in the GUI window, not the console one...

berak gravatar imageberak ( 2018-09-26 05:15:15 -0500 )edit

I press enter and then Esc and I got Unhandled exception thrown: read access violation. _Pnext was 0x100000009. I have no idea what this means as I'm still a beginner in C++.. I really need your help,Thank you in advance.

Norah gravatar imageNorah ( 2018-09-26 06:08:24 -0500 )edit

please add the code to the question , you must have modified it somewhere (at least for the video). we also need to see, which tracker you're using

also, please spare us further useless screenshots. those can't be indexed or quoted, and you only steal other folks bandwith like that.

berak gravatar imageberak ( 2018-09-26 07:17:06 -0500 )edit
1

I use same code and video , i just add #include <tracker.hpp> and I use Boosting tracker.

Norah gravatar imageNorah ( 2018-09-26 08:18:42 -0500 )edit

i tried, and could not reproduce the crash. (though someoone else reported problems with the BOOSTING one lately.

do problems go away, if you use something else (like MOSSE) ?

berak gravatar imageberak ( 2018-09-26 08:55:01 -0500 )edit

no I change the tracker same issue.

Norah gravatar imageNorah ( 2018-09-26 13:57:54 -0500 )edit