Saturday, April 24, 2021

Reliving History: Nehru's 1958 Visit to Thiruvananthapuram in Stunning 4K Color Restoration with Deep Learning AI

This is my first attempt of video restoration with deep learning AI models.

Color restoration using deep learning AI is an exciting and innovative technology that can bring old black and white photographs and videos to life. By using artificial intelligence algorithms, it is possible to add color to historic images and videos with incredible accuracy and detail, providing a new and captivating way to relive the past.

One fascinating example of the power of deep learning AI color restoration is the restoration of old footage of Jawaharlal Nehru's visit to Thiruvananthapuram in 1958. The original footage was in black and white, but with the help of deep learning AI, it has been colorized to stunning effect, providing a vivid and immersive experience of this historic event.

The process of color restoration using deep learning AI involves training a neural network on a vast dataset of images and videos to recognize and replicate the colors that would have been present in the original scene. This involves teaching the network to recognize patterns and textures, as well as to understand the relationships between different colors in the image.

Once the neural network has been trained, it can be used to colorize new images and videos with remarkable accuracy. The technology can be used to add color to everything from historic photographs and film footage to more recent digital media, providing a new and engaging way to experience the past.

Color restoration using deep learning AI is not without its challenges, however. The technology requires access to high-quality source material, as well as careful calibration to ensure that the colors are accurately replicated. It also requires significant computational resources to process large datasets and produce high-quality results.

Despite these challenges, the potential benefits of color restoration using deep learning AI are enormous. By bringing historic images and videos to life in full color, this technology offers a new and immersive way to experience the past, enabling us to connect with history in a more immediate and engaging way than ever before.

Processing done

  • Denoising/Deinterlacing/Restoration with fewer motion artifacts and video detail recovery using AI Enhanced models.
  • Colorization using deep learning AI models.
  • 4K 60fps conversion.

Input: 640×360/672×504 @ 25fps in B/W

Output: 3140×2160 @ 60fps in Color

You can view original source videos from here:

And

https://www.britishpathe.com/video/VLVACT3MUL8FNYRS3E8VQLKBB3S89-INDIA-NEHRU-VISITS-KERALA/query/VISIT

Behind the video,
For the first time since the Communist assumption of power in the state of Kerala, India, the Prime Minister of India, Mr. Jawaharlal Nehru has paid an official state visit.

His first point of call was at Trivandrum, the capital where he was met by the Governor of the State, Mr Ramakrishna Rao (wearing the cap) and the Communist Chief Minister Mr. E.M.S. Nambudripad. The Governor garlanded Mr. Nehru as he stepped down from the plane, and shook hands. Then flowers and Arti (candle lights) were offered in Kerala traditional, fashion, and 68 pigeons were released to follow the one Mr. Nehru released, the whole to symbolize Mr. Nehru’s 69 years of peaceful life.

On the way into the town shouting crowds lined the route ‘Nehru Zindabad’ they called – Long Live Nehru – Later Mr. Nehru inaugurated the Mahatma Gandhi College in Trivandrum.

Here is the final rendering,

Tuesday, February 2, 2021

DIY Custom Ambient Light for Your PC: Create a Stunning Visual Experience on a Budget with Arduino and RGB LED Strip

If you are a PC enthusiast, you know the value of customizing your setup to suit your style and preferences. One great way to do this is by adding ambient lighting to your PC setup. This can create a more immersive and dynamic visual experience, adding depth and dimension to your gaming, movies, or work. In this blog, we will explore how to create a cheap custom ambient light for your PC using Arduino, RGB LED Strip, and a LED frame.

The ambilight that I’ve built is completely DIY and uses RGB LEDs with integrated controllers and an Arduino. Lights will change based on what you have in your screen.

Materials:

  • Arduino Nano
  • WS2812B RGB LED Strip
  • LED Frame
  • Jumper wires
  • USB cable
  • Soldering iron
  • Solder wire
  • Heat shrink tube
  • Power supply


Steps:

  1. Assemble the LED frame by following the manufacturer's instructions. Ensure that the frame is large enough to fit behind your monitor and that it is securely mounted.
  2. Cut the RGB LED strip to the length of the LED frame. Make sure to cut it at the designated cutting points on the strip.
  3. Connect the power supply to the LED strip. The power supply should be rated to match the voltage and current requirements of the LED strip.
  4. Solder jumper wires to the LED strip's data input and ground. Connect these wires to the Arduino Nano's digital pin 6 and ground pin, respectively.
  5. Connect the Arduino Nano to your computer using a USB cable.
  6. Install the FastLED library in your Arduino IDE. This library allows you to control the LED strip using Arduino code.
  7. Write the code for your custom ambient light. The code should use the FastLED library to control the color and brightness of the LED strip. You can customize the code to suit your preferences and style.
  8. Upload the code to the Arduino Nano.
  9. Test the LED strip to ensure that it is working correctly.
  10. Insert the LED strip into the LED frame, making sure that each LED lines up with the corresponding slot in the frame.
  11. Connect the power supply to the Arduino Nano and turn on your PC. The LED strip should light up, displaying the colors and patterns you programmed in the code.

Creating a custom ambient light for your PC is an excellent way to add some personality and style to your setup. With a little bit of DIY know-how and some inexpensive materials, you can create a custom ambient light that is tailored to your preferences and style. So why not give it a try and see how it can transform your PC experience!

This setup is very cheap but only works on a PC. You cannot use this for your Blu-ray player or standalone TV. This could work on an Android TV but not tested.

Below is the final working version,

And here are some pics of the completed product,









Cost of Components

  • Arduino (Nano is preferred Cost: INR 300/)
  • RGB LED Strip (Cost: INR 350/-)
  • LED 5V Power Adapter (Cost: INR 250/-)
  • Frame for setting up the LED Strip (Cost: INR 200/-)

Popular Posts