dnn: update links for the colorization samples

pull/20381/head
berak 3 years ago
parent b1dc7ed873
commit fd16222613
  1. 2
      samples/dnn/colorization.cpp
  2. 4
      samples/dnn/colorization.py

@ -50,7 +50,7 @@ int main(int argc, char **argv)
" https://github.com/richzhang/colorization\n" " https://github.com/richzhang/colorization\n"
"Download caffemodel and prototxt files:\n" "Download caffemodel and prototxt files:\n"
" http://eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2.caffemodel\n" " http://eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2.caffemodel\n"
" https://raw.githubusercontent.com/richzhang/colorization/master/colorization/models/colorization_deploy_v2.prototxt\n"; " https://raw.githubusercontent.com/richzhang/colorization/caffe/models/colorization_deploy_v2.prototxt\n";
const string keys = const string keys =
"{ h help | | print this help message }" "{ h help | | print this help message }"
"{ proto | colorization_deploy_v2.prototxt | model configuration }" "{ proto | colorization_deploy_v2.prototxt | model configuration }"

@ -1,6 +1,6 @@
# Script is based on https://github.com/richzhang/colorization/blob/master/colorization/colorize.py # Script is based on https://github.com/richzhang/colorization/blob/master/colorization/colorize.py
# To download the caffemodel and the prototxt, see: https://github.com/richzhang/colorization/tree/master/colorization/models # To download the caffemodel and the prototxt, see: https://github.com/richzhang/colorization/tree/caffe/colorization/models
# To download pts_in_hull.npy, see: https://github.com/richzhang/colorization/blob/master/colorization/resources/pts_in_hull.npy # To download pts_in_hull.npy, see: https://github.com/richzhang/colorization/tree/caffe/colorization/resources/pts_in_hull.npy
import numpy as np import numpy as np
import argparse import argparse
import cv2 as cv import cv2 as cv

Loading…
Cancel
Save