Skip to content

CodeJam-by-CSE/Univesity-NestJs

Repository files navigation

CodeJam Logo

Introduction

Professor Roshan Thennakoon from the University of Moratuwa created this challenge for his CS4051 Image Processing students. While many excel at theory, he noticed they struggle with identifying subtle bugs in real-world code. This NestJS application implements core image processing algorithms that are divided into three sections.

  1. Basic Processing Algorithms
    • Greyscale
    • Negative
    • Resize
    • Rotate
    • Sharpen
    • Contrast
    • Emboss
  2. Image Enhancement Algorithms
    • Flood-fill
    • Histogram equalization
  3. Feature Detection Algorithms
    • Canny Edge Detection
    • Harris Corner Detection

This code contains deliberately planted logical errors that produce visual anomalies without causing compilation failures.

Your Mission

Your task is to find and fix all logical bugs in the codebase, document what was wrong with each implementation, and demonstrate how your fixes improve the output images. Success requires not just coding skills, but a deep understanding of image processing fundamentals and the ability to trace algorithm execution when results don't match expectations.

Project setup

$ npm install

Run all the services given below

# run main service
$ npm start cse40

# run basic-processing service
$ npm run start:basic-processing

# run enhancement service
$ npm run start:enhancement

# run feature-detection service
$ npm run start:feature-detection

Access the swagger API Documentation http://localhost:3000/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors