程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Color black and white old photos based on OpenCV DNN module (with python/c++ source code)

編輯:Python

Click below card , Focus on “OpenCV And AI Deep learning ” official account !

Reading guide

This article will share with you a OpenCV DNN Example of module coloring black and white old photos , And give Python and C++ Version source code .

Background introduction

     This project is based at the University of California , Berkeley ,Richard Zhang,Phillip Isola and Alexei A. Efros Research work developed --Colorful Image Colorization, Corresponding paper address :https://arxiv.org/pdf/1603.08511.pdf, Author project github Address :https://github.com/richzhang/colorization/tree/caffe

     As explained in the original paper , The authors accept the potential uncertainty of the problem , Make it a classification task , Use category rebalancing during training to increase color diversity in results . Artificial intelligence (AI) Method at the time of testing CNN(“ Convolutional neural networks ”) As a feedforward transfer , And in 100 Training on more than ten thousand color images .

     The color space model to be used in this project is “Lab”.CIELAB Color space ( Also known as CIE L*a*b* Or sometimes abbreviated to “Lab” Color space ) It's the international lighting Commission (CIE) stay 1976 Color space defined in . It represents the color as three values ,L* Indicates brightness ,a* and b* It means green 、 Red and blue yellow .

     The process of deep learning :


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved