Skip to content

Instantly share code, notes, and snippets.

View Aarav-Juneja's full-sized avatar

Aarav Juneja Aarav-Juneja

  • Pleasanton, CA
  • 18:04 (UTC -07:00)
View GitHub Profile
@Aarav-Juneja
Aarav-Juneja / traffic.py
Created May 10, 2022 04:15
My faulty CS50 AI project
import cv2
import numpy as np
import os
import sys
import tensorflow as tf
from sklearn.model_selection import train_test_split
EPOCHS = 10
IMG_WIDTH = 30
@Aarav-Juneja
Aarav-Juneja / helpers.c
Created November 2, 2020 02:32
Code for CS50 Stack Exchange
#include "helpers.h"
#include <math.h>
#include <stdio.h>
#include <cs50.h>
// Convert image to grayscale
void grayscale(int height, int width, RGBTRIPLE image[height][width])
{
// each row
for (int y = 0; y < height; y++)
{