原创 C++ Exception catching and exception handling(2)

今天依舊說一下C++的異常處理,你可以參考我的上一篇博客:https://blog.csdn.net/m0_37690102/article/details/106389177 ---->Today,I still talk about

原创 C++ opencv block it to calculate the variance and the mean

針對原始圖像進行分塊,計算求解分塊區域的均值和方差。對分塊區域進行分塊閾值處理(後續處理,值得研究的)  The mean value and variance of the block region are calculated by

原创 Python MASK and Pedestrian safety distance detection

首先,設計UI界面,如圖所示: First, design the UI interface, as shown in the figure 使用語句:pyuic5 OboardCamDisp.ui -o OboardCamDisp

原创 QT 、tesseract and Block thread parallel computation(分塊線程並行計算)

對於多線程加速,網絡博客上有很多種方法,openmp 和QtConcurrent都能夠實現一定的加速,然而我使用相應的函數並沒有想象中那麼友好。準確來說,不止我一個遇到了這樣的問題,加速效果不明顯等等。還是直接寫代碼加速的效果明顯。採用t

原创 C++ tesseract and CRNN Time consuming test

之前提及到的C++與Python之間數據交互時花費時間較大,暫定使用tesseract實現字符的識別。但是由於tesseract對中文的識別效果不好,一直在研究字符識別準確率的問題,現在中文數字字母的識別準確率可以到95%以上,基本可以媲

原创 C++ opencv Processing multiple images(批量處理圖像)

今天,需要對文件夾下的圖像進行批量處理,實現這部分功能。對文件夾下的圖像進行批量處理,實現數據集的製作。本文通過特殊處理,加強數據集的局部有效信息,便於深度學習更好的訓練識別。 Today, the need for the folder

原创 C++ QT +tesseract+opencv3.1 problems

 成功的提升了漢字的識別準確率(感謝老師的幫忙,現在漢字識別準確率基本可以到95%以上了),但是當我在QT中導入文件: I successfully improved the recognition accuracy of Chines

原创 image compression(wavelet)

圖像壓縮算法 理論基礎 香農的信息論,在不產生任何失真的前提下,通過合理的編碼,對於每個信源符號分配不等長的碼字,平均碼長可以任意接近於信源的熵。在這個理論框架下產生了幾種不同的無失真的信源編碼方法:哈夫曼編碼,算術編碼、字典編碼等。後來

原创 C++ opencv and Text Region extraction

今天,項目中出現了文字定位的bug,如下圖片: Today, there is a bug with text location in the project, as shown in the picture below: 我需要將

原创 C++ opencv Table text extraction

今天,研究了一下表格中文字的定位。在我的上一篇博客中已經根據自己的需求進行了文字的定位提取。你可以參考我的這個博客:https://blog.csdn.net/m0_37690102/article/details/106532157 現

原创 Python Install PyTorch in Win10

Pytorch在win系統下比較難安裝, 直接使用pip 安裝不能正常的安裝,您可以參考我的方式。 Pytorch is difficult to install in win system. Direct PIP installatio

原创 Image-based 3D Object Reconstruction

Image-based 3D Object Reconstruction: The Latest Technologies and Trends in the Era of Deep Learning (Overview and Codi

原创 Python Linear processing

 虛線處理成直線,這個代碼是很有效的。 Dashed lines are processed into straight lines, and this code is very efficient. INPUT: OUTPUT: 

原创 C++ opencv Erode and Dilate

Erode and Dilate 圖像的像素值越大的地方,圖像越亮,而腐蝕和膨脹就是求圖像像素局部最小值和局部最大值的過程 膨脹(dilate):就是對圖像的高亮部分進行膨脹,相當於高亮部分的領域擴張 腐蝕(erode):就是對圖像的高亮

原创 C++ opencv and ROI Mask fusion

 指定區域的融合,通過一個圖像掩膜(mask),直接將插入處的像素設置爲P0VerticalImage圖像的像素值。 The fusion of the specified region sets the insertion pixel