photo effect generator

photo effect generator


photo effect generator

This is a project that makes your photos look like an old television, but by using a real old television rather than relying on digital filters. Once you upload your picture it’s displayed and photographed on an old television set located somewhere in South West London and then returned to you in all its distorted glory. It’s the nearest thing you can get to handmade in the world of digital delivery!
It’s inspired by the great Insta CRT project which used a DSLR to take pictures of an old video camera viewfinder to create interesting photo effects. Unfortunately the mobile app which accompanied that project is for iPhone only and as an Android user I was unable to use it. Then I recently became the lucky owner of a Raspberry Pi and was looking for a little project to evaluate it. I had an old Canon A 70 digital camera and a splendid Rigonda VL-100 television set lying around, so I set about creating my own photo to telly converter.
The system can produce monochrome images directly or colour images by combining three separate images of the image RGB components. This video illustrates the process required to produce a colour image. However the app only processes monochrome images, partly because they don’t take as long to prepare but also because the idea here is to capture the distortion caused by physical effects and to minimise  digital processing.

Some image artifacts to look out for

  • Blooming: Images bow outwards in bright areas. This is caused by the increased beam current causing the tube HT voltage to drop.
  • Visible retrace lines: The beam fails to shut off completely during the vertical retrace period. This set is particularly prone to this, especially noticeable in dark images.
  • Pincushioning: This is an inevitable effect of using magnetic deflection. There’s a great explanation of it in The Secret Life of XY Monitors.
  • Poor dynamic range: Highlights are washed out, shadows lack detail.
  • Smeared vertical edges: Not so sure where this comes from. Could be the video drive transistors turning off too slowly or the effect of my composite video input bodge (see below).

System overview

The mobile app uploads the selected image to a directory on an FTP server. A shell script running on the Pi scans this directory every minute and downloads any new images. If it finds any it turns the TV on and waits for it to warm up. Then it displays and photographs each image in turn and uploads them back to the FTP server. It then sends an alert to the mobile app using Google Cloud Messaging. When the mobile receives this message it downloads the processed image from the FTP server, saves it to the device’s gallery and informs the user with a notification.
Now lets look at the system components in more detail.

The display

The Rigonda VL-100 was manufactured in the 70s by Mezon Works in Leningrad and I picked this one up in the early 80s for £5. It’s cluttered up my parent’s house for the last 30 years (sorry Mum) and so it was great for everyone that I could find a project to use it.
The TV only has an RF input and the tuner’s frequency control is pretty poor making it difficult to rely on it to stay tuned over a long period of time. So I added a composite video input for the set, capacitively coupling the composite signal into the receiver just after the AM detector diode. This gives a reasonable picture which is unaffected by the frequency drift of the tuner.
The TV is powered by 12v from an old PC power supply and is turned on and off by a relay controlled by one of the GPIO lines of the Pi. This allows the Pi to only turn the TV on when there are pictures to process. If no new pictures are received within 10 minutes the Pi turns the TV off and waits 15 minutes before scanning for more images so as not to stress the TV tube by repeated power cycling. Unfortunately this means that sometimes it might take several minutes to process an image but hopefully this strategy will prolong the tube’s life.

The camera

This is a Canon A70 which I rescued from a dustbin at my former employer in about 2005. It gave sterling service for many years, but like so many A70s it suffered from bad connections that made it too unreliable for everyday use. However it does support remote control over USB using gphoto2 allowing the Pi to take and download pictures automatically. Unfortunately the camera can’t engage macro mode under USB control so it’s set up at the minimum distance from the TV that still allows it to stay in focus:

This results in an image of the screen together with the surroundings, which is then cropped by the Pi using Imagemagick to give the final picture:

The Pi

