mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-02-17 18:58:39 +00:00
cs fixes
This commit is contained in:
parent
bad0b9c3e0
commit
40efcb8a66
|
|
@ -63,6 +63,7 @@ namespace Image {
|
|||
|
||||
// Approximate polygon
|
||||
/* 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());
|
||||
for (int i = 0; i < contoursArea.size(); ++i){
|
||||
cv::approxPolyDP(cv::Mat(contoursArea[i]), contoursDraw[i], 40, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user