Skip to content

Instantly share code, notes, and snippets.

View SeeringPhil's full-sized avatar

Philippe SeeringPhil

View GitHub Profile
@Zulko
Zulko / soccer_cuts.py
Last active March 31, 2024 12:03
A python script to automatically summarize soccer videos based on the crowd's reactions
#
# This Python script makes a summary of a football game by cutting
# the video around the 10 % loudest moments, which generally
# include the goals and other important events.
# For more details, see this blog post:
# http://zulko.github.io/blog/2014/07/04/automatic-soccer-highlights-compilations-with-python/
#
# LICENCE: Creative Commons 0 - Public Domain
# I, the author of this script, wave any rights and place this work in the public domain.
#
@cahartsell
cahartsell / rosbag_speed_test.py
Created August 6, 2021 15:33
Simple python script for testing the read speed of ROS bag files using multiple threads/processes.
import glob
import os
import rosbag
import concurrent.futures
import multiprocessing
import time
USE_MULTIPROCESSING = True # Flag to switch between concurrent/multiprocessing libraries
NUM_WORKERS = 8 # Number of worker threads/processes
@bladeSk
bladeSk / Unity-Linux-VSCode-Intellisense-Debugger.md
Last active October 20, 2024 18:38
How to install Unity3D on Ubuntu based Linux distros (Kubuntu, Xubuntu, POP_OS, Mint, Neon, Zorin, etc.).

How to install Unity3D on Ubuntu based Linux distros (Kubuntu, Xubuntu, POP_OS, Mint, Neon, Zorin, etc.).

This guide details how to install UnityHub, Unity, VS Code and how to get full C# support with IntelliSense and debugging.

Tested on Kubuntu 22.04.

Installing Unity Hub

Unity Hub won't run on Ubuntu newer than 20.04 because it depends on an outdated libssl. We need to manually install the package from 20.04: