TODO: remove this
| 129 | |
| 130 | // TODO: remove this |
| 131 | IplImage *Cameras::FrameGrab() |
| 132 | { |
| 133 | if (!CaptureExists()) return NULL; |
| 134 | for (int i=0; i < 8; i++) cvGrabFrame(m_MyCapture); // it takes a few images to get to the newest one |
| 135 | m_LastFrame = cvRetrieveFrame(m_MyCapture); |
| 136 | //cvShowImage("My Camera", m_LastFrame); |
| 137 | return m_LastFrame; |
| 138 | |
| 139 | } |
| 140 | |
| 141 | // Save an image |
| 142 | // TODO: remove this |
nothing calls this directly
no outgoing calls
no test coverage detected