Video & Image Colorization Using OpenCV Python | AI COLORIZATION FOR IMAGES & VIDEOS

preview_player
Показать описание
Python image colorization and video colorization with OpenCV. AI colorization model is used to colorize images and videos. I not only walk you through how to colorize black and white images but also how to obtain a speedup using CUDA with OpenCV for the colorization of black and white videos. The method of colorization works for grayscale images as well and has some astonishing results on portrait colorization.

*Code is available for our Patreon Supporters*

---------------------------------------------
► Time Stamps:
Introduction: (0:00)
Image Colorization with OpenCV: (0:14)
Video Colorization with OpenCV: (6:50)
Video Colorization with CUDA: (9:49)
---------------------------------------------
► Links:
---------------------------------------------
Want to discuss more?

#TheCodingBug
#colorization
---------------------------------------------
► My Other Tutorials:
---------------------------------------------
---------------------------------------------
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you!
Рекомендации по теме
Комментарии
Автор

► My Other Tutorials:
Build and Install OpenCV 4.5.1 With CUDA GPU Support on Windows 10

Face Detection Using OpenCV Python with CUDA GPU Acceleration

YOLOv4 On Android Using TFLite

Custom YOLOv4 Object Detection with TensorFlow and TFLite

Darknet YOLOv4 Custom Object Detection: Part 2 (Training YOLOv4 Darknet)

Darknet YOLOv4 Custom Object Detection: Part 1 (Preparing Custom Dataset)

YOLOv4 Object Detection with TensorFlow, TFLite and TensorRT

Darknet YOLOv4 Object Detection for Windows 10 on Images, Videos, and Webcams

Real Time Object Detection on Webcam and Videos Using OpenCV With YOLOv3 and YOLOv4 | Windows Linux

Build and Install OpenCV 4.4.0 with CUDA (GPU) Support on Windows 10

Install TensorFlow GPU and PyTorch with CUDA on Windows 10 Anaconda | CUDA 10.1 cuDNN 7.6

Real-time Multiple Object Tracking with YOLOv4 TensorFlow and Deep Sort | Linux, Windows

TheCodingBug
Автор

thanks, after some changes and Jesus, it worked fine

brunospfc
Автор

cuda cv2 speedup isn’t working for the processVideo, it’s killing the kernel is there any solution for this? Please help

keerthiudayashankar
Автор

When I try to colorize the video, it gives me this error:

Cv2.error opencv(4.5.4-dev) :-1 error: (-5 argument) in function ‘VideoWriter’
- Can’t parse ‘frameSize’. Expected sequence length 2, got 3
- Videowriter() missing required argument ‘frameSize’ (pos 5)
- Videowriter() missing required argument ‘Params’ (pos 5)
- VideoWriter() missing required argument ‘frameSize’ (pos 5)

Can someone please help me if I am doing anything wrong?

mrdc
Автор

Hi,
Hope your doing well
I Have a question
I have trained a yolo model with darknet with some data.
Now I want to add some more data to the model can I trained on the last weight file from the previous training and will it retain the training information ?

hamzashah
Автор

can i get full code you shown in tutorial...please share me the link of your code.

rajeshkatta
Автор

The code has been updated, I tried with your code and the new one but it gave an error

felliperibeiroteixeira
Автор

i dont know why it says imgFinal not initialised in processVideo()

shubhamshinde
Автор

Sir I have tried this but there is some error coming in my code

harshsrivastava