Skip to content

Instantly share code, notes, and snippets.

View kekeblom's full-sized avatar

Kenneth Blomqvist kekeblom

View GitHub Profile
@kekeblom
kekeblom / stray_visualize.py
Created March 10, 2021 19:18
A script to visualize data collected with Stray Scanner http://keke.dev/blog/2021/03/10/Stray-Scanner.html
import os
import open3d as o3d
import numpy as np
from scipy.spatial.transform import Rotation
from argparse import ArgumentParser
from PIL import Image
import skvideo.io
description = """
This script visualizes datasets collected using the Stray Scanner app.

Keybase proof

I hereby claim:

  • I am kekeblom on github.
  • I am kenken (https://keybase.io/kenken) on keybase.
  • I have a public key ASDgcdvMikOBH4FN1tHAKLz378HxnnwZju9JNwb70GBCXQo

To claim this, I am signing this object:

@kekeblom
kekeblom / scrape-google-image-search.py
Created November 5, 2016 13:17
A script for scraping image thumbnails from google image search using selenium.
# Copyright (c) 2016 Kenneth Blomqvist
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT