Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
from PIL import Image | |
import glob | |
import os | |
original_label_dir = '{YOLO DATASET PATH}' | |
image_dir = '{PNG IMAGE DIR}' | |
label_dir = '{KITTI TYPE LABEL PATH}' |
This file contains 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
2.5 2.4 | |
0.5 0.7 | |
2.2 2.9 | |
1.9 2.2 | |
3.1 3.0 | |
2.3 2.7 | |
2 1.6 | |
1 1.1 | |
1.5 1.6 | |
1.1 0.9 |
This file contains 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
import scipy.ndimage as ndimage | |
import cv2 | |
import numpy as np | |
def generate_dct(n): | |
m = np.zeros((n, n)) | |
for i in range(n): | |
for j in range(n): | |
m[i, j] = np.sqrt(2 / n) * np.cos((np.pi / n) * (i + 0.5) * (j + 0.5)) |
This file contains 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
#include <iostream> | |
#include "pipeline/manager.h" | |
#include "video/analyze.h" | |
#include "probes.h" | |
int main(int argc, char** argv) |
This file contains 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
cmake_minimum_required(VERSION 3.5) | |
project(live555 C CXX) | |
include_directories( | |
BasicUsageEnvironment/include | |
groupsock/include | |
liveMedia/include | |
UsageEnvironment/include | |
) |
This file contains 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 | |
function build_ffmpeg | |
{ | |
echo "Configuration" | |
./configure \ | |
--prefix=$prefix \ | |
--enable-neon \ | |
--enable-hwaccels \ |
This file contains 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
#include <windows.h> | |
#include <shellapi.h> | |
#include <ShObjIdl_core.h> | |
#include <ShlObj.h> | |
#include <IntShCut.h> | |
#include <iostream> | |
#include <chrono> | |
#include <ctime> |
This file contains 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 | |
sudo apt install build-essential zip unzip python3-pip python3-dev | |
sudo apt install python3-numpy | |
sudo apt install python3-opencv | |
sudo apt install python3-scipy | |
mkdir thirdparty |
This file contains 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
import threading | |
import random | |
import time | |
import sys | |
import os | |
class ASDFException(BaseException): |