自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(422)
  • 资源 (16)
  • 收藏
  • 关注

原创 Using Yolov8 segment ncnn model on Ubuntu18.04

convert yolov8 segment model to ncnn model and using c++ build test program.

2023-02-07 10:13:11 921

原创 MNN实践[C++版本]

阿里MNN推理框架实践[C++版本],涵盖两个目标检测实践示例。

2022-09-13 10:49:59 1259

原创 在Golang中如何用scrypt对敏感信息加密

0 依赖库mkdir -p $GOPATH/src/golang.org/x/cd $GOPATH/src/golang.org/x/git clone https://github.com/golang/crypto.git1 源码package mainimport ( "crypto/rand" "fmt" "golang.org/x/crypto/scrypt" "...

2019-04-04 14:29:58 3100

原创 Use rc.local to add run on startup in Ubuntu 16.04 LTS

1 Step by stepPut all your executing code in a separate text file with an arbitrary name such as foo.sh and save it in an arbitrary place like /home/tzx/go/src/foo/foo.sh.Add #!/bin/sh as first ...

2018-11-07 16:45:41 355

原创 Ubuntu 20.04 LTS 在3588安卓主板上测试yolov8-1.0版本的yolov8n-seg模型

3588安卓主板如果要调用rknn模型,需要更新3588安卓主板内的 rknn_server 和 librknnrt.so 文件。

2024-04-17 17:48:15 528 1

转载 Conda environment is not activated in Powershell on Windows 11

【代码】Conda environment is not activated in Powershell on Windows 11。

2024-04-12 10:47:10 30

原创 Label studio export deta YOLO dataset

【代码】Label studio export deta YOLO dataset。

2024-01-09 11:28:55 551

原创 Convert yolov8‐seg to ncnn model step by step

Convert yolov8‐seg to ncnn model step by step。

2023-10-23 19:35:04 257

原创 Ubuntu 如何卸载chrome apps, Kite, Jupyter Notebook

【代码】Ubuntu 如何卸载chrome apps, Kite, Jupyter Notebook。

2023-04-15 15:01:57 450

原创 Train yolov8 segment model based on custom dataset on Ubuntu 18.04

Train yolov8 segment model based on custom dataset on Ubuntu 18.04

2023-02-08 11:17:20 377

原创 Ubuntu18.04LTS环境下创建OpenCV4.x-Android库

OpenCV4.X-Androi库创建。

2022-10-22 16:41:35 1702

原创 Golang 在图像中绘制矩形框

golang 在图像中绘制矩形框,并添加标注信息。

2022-07-20 11:08:37 781

原创 Golang JSON包含Slice字符串解析

包含Slice类型的JSON字符串解析。

2022-07-20 10:54:26 351

原创 Golang 判断当前时间为当天范围内时间

