Skip to content

Instantly share code, notes, and snippets.

0:00:00.000,0:00:01.780
比YA的角度是30度
0:00:01.780,0:00:03.040
大家安安我是 Yukirinu
0:00:03.040,0:00:06.720
今天想來說關於那個令我討厭的女生的事
0:00:06.720,0:00:10.720
@hunandy14
hunandy14 / opencv341_installer.sh
Last active June 29, 2018 12:43
opencv341_installer for Ubuntu 16.04
# opencv331_intaller by charlotte.hong
# this script is on ubuntu 16.04
# date: 2018/05/31
# refrence opencv site: https://docs.opencv.org/3.4.1/d7/d9f/tutorial_linux_install.html
# charlotte.hong blog: https://charlottehong.blogspot.com/
# Update Ubuntu
sudo apt-get update
sudo apt-get dist-upgrade -y
@hunandy14
hunandy14 / PaperlineCTOR.cpp
Created February 26, 2018 04:19
論文換行重建
/*****************************************************************
Name :
Date : 2017/10/23
By : CharlotteHonG
Final: 2017/10/23
*****************************************************************/
//#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
#include <iostream>
#include <fstream>
#include <string>
@hunandy14
hunandy14 / interp_extremum.cpp
Last active January 20, 2018 13:31
特徵點定位 DoG函數
class fpoint
{
public:
fpoint()
{
x = 0.0;
y = 0.0;
};
fpoint(float p_x, float p_y) : x(p_x), y(p_y) {}
~fpoint() {};
@hunandy14
hunandy14 / timer.hpp
Created January 12, 2018 04:09
計時器
/*****************************************************************
Name : Timer.hpp
Date : 2017/12/19
By : CharlotteHonG
Final: 2017/12/19
*****************************************************************/
#pragma once
#include <iostream>
#include <string>
#include <ctime>
@hunandy14
hunandy14 / CudaMem.cuh
Created January 12, 2018 04:08
Cuda記憶體管理
/*****************************************************************
Name :
Date : 2018/01/09
By : CharlotteHonG
Final: 2018/01/09
*****************************************************************/
#pragma once
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
@hunandy14
hunandy14 / BMP_RW.c
Last active March 31, 2022 07:41
讀寫BMP檔案
/*****************************************************************
Name : 讀寫BMP檔案
Date : 2017/11/10
By : CharlotteHonG
Final: 2019/08/07
readME : http://bit.ly/2LTHGWN
site : https://charlottehong.blogspot.com/2017/06/c-raw-bmp.html
*****************************************************************/
#include <stdlib.h>
@hunandy14
hunandy14 / draw_arrow.cpp
Last active November 11, 2017 03:06
畫箭頭
/*****************************************************************
Name : 畫箭頭
Date : 2017/11/09
By : CharlotteHonG
Final: 2017/11/11
*****************************************************************/
#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
/*****************************************************************
Name :
Date : 2017/10/23
By : CharlotteHonG
Final: 2017/10/23
*****************************************************************/
#include <iostream>
#include <fstream>
#include <string>
#include <cstring>
@hunandy14
hunandy14 / Ard.c
Created August 24, 2017 09:48
STM32F469I Arduino D0~D15 Define and Use
/*----------------------------------------------------------------
Arduino背板初始化設定函式
----------------------------------------------------------------*/
/* 腳位定義 */
#define ArD0_GPIO_PORT ((GPIO_TypeDef*)GPIOG)
#define ArD1_GPIO_PORT ((GPIO_TypeDef*)GPIOG)
#define ArD2_GPIO_PORT ((GPIO_TypeDef*)GPIOG)
#define ArD3_GPIO_PORT ((GPIO_TypeDef*)GPIOA)
#define ArD4_GPIO_PORT ((GPIO_TypeDef*)GPIOG)
#define ArD5_GPIO_PORT ((GPIO_TypeDef*)GPIOA)