- 博客(5)
- 收藏
- 关注
原创 ubuntu常用命令2
convert 1.jpg 1.png //功能把1.jpg格式转化成1.png格式ctrl+win+up //全屏显示ctrl+win+down //还原F11 //放大和缩小find /home/xiao/Documents/LR_64/*.jpg -exec convert -resize 32x32! {} {} \;//批量放缩图像find /home/xiao/
2017-10-16 11:30:00 394
原创 人脸裁剪
# -*- coding: utf-8 -*- import PIL.Imageimport sys from skimage import ioi=1with open('zxw.txt','r') as fd: for line in fd: line=line.strip() img = PIL.Image.open(line) #box=(
2017-10-13 17:16:29 2055
翻译 按顺序一行行重命名文件夹里所有图片
# -*- coding:utf8 -*-import osclass BatchRename(): def __init__(self): self.path = '/home/yuyan/torch/CycleGAN/datasets/gh2video/p' def rename(self): filelist = os.li
2017-10-13 17:07:35 3056
原创 caffe和Torch训练时技巧1
解决:pip3 install numpyThe program 'pip3' is currently not installed解决:sudo apt install python3-pipfrom theano.tensor.signal import downsampleImportError: cannot import name 'downsample'解决:pip
2017-10-13 17:03:57 296
原创 把视频处理成一帧一帧的图像
#include#include #include #include #include using namespace cv;using namespace std;int number = 1;char imgdir[100];string imgdirname;VideoCapture cap("D:/191215937.avi");int main(){
2017-10-13 16:59:48 17472
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人