Update to 2.0.0 tree from current Fremantle build
[opencv] / otherlibs / cvcam / src / windows / HowToUse.txt
diff --git a/otherlibs/cvcam/src/windows/HowToUse.txt b/otherlibs/cvcam/src/windows/HowToUse.txt
deleted file mode 100644 (file)
index 1a0bfe6..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <conio.h>
-#include <stdio.h>
-#include "cvcam.h"
-#include "..\\highgui\\highgui.h"
-#include "cv.h"
-
-void __cdecl callback(void* _image)
-{
-       IplImage* image = (IplImage*)_image;
-       cvLine(image, cvPoint(0, 0), cvPoint(image->width, image->height), CV_RGB(255, 0, 0), 1);
-}
-
-int main()
-{
-       int cameras = cvcamGetCamerasCount();
-       if(cameras == -1)
-       {
-               printf("\nNo cameras available on the system. Exiting...");
-               return -1;
-       }
-
-       cvcamSetProperty(0, CVCAM_PROP_CALLBACK, &callback);
-       cvcamInit();
-       cvcamStart();
-       wait_key(0);
-       cvcamStop();
-       cvcamExit();
-
-       return 0;
-}
\ No newline at end of file