mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-02-14 01:18:40 +00:00
cs fixes
This commit is contained in:
parent
bad0b9c3e0
commit
40efcb8a66
|
|
@ -63,6 +63,7 @@ namespace Image {
|
||||||
|
|
||||||
// Approximate polygon
|
// Approximate polygon
|
||||||
/* Question: we probably don't want a polygon all the time?! */
|
/* Question: we probably don't want a polygon all the time?! */
|
||||||
|
// @todo bad implementation, focus on single square
|
||||||
std::vector<std::vector<cv::Point> > contoursDraw (contoursArea.size());
|
std::vector<std::vector<cv::Point> > contoursDraw (contoursArea.size());
|
||||||
for (int i = 0; i < contoursArea.size(); ++i){
|
for (int i = 0; i < contoursArea.size(); ++i){
|
||||||
cv::approxPolyDP(cv::Mat(contoursArea[i]), contoursDraw[i], 40, true);
|
cv::approxPolyDP(cv::Mat(contoursArea[i]), contoursDraw[i], 40, true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user