修也

实践出真知.

OpenCV 摄像头Canny边缘检测 (python)

import cv2 import numpy as np cap = cv2.VideoCapture(0) while True: _,frame = cap.read() # if frame.isEmpty(): # break frame=cv2...

2017-12-31 00:35:47

阅读数:572

评论数:0

OpenCV 视屏帧播放

#include"OpenCVLib.hpp" using namespace cv; int main(){ VideoCapture capture("test.avi"); //capture.open("test.avi...

2017-12-30 22:06:51

阅读数:81

评论数:0

OpenCV Canny边缘检测

#include"OpenCVLib.hpp" using namespace cv; int main(){ Mat srcImg = imread("monkeyKing.jpg"); imshow("Origin Pict...

2017-12-30 21:31:22

阅读数:91

评论数:0

OpenCV图像模糊

#include"OpenCVLib.hpp" using namespace cv; int main(){ Mat srcImg = imread("monkeyKing.jpg"); imshow("Origin Pict...

2017-12-30 21:18:45

阅读数:70

评论数:0

LBA I/O 磁盘读写(未能成功实现,仅做记录) and 鼠标光标坐标通过I/O 控制(成功)

org 07c00h jmp start messageRVA equ $-$$ message db "Load the second sector!" messageLen equ $-message loader_sector equ 0x2 loader_base_...

2017-12-28 21:49:09

阅读数:188

评论数:0

X64 C语言函数对应的汇编 (Windows)

#include int f(int a,int b,int c,int d,int f,int g){ return a+b+c+d+f+g; } int main(){ int ret = f(1,2,3,4,5,6); } >gcc -c cfuncTest...

2017-12-28 00:42:16

阅读数:127

评论数:0

补码运算Overflow判断

只有一个高位进位或者符号位进位就为溢出 PSW寄存器: OF,DF,SF,ZF,PF ,AF,CF ,IF ,TF标志位 SF XOR CF = 1:OVERFLOW?

2017-12-27 20:34:55

阅读数:150

评论数:0

PC裸机利用内存地址B8000H~C0000H输出字符

org 07c00h jmp start messageRVA equ $-$$ message db "XIUYE" len equ $-message db $$ db $ start: mov ax,0xb800;图像显示的内存地址;B8000H~C0000H...

2017-12-27 18:16:08

阅读数:178

评论数:0

OpenCV腐蚀图片

#include"OpenCVLib.hpp" #include #include using namespace cv; int main(){ Mat srcImage = imread("monkeyKing.jpg"); imsho...

2017-12-26 23:59:23

阅读数:102

评论数:0

OpenCV 加载和显示图片 (并解决编译库连接问题)

#pragma comment(lib,"IlmImf.lib") #pragma comment(lib,"libjasper.lib") #pragma comment(lib,"libjpeg.lib") #pragma comme...

2017-12-26 23:38:04

阅读数:93

评论数:0

nasm 宏定义

DEFAULT ABS DEFAULT rel DEFAULT bnd _ resb 100 %define foo bar %define foo bz %define isTrue 1 %define isFalse isTrue %define isTrue 0 var db isFalse...

2017-12-26 21:15:17

阅读数:180

评论数:0

GCD and LCD

fn gcd_and_lcd(m:i32,n:i32)->(i32,i32){ if m == 0 || n == 0{ // () // It doesn't work! return (0,0); } let mut a = m; let mut b = n; if a...

2017-12-25 22:34:28

阅读数:161

评论数:0

Simple LinkedList by Myself and Gains using Rust

#[derive(Debug)] struct Node{ next : &'a mut Node, data : i32, } struct LinkedList{ head : Node,// not use mut ,because of "let...

2017-12-22 04:12:39

阅读数:100

评论数:0

mysql installed big problem: table mysql.host not existence!

solution: cp mysql/scripts/data/mysql mysql/data service mysql55 start If that service doesn't exist,you have to copy mysql/support-files/mys...

2017-12-20 05:43:39

阅读数:99

评论数:0

mysql 5.6.38 "cmake ," error solution

apt-get install libncurses5-devfind /usr -name libncurses* mysql-5.6.38$ cmake . -DCURSES_LIBRARY=/usr/lib/x86_64-linux-gnu/libncurses.so -DCURSES_I...

2017-12-19 05:44:48

阅读数:100

评论数:0

nasm调用C语言printf (windows)

extern _printf ; contains "_" section .text ; needed global _main _main: push dword [myint] ;myint is address,so [myint] is 1234. push dwor...

2017-12-09 03:54:38

阅读数:283

评论数:0

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