Skip to content

Instantly share code, notes, and snippets.

Majid smajida

Block or report user

Report or block smajida

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
smajida / Install NVIDIA Driver and
Created Feb 7, 2019 — forked from zhanwenchen/Install NVIDIA Driver and
Install NVIDIA CUDA 9.0 on Ubuntu 16.04.4 LTS
View Install NVIDIA Driver and
View Pupil_Detection_Example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
smajida /
Created Jan 15, 2017 — forked from jdsgomes/
Deep Learning for Face Recognition

Deep Learning for Face Recognition (May 2016)

Popular architectures

  • FaceNet (Google)
    • They use a triplet loss with the goal of keeping the L2 intra-class distances low and inter-class distances high
  • DeepID (Hong Kong University)
    • They use verification and identification signals to train the network. Afer each convolutional layer there is an identity layer connected to the supervisory signals in order to train each layer closely (on top of normal backprop)
  • DeepFace (Facebook)
    • Convs followed by locally connected, followed by fully connected
smajida /
Created Nov 15, 2016 — forked from craffel/
Draw a neural network diagram with matplotlib!
import matplotlib.pyplot as plt
def draw_neural_net(ax, left, right, bottom, top, layer_sizes):
Draw a neural network cartoon using matplotilb.
>>> fig = plt.figure(figsize=(12, 12))
>>> draw_neural_net(fig.gca(), .1, .9, .1, .9, [4, 7, 2])
smajida / ballTracking.cpp
Created Oct 3, 2016 — forked from sm00th/ballTracking.cpp
OpenCV code for arduino balltracking project
View ballTracking.cpp
#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
using namespace std;
using namespace cv;
View ball_tracking.cpp
#include <Servo.h>
#define MIN_Y 90
#define MAX_Y 180
#define MIN_X 0
#define MAX_X 180
Servo tilt;
Servo pan;

MapRoulette Challenge Tutorial (ßeta)

You have played MapRoulette. You have seen some of the fun challenges. If you are reading this, you are probably thinking: 'I have a great idea for the next MapRoulette challenge!'


Great! That is exactly what I am here to explain step by step. So let's get started!

Step 1 - The Idea

smajida /
Created Aug 22, 2016 — forked from xamox/
Object Tracking with SimpleCV (White Ball)
This is how to track a white ball example using SimpleCV
The parameters may need to be adjusted to match the RGB color
of your object.
The demo video can be found at:
print __doc__

Storytelling from Space: Tools/Resources

This list of resources is all about acquring and processing aerial imagery. It's generally broken up in three ways: how to go about this in Photoshop/GIMP, using command-line tools, or in GIS software, depending what's most comfortable to you. Often these tools can be used in conjunction with each other.

Acquiring Landsat & MODIS

Web Interface

# "Colorizing B/W Movies with Neural Nets",
# Network/Code Created by Ryan Dahl, hacked by to work with movies
# 1. Download TensorFlow model from:
# 2. Use FFMPEG or such to extract frames from video.
# 3. Make sure your images are 224x224 pixels dimension. You can use imagemagicks "mogrify", here some useful commands:
# mogrify -resize 224x224 *.jpg
# mogrify -gravity center -background black -extent 224x224 *.jpg
You can’t perform that action at this time.