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

I am trying to use OpenCV to track the position of the camera in real world coordinates and real time. I found this OpenCV tutorial for using real_time_post_estimation via ORB,...

question

In the code of "VAE_FashionMnist_TensorFlow" def kl_loss(mean, log_var): kl_loss = -0.5 * K.sum(1 + var - K.square(mean) - K.exp(log_var), axis = 1) return kl_loss NameError: name 'var' is not defined

Hello Developers, I have built a [model](https://github.com/hrugved06/learnopencv/tree/master/Face%20Blurring%20and%20Deblurring) that blurs the face as per the user requirement and the other model is about the deblurring of images where the unclear camera...

Hey guys! I am using tensorrt 8. Tried to test the sample C++ script "trt_sample.cpp" for the provided "resnet50.onnx" model. I am getting the below error: **[libprotobuf ERROR google/protobuf/text_format.cc:298] Error...

Hi, rank amateur here trying to follow along with the tutorial on https://learnopencv.com/paired-image-to-image-translation-pix2pix/, am using the pytorch code from https://github.com/spmallick/learnopencv/blob/master/Image-to-Image-Translation-with-GAN/PyTorch/pix2pix_pytorch.ipynb Basic bug report: in the import calls torchsummary has been...

In the tracking folder there is no CMakeLists.txt. So I do not know how I can run the tracker.cpp file.

Hello! I'm trying to get PyTorch-ONNX-TensorRT-CPP working on Manjaro Linux (cuda 11.0, opencv 4.4.0 with cuda support, tensorrt 7.2, pytorch 1.6). There have been a few problems and I'm not...

I would like to add a feature that can blur the faces in a picture or a video as it has various use cases and also I will be adding...

line 37, in **(cc, warp_matrix) = cv2.findTransformECC(im1_gray, im2_gray, warp_matrix, warp_mode, criteria)** cv2.error: OpenCV(4.5.3) /tmp/pip-req-build-afu9cjzs/opencv/modules/video/src/ecc.cpp:589: error: (-7:Iterations do not converge) The algorithm stopped before its convergence. The correlation is going to...