自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

sxj731533730

成功埋没过去,失败开拓未来。

  • 博客(16)
  • 资源 (2)

原创 84. Largest Rectangle in Histogram

Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.Above is a histogram where width of ea...

2019-08-31 15:12:45 41

原创 89. Gray Code

The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total number of bits in the code, print the sequence of gr...

2019-08-31 12:32:41 28

原创 81. Search in Rotated Sorted Array II

Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]).You are given a target value to search. If found ...

2019-08-31 12:10:16 28

原创 1、设计模式之简单工厂模式

问题描述:近期需要学习UML基础知识和23种设计模式相关知识,因此简单记录一下~ 简单工厂模式实现及整理实现,基本原理参考:https://design-patterns.readthedocs.io/zh_CN/latest/creational_patterns/simple_factory.html#id2https://www.runoob....

2019-08-31 10:46:58 68

原创 11、Python对Labeme数据集进行扩充----图片旋转及坐标对应映射

问题描述:存在一组labelme标注的图片和json串,然后进行旋转产生新图片和相应的json文件;# -*- coding: utf-8 -*-import osimport sysimport jsonimport ioimport randomimport reimport cv2import numpy as npfrom random import choice...

2019-08-26 12:37:53 550

原创 80. Remove Duplicates from Sorted Array II

Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at mosttwice and return the new length.Do not allocate extra space for another array, you must do this by mod...

2019-08-18 16:00:06 28

原创 82. Remove Duplicates from Sorted List II

Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.Example 1:Input: 1->2->3->3->4->4->5Output: 1->...

2019-08-18 15:11:51 35

原创 83. Remove Duplicates from Sorted List

Given a sorted linked list, delete all duplicates such that each element appear only once.Example 1:Input: 1->1->2Output: 1->2Example 2:Input: 1->1->2->3->3Output: 1->...

2019-08-18 13:31:17 27

原创 55. Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine if yo...

2019-08-18 09:15:34 38

原创 10、Python 实时对文件监控和处理

问题描述:存在四个文件夹 SOURCE文件夹,WAIT 文件夹 ,RUN文件件 ,FINISH文件夹(要求指定的几个目录跟踪);SOURCE文件夹:从服务器实时下载文件A.mp4(先下载A.mp4文件,然后其它程序自动生成配套A.csv文件);即该文件夹中 实时存在 A.mp4和A.csvWAIT文件夹:实时跟踪SOURCE文件夹中新创建的csv文件,一旦监视到有新*.csv文件生成,...

2019-08-16 00:14:23 2892

原创 9、Python对Labeme数据集进行扩充--数据裁剪及坐标对应映射

问题描述:使用labelme标注的picture和json 总数量太少(即样本太少,无法满足训练的要求),因此预先对已经标注的图片进行随机裁剪和创建对应的json串,以增加数据量;# -*- coding: utf-8 -*-import osimport sysimport jsonimport ioimport randomimport refrom PIL import ...

2019-08-09 09:17:27 602 2

原创 8、Python车牌数据集自动生成及其图片叠加

问题描述: 因为项目需要,需要对一辆车进行整体识别,分别识别车型,车牌,车号,车颜色,车标; 通过阿度搜索到一份数据集,可是很无奈车牌号都被抹掉了,所以借助其它软件生成一组车牌号,然后把车牌号贴在了数据集的车上,组成了完整的数据集使用,同时也丰富了数据集的数量; 其它车标的丰富类似,不再累述;1、提供数据集和准备好车牌的数据集 车辆的数据集-链接...

2019-08-04 16:21:16 913

原创 11、Qt之文本创建

问题描述:最近想学一下QT,主要目的是想在嵌入式显示屏上,使用QT搭建一个界面,简单记录一下;#ifndef MAINWINDOW_H#define MAINWINDOW_H#include <QMainWindow>#include<QDebug>#include<QFileDialog>#include<QMessageBo...

2019-08-03 15:38:28 142

原创 71. Simplify Path

Given an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path.In a UNIX-style file system, a period .refers to the current directory. Furthermore,...

2019-08-01 21:01:18 33

原创 70. Climbing Stairs

You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?Note: Given n will be a positive...

2019-08-01 18:42:35 26

原创 7、Python对NMS(非极大值抑制)理解

问题描述:最近再看tensorflow检测的源代码,用了NMS(非极大值抑制)的使用,所以写一个demo记录一下;# -*- coding: UTF-8 -*-import numpy as npimport cv2import numpy as np def py_nms(dets, scores,thresh): """Pure Python NMS b...

2019-08-01 18:27:32 140

opencv (linux版本)

opencv 脚本安装

2017-04-07

2017最全的vivado license

历史最全的vivdo license,压缩包包含:(后期会定时更新) xilinx_ise_vivado.lic Vivado_license_2016.4.lic xilinx_ise.lic Vivado_2016.4_license_2037.lic xilinx.lic ise_vivado_2014_2.lic 2014Xilinx.lic 2016_Vivado_license.lic

2017-03-19

空空如也

空空如也
提示
确定要删除当前文章?
取消 删除