Open Source Code

Open Source Code

Date
October 1, 2024
Tags
CodeBusiness Concept

TaskRunner - April 2022

Overview

TaskRunner is a task scheduler designed to queue and run various tasks using Selenium, optimized to run on a spare laptop during the day. It is a flexible and efficient tool for automating repetitive tasks, making use of available computational resources.

Features

  • Task Scheduling: Queue and manage the execution of tasks.
  • Automation: Utilize Selenium to automate web-based tasks.
  • Logging and Notifications: Plans to include logging capabilities and push notifications.

Setup and Installation

  1. Install Python:
    • Ensure you have the latest version of Python 3.x installed.
  2. Install Dependencies:
    • Use the following command to install the required Python packages:
    • pip install -r requirements.txt
      
  3. Setup Chromedriver:
    • Download the latest version of Chromedriver from here and save the executable to your PATH.
  4. Configure Jobs:
    • Create a jobs.json database for the task runner using jobs-example.json as a template.

Usage

To start the task scheduler, run the following command:

python runner.py

Reddit Meme Classifier - May 2019

Overview

The Reddit Meme Classifier is a project designed to use Reddit’s API to download trending memes and classify them using basic image recognition techniques. The primary goal is to automate the identification and categorization of memes based on their visual content.

How It Works

The algorithm compares any given image to a set of pre-labeled memes stored in the comparisons/ directory. It resizes the comparison images to match the input image and then compares the individual RGB values for each pixel. This method is similar to the Euclidean distance classifier, as it compares against one sample per class.

Dependencies

To run this project, you need to install the following dependencies:

  • numpy:
  • sudo pip install numpy
  • opencv:
  • sudo pip install opencv

Usage

To classify an image on your local machine:

python classify.py /path/to/image

To classify an online image resource, add the --url flag:

python classify.py <http://image.url/path/to/image> --url

For verbose output, add the --verbose flag:

python classify.py /path/to/image --verbose

To set a different comparison meme directory, use the --comparisons_dir flag:

python classify.py /path/to/image --comparisons_dir /path/to/comparisons

Future Work

  • Develop a meme rating system.
  • Create a recommendation system based on user ratings.
  • Extend computer vision capabilities to extract text from memes.
  • Further classify and recommend memes using both text and meme type.

Raterhood - February 2019

💬
Raterhood was developed by four students at the University of New Hampshire for the Liberty Mutual Hackathon on February 12th, 2018.

Raterhood is a map-centered website, overlaying color-coded zip code areas based on safety and crime data while using Liberty Mutual's API.

Certiforce - April 2017

💬
Certiforce was the product of an overnight hackathon