I hereby claim:
- I am sksavant on github.
- I am sksavant (https://keybase.io/sksavant) on keybase.
- I have a public key whose fingerprint is 1EBC D77C 6137 696B F72A B4DB 933E FAD3 BBCA 6F93
To claim this, I am signing this object:
# This is the problem for First technical round for the role of Computer Vision Engineer at Vectorly | |
# More details at https://www.linkedin.com/jobs/view/1629909785/ | |
# | |
# Write a function which will segment and extract the text overlay "Bart & Homer's EXCELLENT Adventure" | |
# Input image is at https://vectorly.io/demo/simpsons_frame0.png | |
# Output : Image with only the overlay visible and everything else white | |
# | |
# Note that you don't need to extract the text, the output is an image with only | |
# the overlay visible and everything else (background) white | |
# |
# install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libgtk2.0-dev | |
sudo apt-get install -y pkg-config | |
sudo apt-get install -y python-numpy python-dev | |
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install -y libjpeg-dev libpng12-dev libtiff5-dev libjasper-dev | |
/* | |
Taken and cribbed from blog.datalicious.com/free-download-all-australian-postcodes-geocod | |
May contain errors where latitude and longitude are off. Use at own non-validated risk. | |
*/ | |
SET NAMES utf8; | |
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
DROP TABLE IF EXISTS postcodes_geo; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# trashit | |
# original script | |
# http://www.macosxhints.com/article.php?story=20030217172653485 | |
# author: Shane Celis <shane (at) gnufoo (dot) org> | |
# | |
# Sun, 20-May-2007; 06:47:22 | |
# minor changes... |
# Recursively add a .gitignore file to all directories | |
# in the working directory which are empty and don't | |
# start with a dot. Helpful for tracking empty dirs | |
# in a git repository. | |
for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done; |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
These are the scripts I use to create the playlists for the AI Class (available here: http://www.mrspeaker.net/2011/10/26/ai-class-playlists/). It's not pretty, but it works. I put them up here due to popular demand. | |
The first stage is to grab the video list HTML from YouTube and extract/sort the videos. This is done with the Video_ID_scraper.html file (instructions there). | |
Next, paste the video info into the YouTube_Playlist_Uploader.py script and it generates the playlist. It relies on the GData APIs so you need a dev key etc. | |
Any questions to [email protected] |