首页 > 解决方案 > 除了 HoG 特征,还有更好的方法来识别真正的棋子图像吗?

问题描述

我正在使用机器学习来识别棋子。HoG 是我的代码中用于识别不同部分的功能,但是,由于 HoG 调整图像的方式,结果并不那么准确。还有其他更好的方法来识别图像,特别是棋子吗?

fd, hog_image = hog(img, orientations=16, pixels_per_cell=(8, 8),cells_per_block=(2, 2), visualize=True)

标签: pythonmachine-learning

解决方案


如果您有分类问题,主要思想是使用卷积神经网络。对于对象检测(定位 + 分类),您可以使用 TensorFlow 对象检测 API 以及 YOLO 模型。

在这里你可以阅读更多

https://towardsdatascience.com/how-to-train-your-own-object-detector-with-tensorflows-object-detector-api-bec72ecfe1d9

https://github.com/tensorflow/models

https://medium.com/@jonathan_hui/real-time-object-detection-with-yolo-yolov2-28b1b93e2088

http://cs231n.github.io/convolutional-networks/


推荐阅读