自定义博客皮肤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

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

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

原创 6、Python的ConfigParser基本学习

基本问题描述:最近在看Tensorflow源码代码时,发现configparser的使用和解析很类似C++ 中的protobuff 使用,顾记录一下import configparserimport ospath=os.path.join(os.path.abspath(os.curdir)+"/test.ini")cfg=configparser.ConfigParser()cfg...

2019-07-31 21:21:35 33

原创 63. Unique Paths II

A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bo...

2019-07-30 19:15:40 27

原创 78. Subsets

Given a set of distinct integers, nums, return all possible subsets (the power set).Note: The solution set must not contain duplicate subsets.Example:Input: nums = [1,2,3]Output:[ [3],[1]...

2019-07-29 20:42:14 16

原创 77. Combinations

Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.Example:Input:n = 4, k = 2Output:[ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4],]class Solut...

2019-07-29 19:40:35 366

原创 74. Search a 2D Matrix

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first integer of each row ...

2019-07-20 14:15:09 27

原创 75. Sort Colors

Given an array with n objects colored red, white or blue, sort them in-placeso that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use the in...

2019-07-20 10:07:11 18

原创 73. Set Matrix Zeroes

Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place.Example 1:Input:[[1,1,1],[1,0,1],[1,1,1]]Output:[[1,0,1],[0,0,0],[1,0,1]]Exam...

2019-07-20 09:53:17 21

原创 5、Python在图片上进行框图

问题描述:使用labelme对一副图片进行了区域标注使用代码进行检测效果(固定位置框图)和输入坐标# -*- coding: utf-8 -*-import osimport sysimport jsonimport ioimport numpy as npimport cv2path='./'def file_name(file_dir): L = []...

2019-07-18 12:48:24 147

原创 69. Sqrt(x)

Implement int sqrt(int x).Compute and return the square root of x, wherexis guaranteed to be a non-negative integer.Since the return typeis an integer, the decimal digits are truncated and only...

2019-07-17 21:33:41 20

原创 56. Merge Intervals

Given a collection of intervals, merge all overlapping intervals.Example 1:Input: [[1,3],[2,6],[8,10],[15,18]]Output: [[1,6],[8,10],[15,18]]Explanation: Since intervals [1,3] and [2,6] overlaps,...

2019-07-16 23:52:58 24

原创 10、Python控制多个Android 系统的IP Camera

问题描述:如何使用python控制多个手机的摄像头(IP Camera)进行视频录制# -*- coding: UTF-8 -*-import osimport cv2//假设Ip Camera 相机已经设置开机自动启动,且手机属于开发者模式os.system("adb devices >.Android_device")device_id= open(".Android_...

2019-07-15 20:57:56 220

原创 53. Maximum Subarray

Given an integer array nums, find the contiguous subarray(containing at least one number) which has the largest sum and return its sum.Example:Input: [-2,1,-3,4,-1,2,1,-5,4],Output: 6Explanatio...

2019-07-14 21:23:58 22

原创 58. Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defin...

2019-07-14 19:49:45 34

原创 60. Permutation Sequence

The set [1,2,3,...,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in order, we get the following sequence for n = 3:"123""132""213""231""312""32...

2019-07-14 16:18:27 26

原创 61. Rotate List

Given a linkedlist, rotate the list to the right by k places, where k is non-negative.Example 1:Input: 1->2->3->4->5->NULL, k = 2Output: 4->5->1->2->3->NULLExplana...

2019-07-14 15:37:29 23

原创 62. Unique Paths

A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bo...

2019-07-14 11:06:23 38

原创 64. Minimum Path Sum

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.Note: You can only move either down or right at a...

2019-07-14 09:50:32 9

原创 66. Plus One

Given a non-empty array of digitsrepresenting a non-negative integer, plus one to the integer.The digits are stored such that the most significant digit is at the head of the list, and each element...

2019-07-14 09:25:03 13

原创 67. Add Binary

Given two binary strings, return their sum (also a binary string).The input strings are both non-empty and contains only characters 1 or0.Example 1:Input: a = "11", b = "1"Output: "100"Exampl...

2019-07-13 16:05:19 31

翻译 30. Substring with Concatenation of All Words

Hard544928FavoriteShareYou are given a string,s, and a list of words,words, that are all of the same length. Find all starting indices of substring(s) insthat is a concatenation of each word i...

2019-07-04 17:16:34 25

原创 9、Ubuntu控制Android系统设备(Android手机)应用(图形化界面和访问文件系统及启动App)

问题描述:希望本人希望在ubuntu 环境下,对Android系统文件系统及APK进行操作和PC端处理;问题目的:这样操作的好处,统一命令行操作,可以与ubuntu系统进行命令上交互;先附上一张图(ubuntu&window),其远程控制Android界面的显示应用的名字及简单介绍~~1、首先在Android系统(这里使用的oppo手机)打开 ====》开发者,其操作为:点...

2019-07-03 11:10:46 1460

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

空空如也

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