Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery7-May-08 11:13
Mark Salsbery7-May-08 11:13 
GeneralRe: How to Get a TCHAR into a CString? Pin
Larry Mills Sr7-May-08 12:37
Larry Mills Sr7-May-08 12:37 
GeneralRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery9-May-08 7:36
Mark Salsbery9-May-08 7:36 
AnswerRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery9-May-08 7:47
Mark Salsbery9-May-08 7:47 
GeneralRe: How to Get a TCHAR into a CString? Pin
Larry Mills Sr9-May-08 16:05
Larry Mills Sr9-May-08 16:05 
QuestionToolbar in dialog based project Pin
ilgale7-May-08 4:28
ilgale7-May-08 4:28 
AnswerRe: Toolbar in dialog based project Pin
Mark Salsbery7-May-08 7:01
Mark Salsbery7-May-08 7:01 
QuestionCapturing a video using opencv on MFC Pin
Collin Xie7-May-08 4:18
Collin Xie7-May-08 4:18 
Currently, I am working on a GUI for video surveillance-object detection using MFC and is rather unfamiliar in using the MFC. I wonder if anyone here would able to give me some advice for source code for the following:

1) Using a dialog-based application in C++6.0, how do I capture live video from the webcam to the dialog box itself (i.e. picture control) using OpenCv (without using directshow)? I should be able to click on buttons created and the livevideo will start/pause/stop on the dialog box(i.e. picture control).

For now, I am thinking of this method whereby I follow the below link to create the picture control and let it draw the bmp file.

http://www.codeguru.com/cpp/g-m/bit...icle.php/c4939/

This implies that I need to convert the opencv's ipl file to mfc's bmp file and deal with multiple images so as to provide realtime images. Thinking of using a 'for' loop to perform the capturing of multiple images, but would like to ask if you have any better suggestions?

2)As I will need to store the bmp files to be processed for object recognition when I press the "InitializeDetector" button created, I would like to ask if anyone knows how to create a framegrabber? How do I store the files for image processing?

Please advise.

Thanks in advance! Laugh | :laugh:
AnswerRe: Capturing a video using opencv on MFC Pin
srisuwan917-Jan-10 20:56
srisuwan917-Jan-10 20:56 
QuestionMFC Application and Web service Pin
BadJerry7-May-08 4:05
BadJerry7-May-08 4:05 
AnswerRe: MFC Application and Web service Pin
led mike7-May-08 4:28
led mike7-May-08 4:28 
GeneralRe: MFC Application and Web service Pin
BadJerry7-May-08 4:40
BadJerry7-May-08 4:40 
GeneralRe: MFC Application and Web service Pin
led mike7-May-08 5:05
led mike7-May-08 5:05 
AnswerRe: MFC Application and Web service Pin
Christopher Duncan7-May-08 14:20
Christopher Duncan7-May-08 14:20 
GeneralRe: MFC Application and Web service Pin
BadJerry7-May-08 23:13
BadJerry7-May-08 23:13 
GeneralRe: MFC Application and Web service Pin
Christopher Duncan8-May-08 6:04
Christopher Duncan8-May-08 6:04 
GeneralRe: MFC Application and Web service Pin
BadJerry8-May-08 6:59
BadJerry8-May-08 6:59 
GeneralRe: MFC Application and Web service Pin
Christopher Duncan8-May-08 7:27
Christopher Duncan8-May-08 7:27 
GeneralRe: MFC Application and Web service Pin
BadJerry8-May-08 10:13
BadJerry8-May-08 10:13 
QuestionWM_TIMER & MessageBox Pin
CPallini7-May-08 3:58
mveCPallini7-May-08 3:58 
AnswerRe: WM_TIMER & MessageBox Pin
BadJerry7-May-08 4:09
BadJerry7-May-08 4:09 
QuestionRe: WM_TIMER & MessageBox Pin
CPallini7-May-08 4:17
mveCPallini7-May-08 4:17 
AnswerRe: WM_TIMER & MessageBox Pin
BadJerry7-May-08 4:35
BadJerry7-May-08 4:35 
QuestionRe: WM_TIMER & MessageBox Pin
CPallini7-May-08 4:46
mveCPallini7-May-08 4:46 
AnswerRe: WM_TIMER & MessageBox Pin
BadJerry7-May-08 4:53
BadJerry7-May-08 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.