.net - Windows form freezes when try to call two functionalities -
i working on image processing stuffs using opencv, in visual studio ide (vc++). doing displaying webcam output in windows form application using picture pox , in mean time want call algorithm uses same camera image processing stuff. form application freezes when trying perform both works together.and note using threads call algorithm implemented in seperate class.
please me sort out problem.
this how using threads within button click event $ handle h = createthread( null, 0, &(lpthread_start_routine)project::form1::bgs(), this, 0, null );
void bgs() { //calling algorithm inside method. } $
ok have sort out problem used background workers this.and works perfectly.and intrested in displaying vedio in windows form application using opencv , need use same vedio stream other processings use same instance of (cvcapture* capture = cvcapturefromcam(0)) "capture" perform both actions.hope extend.
Comments
Post a Comment