opencv - outline drawing of text using Emgu -


i want annotate camera feed. using these apis

image<bgr, byte>.draw(); 

however depending on lighting text not readable. draw text black border , white fill. how do using emgu?

var labeledcameraframe = new image<bgr, byte>(cameraframe.bitmap);  var border = new rectangle(0, 0, 200, 40); labeledcameraframe.draw(border, new bgr(color.white), -1); labeledcameraframe.draw(border, new bgr(color.black));  cvinvoke.puttext(labeledcameraframe, "hello, world", new point(10, border.height - 10), fontface.hersheysimplex, 1.0, new bgr(color.blue).mcvscalar); 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -