Skip to content

Instantly share code, notes, and snippets.

View bertjiazheng's full-sized avatar

Jia Zheng bertjiazheng

View GitHub Profile
@bertjiazheng
bertjiazheng / PY-Drawing3D.ipynb
Created October 31, 2022 13:12 — forked from WetHat/PY-Drawing3D.ipynb
Matplotlib: 3D Arrows and 3D Annotations
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bertjiazheng
bertjiazheng / fusion.py
Last active June 2, 2022 02:09
Fusion the multi-view RGB-D perspective data in Structured3D dataset
import cv2
import numpy as np
import open3d as o3d
def normalize(vector):
return vector / np.linalg.norm(vector)
def parse_camera_info(camera_info, height, width):
@bertjiazheng
bertjiazheng / ieee_fullname.bst
Created September 29, 2020 10:30 — forked from Randl/ieee_fullname.bst
CVPR bibliography with natbib support
% Fixed extra right bracket
%
% Evgenii Zheltonozhskii, 09/28/2020, zheltonozhskiy@gmail.com
%
% ---------------------------------------------------------------
% Modified CVPR ieee_fullname.bst to support natbib
%
% Evgenii Zheltonozhskii, 03/10/2019, zheltonozhskiy@gmail.com
%
% ---------------------------------------------------------------
@bertjiazheng
bertjiazheng / gans_vs_deep.py
Created September 18, 2018 10:56 — forked from jponttuset/gans_vs_deep.py
Scrape Paper Titles from CVF Open Access and Plot Evolution of GANs vs Deep in XKCD Style
import matplotlib.pyplot as plt
def get_percent_from_files(confs, keywords):
percents = []
for conf in confs:
file = open('titles/'+conf+'.txt', 'r')
all_titles = [line.rstrip('\n') for line in file.readlines()]
file.close()
count = 0