Ask Your Question
0

selectROI is not working ?

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

Norah gravatar image

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

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 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

no I change the tracker same issue.

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

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-02-11 09:00:56 -0600

  1. Draw the ROI and press ENTER.
  2. Once you are done with all ROIs, press the ESC button.
  3. Do all that in the imshow window, NOT the console one.
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-09-26 04:26:43 -0600

Seen: 2,116 times

Last updated: Sep 26 '18