赞
踩
我可以为您提供一个Python代码示例:from skimage.feature import local_binary_pattern from sklearn.svm import LinearSVC from sklearn.externals import joblib import numpy as np import cv2 # 加载图片 image = cv2.imread('grass.jpg') # 转换为灰度图 gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # 用LBP生成特征 lbp = local_binary_patt
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。