如题,其中location中的返回的left和top的单位是什么
result:{"log_id": 660068173875719151, "words_result_num": 1, "words_result": [{"location": {"width": 343, "top": 420, "left": 106, "height": 59}, "words": "我的小宝宝在吗"}]}
我直接用的给的数据结果位置信息并不像我所想的直接使用
RelativeLayout.LayoutParams params =
new RelativeLayout.LayoutParams(width, height);
params.leftMargin = left;
params.topMargin = top;
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
像素