1 | initial version |
Hi,berak: I find the soulation: I do not use:
cv::Ptr<genernalhough> GH; GH->create(.........);
I shold use:
cv::Ptr<generalhough> GH=GH->Create(GHT_POSITION | GHT_ROTATION); GH->setTemplate(temp1); GH->detect(src1,temp1); ..........
2 | No.2 Revision |
Hi,berak: I find the soulation: I do not use:
cv::Ptr<genernalhough>
cv::Ptr<GenernalHough>
GH;
I shold use:
cv::Ptr<generalhough>
cv::Ptr<GeneralHough>
GH=GH->Create(GHT_POSITION | GHT_ROTATION);
GH->setTemplate(temp1);
GH->detect(src1,temp1);
3 | No.3 Revision |
Hi,berak: I find the soulation: I do not use:
cv::Ptr<GenernalHough> GH;
GH->create(.........);
I shold should use:
cv::Ptr<GeneralHough> GH=GH->Create(GHT_POSITION | GHT_ROTATION);
GH->setTemplate(temp1);
GH->detect(src1,temp1);
..........