gesture_recognizer.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:Sign-Language-Recognition 作者: achyudhk 项目源码 文件源码
def hog_gen_windows(work_tuple):
    image_arr, coords = work_tuple
    lx1,ly1,rx1,ry1 = coords
    if image_arr.ndim > 2:
        image_arr = resize(color.rgb2gray(image_arr)[ly1:ry1, lx1:rx1], (120, 120))
    hog_image_rescaled = generate_hog_features(image_arr)
    return hog_image_rescaled
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号