Skip to content

Instantly share code, notes, and snippets.

@atinfinity
atinfinity / view_frames.md
Last active October 9, 2024 11:50
view_frames
We couldn’t find that file to show.
@atinfinity
atinfinity / ros2_humble_install macos.md
Last active March 20, 2024 02:26
ROS 2 Humble installation for macOS
@atinfinity
atinfinity / install-nvidia-container-toolkit-wsl2.md
Last active August 28, 2024 06:06
Install NVIDIA Container Toolkit on WSL2

Install NVIDIA Container Toolkit on WSL2

Preparation

Please install Ubuntu on WSL2.
I have executed the following procedures on Ubuntu 22.04 of WSL2.

Install Docker CLI

@atinfinity
atinfinity / opencv_cuda_g++11_build_error.md
Last active July 15, 2023 16:46
OpenCV with CUDAがg++11でビルドエラーになる問題の追試

macOSでopencv2.frameworkを使う

注意点

OpenCV 4.7.0時点の情報ですが、opencv2.frameworkを作成する環境に以下の制約があります。

  • MacOS 10.15 or later
  • Python 3.6 or later
  • CMake 3.18.5/3.19.0 or later (make sure the cmake command is available on your PATH)
  • Xcode 12.2 or later (and its command line tools)
@atinfinity
atinfinity / reComputer_J4012_CUDA Device Query.md
Created March 26, 2023 14:27
reComputer J4012(Jetson Orin NX) CUDA Device Query
 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "Orin"
  CUDA Driver Version / Runtime Version          11.4 / 11.4
  CUDA Capability Major/Minor version number:    8.7
  Total amount of global memory:                 14486 MBytes (15189422080 bytes)
  (008) Multiprocessors, (128) CUDA Cores/MP:    1024 CUDA Cores
@atinfinity
atinfinity / raspios-legacy-opencv4.7.0.md
Last active January 6, 2023 19:07
raspios-opencv4.7.0

environment

  • Raspberry Pi 4 Model B/8GB
  • 2022-09-22-raspios-buster-armhf.img.xz

setup

sudo apt update
sudo apt upgrade
@atinfinity
atinfinity / Dockerfile
Last active November 3, 2022 01:28
VHS Docker
FROM ubuntu:22.04
ARG UID=1000
ARG GID=1000
# add new sudo user
ENV USERNAME vhs
ENV HOME /home/$USERNAME
RUN useradd -m $USERNAME && \
echo "$USERNAME:$USERNAME" | chpasswd && \
@atinfinity
atinfinity / VPI_python_sample.md
Last active October 31, 2022 00:28
VPI Python APIを使ってみる
@atinfinity
atinfinity / Dockerfile
Created June 1, 2022 14:54
OnnxGraphQt_Docker
FROM ubuntu:20.04
ARG GID=1000
ARG UID=1000
# add new sudo user
ENV USERNAME onnx
ENV HOME /home/$USERNAME
RUN groupadd -f -g ${GID} ${USERNAME}
RUN useradd -m $USERNAME -u ${UID} -g ${GID} && \