Skip to content

Instantly share code, notes, and snippets.

View muhammadyaseen's full-sized avatar
💭
Building ML systems 🤖 🪨

Muhammad Yaseen muhammadyaseen

💭
Building ML systems 🤖 🪨
View GitHub Profile
@muhammadyaseen
muhammadyaseen / LinkSpriteCam
Created June 25, 2014 11:35
Adapted example from linksprite site, it transfers JPEG image taken from camrea to Arduino Serial port and from there -through USB- to Computer
//*******************************************************
// www.linksprite.com
// Note:
// 1. SD must be formated to FAT16
// 2. As the buffer of softSerial1 has 64 bytes,
// so the code read 32 bytes each time
// 3. Please add the libaray to the lib path
//
// * SD card attached to SPI bus as follows:
// * MOSI - pin 11
@muhammadyaseen
muhammadyaseen / DataPackets
Last active August 29, 2015 14:02
Demonstrates creation on data packets from JPEG and reassembling of data packets into JPEG
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace JPEGProcess
{
/// <summary>
/// Can be used to:
@muhammadyaseen
muhammadyaseen / JPEG-To-HEX
Last active August 29, 2015 14:02
This program writes the HEX representation of a JPEG image to the Console Window
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace JPEGProcess
{
/// <summary>
/// This program writes the HEX representation of a JPEG image to the Console Window
@muhammadyaseen
muhammadyaseen / main.cpp
Created February 1, 2014 15:24
Code for thread on SFML forums
//main.cpp file
#include <iostream>
#include <Box2D/Box2D.h>
#include <SFML/Graphics.hpp>
#include <ctime>
#include <string>
#include <stdio.h>
#include <vector>
#include "SFMLDebugDraw.h"