利用Golang中的time库实现当前时间是否为当天范围内时间的判断。package mainimport ( "fmt" "time")func main() { // format := "2006-01-02 15:04:05" t := time.Now() t_zero := time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, t.Location()) h, _ := time.ParseDuration("+24h")

2021-03-24 11:37:52 8042

原创 服务器cpu和内存使用情况,简单测试脚本

统计服务器的CPU和内存使用情况。#!/usr/bin/python3# -*- encoding:utf-8 -*-import osimport timeimport psutilfrom loguru import loggerdef cpu_mem_info(): """ :return cpu, mem """ used_cpu = psutil.cpu_percent(interval=1) mem_info = psutil.virtu

2021-03-02 14:45:41 774

原创 golang simplejson 学习

golang simplejson 学习1 源码2 输出3 参考1 源码package mainimport ( "encoding/json" "fmt" "reflect" "strconv" simplejson "github.com/bitly/go-simplejson")var jsonStr = `{ "msg" : "Success", "res...

2020-01-07 16:51:02 1762

原创 Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

1. 环境信息Ubuntu 18.04 LTSpython3.6tensorflow-gpu 1.15.0cuda 10.2cudnn 7.6.3keras 2.3.1Nvidia(wtf) ➜ efficientnet_wtf nvidia-smi Thu Oct 24 11:47:43 2019 +----------------------------...

2019-10-24 13:45:38 512

原创 Install OpenCV-Python on Ubuntu18.04

文章目录OpenCV-python1 Pip / Pip32 OpenCV3 ReferenceOpenCV-python1 Pip / Pip3$ sudo apt-get update && sudo apt-get upgrade$ sudo apt-get install wget git$ wget https://bootstrap.pypa.io/get-p...

2019-09-25 09:50:02 672

转载 机器学习和数据科学攻略

机器学习和数据科学攻略1 学习Python、数据科学工具和机器学习概念2 学习通过Pandas、Numpy和Matplotlib进行数据分析、操作和可视化3 借助 scikit-learn 学习机器学习4 学习深度学习神经网络5 其他课程和书籍6 答疑6.1 每一步需要多长时间?6.2 我在哪里可以学到这些技能?6.3 统计怎么办?数学怎么办?概率呢?6.4 证书?7 参考链接1 学习Pytho...

2019-09-16 15:14:12 385

原创 golang -- ioDecReader redeclared in this block

1 问题利用 govendor 来管理基于 gin 的golang web项目,我在用govendor remove移除不必要golang第三方库后,在项目根目录下运行go run main.go出现类似以下错误:ioDecReader redeclared in this block2 解决方法在项目根目录内运行以下命令修复:govendor sync3 参考govendor...

2019-08-07 15:08:58 512

原创 Ubuntu16.04 ImportError: No module named 'LanguageSelector.LanguageSelector'

解决方法sudo apt-get install language-selector-gnome --reinstallsudo apt-get install language-selector-common --reinstall参考链接language-selector-gnomelanguage-selector-common

2019-07-25 11:13:30 1367

原创 How to setup vimrc and YouCompleteMe on Ubuntu 16.04 LTS

文章目录1 Main command lines2 Reference1 Main command lines# setup vimrcgit clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtimesh ~/.vim_runtime/install_awesome_vimrc.sh# setup YouComple...

2019-04-24 14:06:47 226

原创 How to install YCM on Ubuntu16.04 LTS

文章目录1 Steps1.1 Setup Vundle1.2 Install Vundle1.3 Install YCM core1.3.1 setup languages u want1.3.2 main work2 Reference1 Steps1.1 Setup Vundlesudo apt-get updatesudo apt-get upgradesudo apt insta...

2019-04-24 11:57:30 350

原创 jdk8 is not installed error

1. jdk-8-is-not-installed-error-404-not-foundjdk-8-is-not-installed-error-404-not-found2. Checksumhttps://www.oracle.com/webfolder/s/digest/8u211checksum.html8u2113. Downloadhttps://www.oracle.c...

2019-04-18 09:36:17 786

原创 How to install Postman native app in Ubuntu 16.04

1 安装1.1 创建命令行启动postman.wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gzsudo tar -xzf postman.tar.gz -C /optrm postman.tar.gzsudo ln -s /opt/Postman/Postman /usr/bin/postman1.2...

2019-03-01 09:51:50 308

原创 Linux 系统中,查看指定文件夹内各个子文件夹内的文件数量

count.sh#!/bin/shnumOfArgs=$#if [ $numOfArgs -ne 1 ]; then echo -e "Usage: \nbash $0 dirForCount" exit -1fi# argsROOTDIR=$1# core partfind $ROOTDIR -maxdepth 1 -type d | sort | whil...

2018-12-28 16:07:03 544

原创 Golang iota

Codespackage mainimport "fmt"type color byteconst ( black color = iota red blue)func test(c color) { fmt.Println(c)}func main() { const ( x = iota // 0 ...

2018-08-02 15:15:12 1628

原创 TensorFlow--MNIST

1 RequirementPython 3.5TensorFlow 1.4.02 Source code2.1 layers.pyimport tensorflow as tfdef weight_variable(shape): initial = tf.truncated_normal(shape, stddev=0.1) return ...

2018-07-10 18:47:54 389

原创 Installing CUDA 8 on Ubuntu 16: Unable to locate package cuda

Solution$ sudo vim /etc/apt/sources.list.d/cuda-repo-8-0-local-ga2.list==>deb file:///var/cuda-repo-8-0-local-ga2 /ReferenceInstalling CUDA 8 on Ubuntu 16: Unable to locate package cuda

2018-07-03 10:37:27 3046

原创 import debian.deb822 ImportError: No module named 'debian'

Solutionsudo apt-get remove update-notifier-common flashplugin-installerReferenceapt-get broken: No module named debian.deb822

2018-07-03 10:13:12 2679 2

原创 UseOpenCVByCpp

Use OpenCV by cpp in androidThis repo introduce how to use opencv cpp file in android.1 RequiresAndroid Studio 3.1.3opencv-3.4.1-android-sdk.zip2 Steps2.1 Create UseOpenCVByCPP ...

2018-06-27 18:09:01 1211

原创 Golang go-simplejson

Source codego-simplejsona Go package to interact with arbitrary JSON.Installgo get -u github.com/bitly/go-simplejsonImportimport "github.com/bitly/go-simplejson"Demopackage mainimp...

2018-03-26 14:38:46 2680

原创 Linux删除带空格的文件

$ find . -name " (2).jpg" -print0 | xargs -0 rm

2018-02-11 11:33:05 2826

原创 yolo-voc.2.0.cfg 参数解析

一、参数解析[net]batch=64 # number of images pushed with a forward pass through the networksubdivisions=8 # 源码中的图片数量int imgs = net.batch * net.subdivisions * ngpus,按subdivisions大小分批进行训练 hei

2018-02-06 12:11:11 2094

转载 Ubuntu 16.04 “Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0)”

转自:https://thomasmodeneis.wordpress.com/2017/05/12/how-to-restore-ubuntu-16-04-kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block00/How to restore Ubuntu 16.04 “Kernel panic –

2018-01-27 09:53:22 28538 5

原创 OpenCV 旋转矩形设置为Mask

利用OpenCV实现图像中旋转矩形区域设置为Mask掩膜。实现函数如下所示:void setPixelValueByContours(CvRect& bndRect, CvSeq*& contour, IplImage*& dst){ int rectx = bndRect.x; int recty = bndRect.y; int rectw = rectx +

2018-01-09 16:54:54 2074 2

原创 Python2.7 unicode encoding gbk error

最近因为需要用python抓取网页的信息,遇到了python中最头痛的字符编码问题。伪Unicode字符串: u'\xe6\x97\xa0\xe7\xba\xbfWLAN\xef\xbc\x9a'解决套路方法一In[2]: s = u'\xe6\x97\xa0\xe7\xba\xbfWLAN\xef\xbc\x9a'In[3]:print sæ— çº¿WLAN:In[4]: s.enco

2017-10-23 16:15:37 880

原创 Ubuntu 16.04 TensorFlow Servering

PrerequisitesBazelUsing Bazel custom APT repository (recommended)Install JDK 8 $ sudo apt-get install openjdk-8-jdkAdd Bazel distribution URI as a package source (one time setup)$ echo "deb [arch=

2017-10-11 12:03:06 2172

原创 OpenCV shape detection -- C++版本

本文主要参考OpenCV shape detection ,用C++版的OpenCV API进行重写。源码ShapeDetector.h#pragma once#ifndef SHAPEDETECTOR_H_#define SHAPEDETECTOR_H_#include <iostream>#include <vector>#include <string>using namespace

2017-09-08 16:49:55 3521

原创 基于OpenCV的图像模糊与否检测

本文用以记录,图像模糊与否的一种检测方法,该方法主要采用图像的拉普拉斯卷积操作。源码blur_detection.h#pragma once#ifndef BLUR_DETECTION_H#define BLUR_DETECTION_H#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <s

2017-08-31 15:02:03 12809 15

iconv编码转码工具

iconv编码转码工具

2017-07-07

Source code of OpenCV By Example

Source code of OpenCV By Example e-book which can be downloaded by http://download.csdn.net/detail/tianzhaixing/9425991.

2017-03-28

Deep Learning Tutorial 李宏毅 Hung-yi Lee

Deep Learning Tutorial 李宏毅 Hung-yi Lee

2017-03-22

protobuf-cpp-3.1.0.tar.gz下载

OpenCV3.2.0 Linux下编译时,需要下载的文件。

2017-01-04

ippicv_linux_20151201.tgz

OpenCV3.1.0 和 OpenCV3.2.0 Linux下编译时,需要下载的文件。

2017-01-04

ransac算法

搜集自Ziv Yaniv ([email protected])的leastSquaresEstimate and ransac C++实现源码。

2016-09-07

OpenCV By Example (OpenCV3)

Enhance your understanding of Computer Vision and image processing by developing real-world projects in OpenCV 3. 2016.1 first publish.

2016-02-02

编程Python

深入浅出系列教程之python,很不错的学习资料,适合编程初学者,或者对python感兴趣的朋友学习~

2014-04-24

2013_TU_splitting

2013_TU_splitting.PDF 来自QQ群共享资源

2014-02-27

getisstream

ifstream对象传递给形参为istreanm引用的函数,读取指定文本文件里面的内容。

2013-10-09

C++Primer中文第四版(含习题解答&&源码)

C++Primer中文第四版(含习题解答&&源码),适合C++语言学习者入门,C++语言有一定基础者加深对这门语言的理解。

2013-08-11

opencv基础篇源代码

opencv基础篇源代码,包含opencv例程实现代码,很好的入门程序例程。分享给大家。

2013-06-16

opencv 打开 yuv

用opencv实现读入yuv视频,并对yuv视频的每帧图像进行实时显示。

2013-06-09

yuv格式播放器

yuv播放器,共享资源,主要是的对yuv格式的视频进行播放,快进,快退,选择分辨率等。原著版权来自firsttime.请勿用于商业目的,学术研究使用工具。

2013-04-30

把bmp格式转为yuv

把bmp格式图片转换为yuv格式视频,共享资源

2013-04-30

把yuv转换输出bmp

把yuv格式转换输出bmp格式,共享资源

2013-04-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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