问题描述
这是我目前所拥有的 https://codepen.io/homayounj/pen/rNyqOKM?editors=1100
## 8 adjacency connectivity method to search the document image.
connectivity = 8
## find the connected components
output = cv2.connectedComponentsWithStats(invr_binary,connectivity,cv2.CV_32S)
## it contain fou variable
(numLabels,labels,stats,centroids) = output
基本上,我希望正文的内容向左对齐,但也集中到绿色背景。
与此类似: https://codepen.io/freeCodeCamp/pen/VPaoNP
无论我做什么,右边的填充总是比其他填充大,我已经尝试了我能想到的所有方法。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)