The Pi used is a model B. It’s connected to the network via the on board Ethernet connector and to the camera via one of the two USB ports. Being Linux based it’s simple to install any drivers and packages required, making it a very powerful development platform.
TV connection
The Pi has a composite video output which makes it simple to connect to the TV. All that needs to be done for the display is to set the Pi’s video standard to 50Hz/PAL which can be done by uncommenting the line:
sdtv_mode=2
in /boot/config.txt and restarting.
GPIO setup and relay control
GPIO port 17 is used to control the TV power relay. The GPIO line is set up in the main control script by creating a file called setup_gpio.sh with the contents:
#prepare GPIO17 for output
echo "Setting up GPIO for output..."
echo "17" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio17/direction
chmod 666 /sys/class/gpio/gpio17/value
echo "Done."
This is then set to have root permissions:
chown root:root setup_gpio.sh
chmod 700 setup_gpio.sh
Now the port can be set up in the main script running as user ‘pi’ by executing:
sudo ./setup_gpio.sh
and turned on and off by writing 0 or 1 to the appropriate device file:
echo 0 > /sys/class/gpio/gpio17/value
echo 1 > /sys/class/gpio/gpio17/value
The IO line drives the relay using the following circuit:

Image display and capture

The images are displayed on the screen using the qiv command. This displays the image on the primary display, full screen, hiding the cursor and status bar:
qiv -f -m -i off --display=:0.0 image.jpg
And photographed/cropped using:
gphoto2 --capture-image-and-download --filename ./image.jpg --force-overwrite
convert ../out.jpg -crop 942x798+528+483 ./image.jpg

 Creating colour images

Just look at that pincushioning - those shelves are supposed to be parallel!
Once this is working, it’s a simple step to process colour images by taking three separate pictures of the red, green and blue channels and then combining them. First split the original image in to three channel images:
convert img.jpg -channel R -separate r.jpg
convert img.jpg -channel G -separate g.jpg
convert img.jpg -channel B -separate b.jpg
Once they’re photographed and cropped they can be combined to produce a single full colour image. The resulting pictures have an odd quality because unlike pictures of a conventional colour CRT, there’s no shadow mask or discrete phosphor dots. The pictures appear much more photographic.
convert r.jpg g.jpg b.jpg -set colorspace RGB -combine -set colorspace sRGB img.jpg

 The app

This is a simple Android app which allows the user to take a photo using the camera, or choose an image from the gallery. Once chosen the image is cropped to a 4:3 aspect ratio and uploaded to the FTP server. When processing is complete the server alerts the device with a GCM message which causes it to download the processed image from the FTP server. It’s been tried on a few devices but testing has by no means been exhaustive. Your mileage may vary. Known issues:
  • Sometimes the notification message can take a long time to arrive after it’s sent. If the notification doesn’t arrive to tell you your image is ready then click the ‘Browse your pictures…’ button in the app to see a list of your processed images.
  • You are identified to the server by a unique ID that’s generated when you first run the app. Uninstalling or clearing the app data will delete this ID and any pictures that haven’t been downloaded will then be inaccessible.
  • Processed images are saved at the back of the device gallery making them difficult to find.
  • The app relies on the device having the ability to crop images. If that’s not supported it won’t work. The Motorola Droid appears to crop but doesn’t return the image, instead setting the device wallpaper to the selected image.

Future development

There are several parts of the system that could do with improvement:
  • Polling an FTP server isn’t very efficient. Allowing the server to scp files direct to the Pi would be better.
  • This setup isn’t very scalable. It takes about a minute to process a monochrome image, longer for colour. Using a video camera instead of a digital camera could conceivably get the throughput to maybe 10fps. You’d need something with more power than a Pi to keep up with that though!

photoshop photo effect

Nicest of Photoshop Photo Effects 

