2017-07-28 16:00:51 -0600 | asked a question | Improving the Rate at Which a File is Written To The below code aims to track objects based on their shape (by means of vertices) from a camera feed. Although this code works without error, the file which stores information about the tracked objects (position, shape, time at which data was logged) is written to only about 30 times per second. I would like to significantly improve this rate (preferably to about 100 times per second). I have tried changing the camera being used, which can capture far more than 100 fps, but this has had no impact on the aforementioned issue, and yields the same results as a 30 fps webcam. Is there something in my code that slows the process down unnecessarily, or is there something I can add to my code to speed it up? Any help is more than appreciated. Code: (more) |
2017-07-26 12:15:25 -0600 | commented question | VS2010 C++ OpenCV Tracking Shapes in Motion not Working Correctly Just for learning's sake: Why would just threshold have an issue because of the libs used, and why does it behave this way in this code when I have used the same function (threshold) in a different project with the same property sheets and compiler? |
2017-07-26 12:10:40 -0600 | commented question | VS2010 C++ OpenCV Tracking Shapes in Motion not Working Correctly No - I'm using vc14 libs from OpenCV 3.2.0 off the SourceForge download link. I tried using Cmake and didn't get very far. I am using Debug libs in Debug and Release libs in Release, however. |
2017-07-25 21:07:02 -0600 | asked a question | VS2010 C++ OpenCV Tracking Shapes in Motion not Working Correctly The below code attempts to track shapes in motion, and runs without error - however, it does not work as intended. It's purpose is to draw a perimeter around the polygons detected in the camera feed for ever frame, with the perimeter color dependent on the number of vertices (i.e. the shape). However, as depicted by the ALSO: ALSO: I'm pretty sure ALSO: Console window output is an infinite steam of |
2017-07-25 18:16:38 -0600 | received badge | ● Organizer (source) |