Fingertip Heat original, reproduced please specify from Http://blog.csdn.net/sunboyiris/// //////////////////////////////////////////////////
First install the Webcamera software on the iphone, Windows7 the Webcamera software on the system.
On the Webcamera on the WINDOWS7 system, such as the following:
Click Enter settings such as the following:
Open the Webcamera software on your iphone:
Set in connection settings: ipport:192.168.23.1 port:800
Click Connect, the computer shows a demo sample such as the following:
Test success.
The next step is to start programming, which will stream the video into the program.
First look at the Device Manager:
See here is very clear, write code without calling Ipport, directly with the device number can read the video stream.
Add code to the main function:
Declares the iplimage pointer iplimage* pframe = NULL; Get camera cvcapture* pcapture = cvcreatecameracapture (0); Create form Cvnamedwindow ("video", 1); Display the video screen while (1) { pframe=cvqueryframe (pcapture); if (!pframe) break; Cvshowimage ("video", pframe); Char C=cvwaitkey (+); if (c==27) break; } Cvreleasecapture (&pcapture); Cvdestroywindow ("video"); System ("pause"); return 0;
Perform such as the following:
Holding a mobile phone is only able to be monitored within the range of WiFi.
Get the camera data, you can plan the next ....
Fingertip Heat original, reproduced please specify from Http://blog.csdn.net/sunboyiris/// //////////////////////////////////////////////////
OPENCV Programming-> Windows7 lowered with Iphnoe camera