some awesome effects i love the crack and peel really useful for some nice wall hanging artwork project that I had in mind!
I wish you good luck, while exploring and learning so you could spice up your own photos, impress friends and evolve your design  to create awesome photo effects in photoshop
Looking at how powerful Photoshop can be in terms of photo editing, it’s probably not important if you suck at taking photographs or being labeled an amateur photographer. As long as you picked up a couple of Photoshop photo editing skills, it will still impress those who sees it.
So the next time you want to publish some photos online, consider editing them so they look more impressive. Here’s a compilation of Nicest Photoshop Photo Effects you can take into reference. Full content after jump.
  1. Mental Wave Explosion Effect

    How to create a crazy explosion, like a mix of Magneto’s ability with Peter Petrelli’s power.
  2. Realistic Water Reflection

    How to easily add a realistic water reflection to any photo.
  3. Displacement Effects

    How to use a variety of filters and techniques to produce an image in an experimental style.
  4. Make Photos More Suggestive

    Learn how to make the model in this tutorial more suggestive with awesome curves
  5. Halftone Dots And Linear Light

    A very cool linear light halftone dot effect in less than 2 minutes.
  6. Retro Comic Book Effect

    Creating a old comic book effect for your photos.
  7. Add Realistic Rainbow To A Photo

    Easily add a rainbow, even a double rainbow, to a photo.
  8. How To Make Digital Photos Look Like Lomo Photography

    Take a digital photo and make it Lomoified
  9. Creating A Rocking Silhouette

    How to create a silhouette of a person taken from a normal photo, adding colorful light to it as if the light source is located behind this object.
  10. Adding Reflections To Sunglasses

    How to add reflections, or at least, different reflections, to sunglasses.
  11. Age Progression

    Go about aging a woman’s face in Photoshop.
  12. Alien Invasion

  13. Dark Art Picture Style

    How to combine some stocks and Photoshop techniques to make an amazing dark art picture style.
  14. Bringing A Stone Statue To Life

    How to take a stone statue and alter it to look life-like.
  15. Changing Hair Color

  16. Photo Edit Color Effects

  17. Add Another Dimension

    Create stunning effects using glows.
  18. Crack And Peel

  19. Cool Halftone Effect

    How to create halftone patterns and creatively cut up an image of a model holding a boombox.
  20. Creating Energy Spheres

  21. Devil’s Eyes

    How to make eyes look more sinister
  22. Dynamic Lightning

    How to spice up a fairly dull and flat photograph.
  23. Eery-Eye Photo Manipulation

  24. Expressive Lighting Effects

    How to go about combining several lighting techniques
  25. Fantasy Art

  26. Fiery Photoshop Space Explosion

    Creating a spectacular space scene featuring two planets colliding.
  27. Color Hair Locks

    Getting the hair colored in just few minutes.
  28. Beautiful Lady Effect

  29. How To Turn Your Photo Into Movie-Like Effect

  30. Mosaic, Fill A Photo With Photos

    Create a bit of an optical illusion, filling one photo with many smaller photos, or at least, many copies of a couple of smaller photos.
  31. Photoshop Effects: Focus With Light

    How to add focus to an image with light, using Photoshop’s Lighting Effects filter and multiple light sources.
  32. Zombie

    Turning Mandy Moore or anyone into zombie.
  33. Super Slick Dusky Lighting Effects

    Put together a sunset image mixing some vector shapes and dusky lighting effects to produce a slick image that would make a nice album cover for a chillout mix!
  34. Transform A Person Into An Alien

    How to create a very cool looking alien using Adobe Photoshop
  35. Seriously Cool Photoshop Explosion Effect

    How to break apart a body, then add some awesome lighting and glow, and nopattern style, to finish the image off.
  36. Reflective Bubble

  37. How To Make Circle Pixels (Pop-Art Style)

  38. Easy Watercolor Painting Effect

    How to easily make a photo look more like a watercolor painting.
  39. Watercolor Effect

  40. Realistic Tattoos

    This tutorial uses a few basic photoshop techniques, masking, color adjustment, liquify and the resize and transformation tools.
  41. Robotic Frog

    How to take a regular frog and opened him up to reveal a mechanical skeleton.

More Photoshop Tutorials