会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Liang's Blog
谦谦君子,卑以自牧。
博客园
首页
新随笔
联系
管理
2023年6月7日
生成渐变色指定长宽图像
摘要: # 生成渐变色指定长宽图像 ````python import cv2 import numpy as np def create_gradient_image(start_color, end_color, width, height): # 将颜色值从[0, 1]的范围转换为[0, 255]的范
阅读全文
posted @ 2023-06-07 16:26 梁君牧
阅读(27)
评论(0)
推荐(0)