A Pen by Maruf Maniruzzaman on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
RPi - L273D | |
Pin 3 - Enable1 | |
Pin 5 - Input1 | |
Pin 7 - Input2 | |
- Output1 - Motor -VE | |
- Output2 - Motor +VE | |
""" | |
import RPi.GPIO as GPIO |
A Pen by Maruf Maniruzzaman on CodePen.
NewerOlder