i have the following code of a simple function , having no error, but does not show any message..
any one can help ?? please
public void runPlayer()
{
double totalframe;
double currentframe;
cap = new Capture(openFileDialog1.FileName);
totalframe = cap.GetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FRAME_COUNT);
currentframe = cap.GetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_POS_FRAMES);
while (currentframe <= totalframe )
{
if (playerImage.InvokeRequired)
{
Bitmap img = new Bitmap(cap.RetrieveBgrFrame().ToBitmap());
this.playerImage.Image = img;
playerImage.Show();
currentframe++;
CvInvoke.cvWaitKey(33);
}
}
}