Skip to content

Using pretrained hed edge detector model from caffe with opencv

Notifications You must be signed in to change notification settings

ashukid/hed-edge-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for edge detection using pretrained hed model(caffe) using OpenCV

Command to run the edge detection model on video

python edge.py --input video.mp4 --prototxt deploy.prototxt --caffemodel hed_pretrained_bsds.caffemodel 
--width 300 --height 300

Command to run the edge detection model on image

python edge_detector.py --input image.png --prototxt deploy.prototxt --caffemodel hed_pretrained_bsds.caffemodel
--width 300 --height 300