learnopencv icon indicating copy to clipboard operation
learnopencv copied to clipboard

Learn OpenCV : C++ and Python Examples

Results 149 learnopencv issues
Sort by recently updated
recently updated
newest added

@[spmallick](https://github.com/spmallick) **hi** **I found this error when COMPILING OCR code on my MAC** /opencv/opencv_ex/OCR/ocr_simple.cpp:3:10: fatal error: 'leptonica/allheaders.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/ocr_simple.dir/ocr_simple.cpp.o] Error 1...

In the headpose.py file, what means 3D model points ? How to calc it? # 3D model points. model_points = np.array([ (0.0, 0.0, 0.0), # Nose tip (0.0, -330.0, -65.0),...

The movie name is printed, and one can easily guess the name. Thus I have removed the `print(movie)`

Dear learnopencv community Thank you so much for making such great tutorials!! :-) I wanted to report an issue I am encountering when compiling your example under `Getting-Started-OpenCV-CUDA-Module/` Although the...

(yolov5) C:\Users\renfang\Desktop\基于视频的车辆转弯安全提醒方案\Optical-Flow-in-OpenCV>python demo.py --algorithm lucaskanade --video_path videos\people.mp4 Traceback (most recent call last): File "demo.py", line 38, in main() File "demo.py", line 24, in main lucas_kanade_method(video_path) File "C:\Users\renfang\Desktop\基于视频的车辆转弯安全提醒方案\Optical-Flow-in-OpenCV\algorithms\lucas_kanade.py", line 33, in...

## System information - OpenCV => 4.5.3 - Operating System / Platform => Windows 64 Bit - Compiler => Visual Studio 2019 - GPU ==> NVIDIA GeForce GTX 745 (compute...

Hello and happy that you show integration with PL!! :tada: Just wondering if you already heard about quite the new **Pytorch Lightning (PL) ecosystem CI** where we would like to...

The build/cmake instructions for the Background-Subtraction project no longer work (the BGS dependency part) https://github.com/spmallick/learnopencv/tree/master/Background-Subtraction ``` (p37_default) sir@dublin:~/soft/bgslibrary/build$ cmake -D BGS_PYTHON_SUPPORT=ON -D CMAKE_INSTALL_PREFIX=/usr/local -D OpenCV_DIR=~/opencv/build -D PYTHON_EXECUTABLE=`which python` .. --...

```python # resNet18 in pytorch use `AdaptiveAvgPool2d`, which collapses the feature maps # of any size to the predefined one. self.avgpool = nn.AvgPool2d((7,7)) # Replace AdaptiveAvgPool2d with standard AvgPool2d ```...