ICode9

精准搜索请尝试: 精确搜索
  • 使用python OS批量重新排列文件名称2021-03-11 22:58:01

    使用python OS批量重新排列文件名称 最近在手动标数据集,但是cv生成的每帧图片不会都用上,tf生成的xml文件存在跳字的情况,上网找找没找到太实用的代码,无聊自己码了一下,能傻瓜做的事情绝对不能自己手动做就是了。 因为是自用的脚本,没有严格按照标准书写,也没有使用def函数处理。

  • OpenCV实现彩色图片的补色与反色2020-04-30 11:07:40

    1 #include "stdafx.h" 2 #include <algorithm> 3 #include <opencv2/core/core.hpp> 4 #include <opencv2/highgui/highgui.hpp> 5 #include <opencv2/imgproc/imgproc.hpp> 6 using namespace cv; 7 8 int _tmain(int argc, _T

  • 图片融合2019-09-03 18:02:06

    原理:图像1某部分和图像2某部分(大小一样)分别乘以一个系数(这两个系数和为一) p1*0.3 + p2*0.7 import cv2 import numpy as npimg0 = cv2.imread('D:/pythonob/imageinpaint/img/zidan.jpg',1)img1 = cv2.imread('D:/pythonob/imageinpaint/img/demo.jpg',1)imgInfo = img0.shapeheig

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有