Skip to content

Instantly share code, notes, and snippets.

View TobidieTopfpflanze's full-sized avatar
😅
Hey, Tobi here!

Tobi TobidieTopfpflanze

😅
Hey, Tobi here!
View GitHub Profile
@TobidieTopfpflanze
TobidieTopfpflanze / soc_temp.md
Created February 25, 2022 08:54
Watch SOC temp Jetson
@TobidieTopfpflanze
TobidieTopfpflanze / IMX219_stream.md
Created February 25, 2022 10:13
IMX219 Gstreamer pipeline jetson

IMX219 stream

The parameter sensor-id= describes the camera target. This id can be found by using ls /dev/. If the camera correctly plugged in then there should be a devices called /dev/videoX, where X is the camera id.

test@test-desktop:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1' ! nvvidconv ! queue ! xvimagesink
@TobidieTopfpflanze
TobidieTopfpflanze / GUI.md
Created April 21, 2022 13:13
Enable/Disable GUI Jetson

Enable/Disable GUI Jetson

Disable

sudo systemctl set-default multi-user.target

Enable

sudo systemctl set-default graphical.target

function getFilePaths(
folderPath,
customFilter = () => true,
maxDepth = -1,
depth = 0
) {
if (depth == maxDepth) return [];
const entries = readdirSync(folderPath).map((entries) =>
Path.join(folderPath, entries)