我想在视频帧(即图片框)上使用鼠标绘制一个矩形,就像我们选择任何文件一样。用户将单击鼠标按钮选择区域并将释放鼠标按钮。就像剪切或裁剪一样!
我正在使用emgucv!
答案 0 :(得分:0)
只需使用Image<B, T>.Draw
方法即可。它显示在Shape detection in C#示例代码中。以下是链接的摘录:
Image<Bgr, Byte> triangleRectangleImage = img.CopyBlank();
foreach (MCvBox2D box in boxList)
triangleRectangleImage.Draw(box, new Bgr(Color.DarkOrange), 2);
答案 1 :(得分:0)
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
end
end
end