PaddleLabel——重新识别失败【Can not recognise the detection box in 文件. Please change manually 】解决方案
生活随笔
收集整理的這篇文章主要介紹了
PaddleLabel——重新识别失败【Can not recognise the detection box in 文件. Please change manually 】解决方案
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述
OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\imgwarp.cpp:3143: error: (-215:Assertion failed) _src.total() > 0 in function 'cv::warpPerspective'
問題分析
查看源碼
發現
img為None
cv2無法讀取中文路徑的文件
解決方案
方法一:
修改源碼
OpenCV——cv2.imread()無法讀取中文路徑的文件解決方案
方法二:
將數據集移動到無中文的目錄。
參考文章
OpenCV——cv2.imread()無法讀取中文路徑的文件解決方案
?
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的PaddleLabel——重新识别失败【Can not recognise the detection box in 文件. Please change manually 】解决方案的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: OpenCV——cv2.imread()
- 下一篇: 白盒测试——简单分支函数测试