I'm experimenting with the OpenCV programming library as part of the Computational Photography course I'm taking at Coursera. I don't know if I'll be able to finish the course due to my other obligations, but I just thought I would share my first little test program so that my students might benefit.
This program reads in a picture file, then simply strips off the red, green, and blue channels and saves the files.
I've written the program so it can easily be adapted for other picture files. Simply replace "flower" with the base part of your filename in the img_base_name variable and enter the path to your picture file in the img_path variable. Note that the OpenCV and the numpy libraries must be installed and that you need to be using Python 2.x.
Here's my program:
# imports import cv2 # the computer vision library, from http://opencv.org/ import numpy as np # wasn't needed but is always imported in examples # make it easy to modify the program to use…
A friend of mine bought a dishwasher from Ray James Appliances in Niagara Falls. It was dented. Ordered a replacement. It arrived, also dented (with a forklift!). Ordered a replacement. The wrong one arrived, and the owner and the salesman condescendingly tried to convince my friend that it was the same one she bought, even though the one she bought was a higher end model with buttons ($100 upgrade) and the one that arrived had a dial (they are either idiots or swindlers). They later delivered the correct one. It leaked. It was then fixed, supposedly. (The repair guy told her he found a loose fitting, but told the owner that there was nothing wrong.) It leaked again a few days later.
I have called the store on behalf of my friend, as she is too upset about the whole episode to deal with them directly. The owner, Alec, refused to give her a refund. The only way he will give her a refund is to get the service guy to come back to her house and have her run the dishwasher and actually see …
Comments