大华摄像头通过stm32 叠加字符串


 void putdahuaDataToCamera(int camNo)
 {
     //sprintf(strReturn,"{\"method\":\"configManager.setConfig\",\
\"params\":{\"channel\":0,\"name\":\"VideoWidget\",\"table\":{\"ChannelTitle\":{\"BackColor\":[0,0,0,128],\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":true,\"Rect\":[524,784,3145,1220],\"TextAlign\":2},\
\"Covers\":[{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[0,0,1024,1024]},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\
     \"PreviewBlend\":false,\"Rect\":[1024,1024,2048,2048]},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[2048,2048,3072,3072]},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\
     \"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[3072,3072,4096,4096]},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[4096,4096,5120,5120]},\
     {\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[5120,5120,6144,6144]},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\
     \"Rect\":[6144,6144,7168,7168]},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[7168,7168,8191,8191]}],\
\"CustomTitle\":[{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[0,0,0,0],\"Text\":\"\"},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\
     \"PreviewBlend\":true,\"Rect\":[20,20,2641,456],\"Text\":\"%s|%s|%s|\
%s\",\"TextAlign\":0},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[5321,7450,7931,7868],\"Text\":\"\"},{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\
     \"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[5321,7450,7931,7868],\"Text\":\"\"}],\
\"FontBorder\":true,\
\"FontSize\":0,\"FontSizeExtra1\":0,\"FontSizeExtra2\":0,\"FontSizeExtra3\":0,\"FontSizeScale\":1,\"FontSizeSnapshot\":0,\"OSDMobileState\":{\"BackColor\":[0,1,1,128],\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":true,\
     \"Rect\":[6295,920,7929,1351]},\"PTZCoordinates\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":0,\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[5553,1046,8175,1481]},\
     \"PTZDirection\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":5,\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[5553,1046,8175,1481]},\"PTZOSDMenu\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":0,\
     \"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[541,3320,541,3320]},\"PTZOSDMenuViaApp\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":60,\"EncodeBlend\":true,\"EncodeBlendExtra1\":true,\
     \"EncodeBlendExtra2\":true,\"EncodeBlendSnapshot\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":true,\"Rect\":[281,1477,2897,1542]},\"PTZPreset\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":5,\"EncodeBlend\":true,\
     \"FrontColor\":[255,255,255,3],\"PreviewBlend\":false,\"Rect\":[5553,1046,8175,1481]},\"PTZZoom\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":0,\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\
     \"Rect\":[5553,1046,8175,1481]},\"PictureTitle\":{\"BackColor\":[0,0,0,128],\"EncodeBlend\":false,\"FrontColor\":[255,255,255,0],\"Name\":\"osd.bmp\",\"PreviewBlend\":false,\"Rect\":[0,0,442,668]},\"PtzPattern\":{\"BackColor\":[0,1,1,128],\
     \"DisplayTime\":0,\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\"PreviewBlend\":false,\"Rect\":[541,3320,541,3320]},\"PtzRS485Detect\":{\"BackColor\":[0,1,1,128],\"DisplayTime\":0,\"EncodeBlend\":true,\"FrontColor\":[255,255,255,0],\
     \"PreviewBlend\":false,\"Rect\":[541,3320,541,332

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值