Skip to content

Instantly share code, notes, and snippets.

View awangenh's full-sized avatar

Aldo von Wangenheim awangenh

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@awangenh
awangenh / single
Created April 10, 2019 23:11 — forked from tibaes/single
IPython display cv images
# Using docker goldenheart:1.1.0
# pip3 install matplotlib
# Import the required modules
%pylab inline
import cv2
from IPython.display import clear_output
frame = cv2.imread("image.jpg")
frame = cv2.cvtColor(frame, cv2.COLOR_RGB2BGR)
@awangenh
awangenh / access_webcam_matplotlib_notebook_sigint.ipynb
Created April 10, 2019 20:57 — forked from neotheicebird/access_webcam_matplotlib_notebook_sigint.ipynb
Acces webcam for image processing. SIGINT signal is captured to exit while loop.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@awangenh
awangenh / ForwardDiff_Foley_vanDam.pde
Last active November 23, 2018 23:24
COMPUTE AND DRAW A BICUBIC SURFACE PATCH USING FORWARD DIFFERENCES - This code implements and provides corrections to the algorithm named DrawSurfaceFwdDif presented in Fig.11.46 at page 525 of the book Computer Graphics - Principles and Practice 2.ed in C by James D.Foley et.al.
/* ============================================================================= *
* COMPUTE AND DRAW A BICUBIC SURFACE PATCH USING FORWARD DIFFERENCES *
* *
* This code implements and provides corrections to the algorithm named *
* DrawSurfaceFwdDif presented in Fig.11.46 at page 525 of the book *
* Computer Graphics - Principles and Practice 2.ed in C by Jamed D.Foley et.al. *
* This algorithm was neither corrected nor repeated in the 3rd (present) *
* edition of Foley et.al.'s book. *
* *
* The algorithm, as stated in the book, does not work: There is one error and *