This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MSG_LINES 7 | |
#define MSG_LINE_LENGTH 67 | |
char message[MSG_LINES][MSG_LINE_LENGTH] = { | |
"## ## ### ## ## ## ## ### ## ## ###### ", | |
"## ## ## ## ### ## ## ## ## ## ### ## ## ## ", | |
"## ## ## ## #### ## #### ## ## #### ## ## ", | |
"######### ## ## ## ## ## ## ## ## ## ## ## ## #### ", | |
"## ## ######### ## #### ## ######### ## #### ## ## ", | |
"## ## ## ## ## ### ## ## ## ## ### ## ## ", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************************************** | |
* | |
* Description of file: | |
* Definition of FFF fileformat | |
* | |
* | |
* Copyright: FLIR Systems AB | |
***********************************************************************/ | |
#ifndef FFF_H | |
#define FFF_H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. FlyCapture2 SDK | |
/* Property */ | |
Property prop; | |
prop.type = propType; | |
mDevice->GetProperty( &prop ); | |
prop.autoManualMode = bAutoManualMode; | |
prop.onOff = bOnOff; | |
prop.absValue = fAbsValue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
USE_CUDNN := 0 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# uncomment to disable IO dependencies and corresponding data layers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Demo for aggregate channel features object detector on KAIST dataset. | |
% | |
% See also acfReadme.m | |
% | |
% Piotr's Computer Vision Matlab Toolbox Version 3.40 | |
% Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com] | |
% Licensed under the Simplified BSD License [see external/bsd.txt] | |
% | |
% 2015.06.02. Modified by Soonmin Hwang [smhwang-at-rcv.kaist.ac.kr] | |
% 2017.10.11. Update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Tested on updated toolbox: https://soonminhwang.github.io/rgbt-ped-detection/ | |
dataDir='data/kaist-rgbt/'; | |
addpath( genpath( 'pdollar-toolbox' ) ); | |
addpath( genpath( 'libs' ) ); | |
pLoad={'lbls',{'person'},'ilbls',{'people','person?','cyclist'},'squarify',{3,.41}, ... | |
'hRng',[45 inf],'vType',{'none','partial'},'xRng',[5 635],'yRng',[5 475]}; | |
ref = 10.^(-2:.25:0); | |
thr = .5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# pyTorch install script for NVIDIA Jetson TX1/TX2, | |
# from a fresh flashing of JetPack 2.3.1 / JetPack 3.0 / JetPack 3.1 | |
# | |
# for the full source, see jetson-reinforcement repo: | |
# https://github.com/dusty-nv/jetson-reinforcement/blob/master/CMakePreBuild.sh | |
# | |
# note: pyTorch documentation calls for use of Anaconda, | |
# however Anaconda isn't available for aarch64. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Execute command: [ | |
`which` | |
`cmake` | |
] | |
[/media/rcvlab/soonmin2017/gpu-acf/git/acf]> "which" "cmake" | |
/media/rcvlab/soonmin2017/gpu-acf/_ci/cmake/bin/cmake | |
Execute command: [ | |
`cmake` | |
`--version` | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subset = 'train'; | |
year = '2017'; | |
fid = fopen( sprintf('imageSets/%s/%s.txt', year, subset), 'r' ); | |
categories = textscan( fid, '%s' ); | |
categories = categories{1}; | |
fclose( fid ); | |
imgPath = 'JPEGImages/480p/%s'; | |
annPath = 'Annotations/480p/%s'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libgtk2.0-dev | |
sudo apt-get install -y pkg-config | |
sudo apt-get install -y python-numpy python-dev | |
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev | |
NewerOlder