Difference between revisions of "DPS921/ASCII"

From CDOT Wiki
Jump to: navigation, search
(Reading and Writing images and video)
(OUTPUT Samples)
Line 23: Line 23:
 
#[https://drive.google.com/open?id=1RyMGe1UBu03sR5hCYzS6r4Gk_GEQlDLn Reverse sampling with white colour font and black colour background]
 
#[https://drive.google.com/open?id=1RyMGe1UBu03sR5hCYzS6r4Gk_GEQlDLn Reverse sampling with white colour font and black colour background]
 
#[https://drive.google.com/open?id=16L94F9Za4bmryrSS7cEV_oWbfp3vl4vB Text file of R2D2 above]
 
#[https://drive.google.com/open?id=16L94F9Za4bmryrSS7cEV_oWbfp3vl4vB Text file of R2D2 above]
'''Note:''' for best video quality download the files for view since Google compresses them further for playback in browsers. For text file you'll need to decrease font such that no lines wrapped unto to the next line and use '''''monospace''''' font.
+
'''Note:''' for best video quality download the files for view since Google compresses them further for playback in browsers. For text file you'll need to decrease font such that no lines wrap unto to the next line and use '''''monospace''''' font.
 
 
  
 
===Working with image and video files===
 
===Working with image and video files===

Revision as of 20:39, 28 November 2018

NoName or Pixels2

Team Members

  1. Alex
  2. Dmytro
  3. Yuriy Kartuzov


Google slides presentation

Google Slides presentation can be found here


ASCII Art (Yuriy)

Introduction

The idea is take an image and turn it into a pictorial representation using ascii character. We use PNG as input and TXT file as output. The idea with TXT format is that they can be pasted into editors, their font can be modified, text colour and background changed for a customized look.

R2d2.jpg

We decided to take it a step further and output a PNG file as well. This loses some of the functionality mentioned above, however now we are able to process videos since we can take a frame and run our algorithm through it. Having a video will also highlight how efficient our algorithm can run and whether we can keep up with live processing.


OUTPUT Samples

  1. Live video stream
  2. Video file processing
  3. Reverse sampling with white colour font and black colour background
  4. Text file of R2D2 above

Note: for best video quality download the files for view since Google compresses them further for playback in browsers. For text file you'll need to decrease font such that no lines wrap unto to the next line and use monospace font.

Working with image and video files

Opencv.jpg is an open source computer vision library which can do a lot of cool stuff. As beginners we use it for:

  • Read and write image files
  • Read and write video files
  • Read from video stream like camera
  • Display video in native OS window

vTune Amplifier with OpenMP (Alex)

Intel Adviser (Dmytro)