Skip to content

Instantly share code, notes, and snippets.

View kuasha's full-sized avatar

Maruf Md Maniruzzaman Abbasi kuasha

View GitHub Profile
@kuasha
kuasha / googlenet.py
Created January 2, 2017 17:51 — forked from joelouismarino/googlenet.py
GoogLeNet in Keras
from scipy.misc import imread, imresize
from keras.layers import Input, Dense, Convolution2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, merge, Reshape, Activation
from keras.models import Model
from keras.regularizers import l2
from keras.optimizers import SGD
from googlenet_custom_layers import PoolHelper,LRN
def create_googlenet(weights_path=None):
// Tested on Raspberry Pi 3
#include<stdio.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv2/opencv.hpp"
#include <iostream>
using namespace cv;
/*
Use pin 2 and 4 for sound sensors trig/ echo pins.
ESC is attached to pin 5 (any PWM pin will work - but here we use 5)
Pin 13 has led on arduino board- so use it to signal stop
*/
#include <Servo.h>
Servo esc;
"""
RPi - L273D
Pin 3 - Enable1
Pin 5 - Input1
Pin 7 - Input2
- Output1 - Motor -VE
- Output2 - Motor +VE
"""
import RPi.GPIO as GPIO
@kuasha
kuasha / atCcI.markdown
Created August 2, 2014 15:48
A Pen by Maruf Maniruzzaman.
@kuasha
kuasha / hHGtC.markdown
Created July 31, 2014 18:58
A Pen by Maruf Maniruzzaman.