python - 除了 HoG 特征,还有更好的方法来识别真正的棋子图像吗?
问题描述
我正在使用机器学习来识别棋子。HoG 是我的代码中用于识别不同部分的功能,但是,由于 HoG 调整图像的方式,结果并不那么准确。还有其他更好的方法来识别图像,特别是棋子吗?
fd, hog_image = hog(img, orientations=16, pixels_per_cell=(8, 8),cells_per_block=(2, 2), visualize=True)
解决方案
如果您有分类问题,主要思想是使用卷积神经网络。对于对象检测(定位 + 分类),您可以使用 TensorFlow 对象检测 API 以及 YOLO 模型。
在这里你可以阅读更多
https://github.com/tensorflow/models
https://medium.com/@jonathan_hui/real-time-object-detection-with-yolo-yolov2-28b1b93e2088
推荐阅读
- jira - 更新评论作者并使用 Jira python 库创建
- python - 将 hydra 实例化目标的参数定义为 2 的幂
- python - 如何根据模糊模糊分数更改列值
- c++ - 无法使用 sysconf() 获取可用内存
- python - Sort python list with dictionaries based on the last value of another nested dictionary
- firebase - 来自 Future.wait 的 dart/flutter 铸造动态列表导致类型“列表”
' 不是类型 'List 的子类型 ' - python - python中的递归二进制搜索算法
- python - 从基于象限的 datframe 创建一个新的 numpy 数组
- javascript - 在 ChartJS 中检测点击是在 bar 中还是 bar 之外
- class - 构造函数参数验证代码无法编译