How to save Tracked Image
Posted: 24 June 2010 05:09 PM   [ Ignore ]
Rank
Joined  2010-06-23
Total Posts:  3
New Member

Hi,

I need save Tracked Image every 30 seconds in project folder, but do not know how, can someone help me.

Thanks!!!

Profile
 
 
Posted: 24 June 2010 06:55 PM   [ Ignore ]   [ # 1 ]
RankRankRankRank
Joined  2009-08-21
Total Posts:  561
Elite

Please explain , what tracked image ?

 Signature 

~~Amit~~

Website - Twitter - Facebook

Profile
 
 
Posted: 25 June 2010 03:20 AM   [ Ignore ]   [ # 2 ]
Avatar
RankRankRankRankRankRank
Joined  2009-04-14
Total Posts:  1897
Dedicated

automated print screen…

 Signature 

One more but very useful blog : http://blog.cktouch.com/
Rear DI + Windows Seven = So Nice…
_________________________________________________

Profile
 
 
Posted: 25 June 2010 07:42 AM   [ Ignore ]   [ # 3 ]
Rank
Joined  2010-06-23
Total Posts:  3
New Member

Hi,

Tracked Image is the processed image in CCV.

I managed to save the image:

In TestApp

void testApp::draw() {
   IplImage 
*img tbeta->processedImg.getCvImage();
   
cvSaveImage ("c:/camera/img.jpg"img);

}

then put this command cvSaveImage ("c:/camera/img.jpg", img); in new thread, to not disrupt the processing of the CCV

Thank you all for helping me

Profile
 
 
Posted: 25 June 2010 11:34 AM   [ Ignore ]   [ # 4 ]
RankRankRankRank
Joined  2009-08-21
Total Posts:  561
Elite

or

tbeta->processedImage.saveImage(...)

both will burn down to same though !

And yeah ... you can use ofGetElapsedTime() to get the time and save it accordingly !

 Signature 

~~Amit~~

Website - Twitter - Facebook

Profile
 
 
Posted: 25 June 2010 11:48 AM   [ Ignore ]   [ # 5 ]
Rank
Joined  2010-06-23
Total Posts:  3
New Member

Thank you very much Amit!!!!!!!!!!

Profile
 
 
Posted: 14 January 2014 11:03 PM   [ Ignore ]   [ # 6 ]
Rank
Joined  2013-12-02
Total Posts:  20
New Member

Saving tracked image within prorgamming project can be the same thing with simple image saving, as long as you embed an mature image saving tool, you can cusomize the image storage progress, such as start or cancel image saving progress as you like, set the automatic image saving time, such as evey 30 seconds or every one minute. Besides, if you need, you also can add the later image processing tool to ensure the high quality of saving tracked image. such as adjust image bit depth, image resolution, image color, etc.

Profile