4

我在坐标系中有一组随机分布的点,我有兴趣识别某些点是否形成任何几何图形,如正方形、圆形、平行四边形或简单的线条。

是否存在任何用于识别模式的库或算法?或者也许一些提示如何编程这样的东西?

4

2 回答 2

3

Haar and HOG are the standard algorithms.

A good library for image recognition - admittedly more for faces and vehicles and such, rather than geometry but that's just a question of training - is OpenCV, which has Java bindings if you dig enough.

于 2010-09-27T16:25:16.097 回答
0

It's quite a complex issue. One of the many tools you might want to read about is the Hough transform, it's used mainly to detect lines but can be adapted to other shapes.

于 2010-09-27T16:26:54.867 回答