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

Wenn running ``` g++ -shared -rdynamic -g -O3 -Wall -fPIC \ bv.cpp src/bvmodule.cpp \ -DMODULE_STR=bv -DMODULE_PREFIX=pybv \ -DNDEBUG -DPY_MAJOR_VERSION=3 \ `pkg-config --cflags --libs opencv` \ `python3-config --includes --ldflags` \ -I...

Hello How to use OpenCV DNN Module CPU only on Windows with c++ How to install and config it?

training VAE fails with the following error: UnboundLocalError: local variable 'kl_loss' referenced before assignment Any thoughts or suggestion on how to resolve this error would be greatly appreciated.

Im runing the file "simple-scan.py" with python . I am using it to process some images that in the inputs folder, but the output images do not match the ones...

https://colab.research.google.com/github/spmallick/learnopencv/blob/master/PyTorch-Multi-Label-Image-Classification/Multi_Output_Classification.ipynb#scrollTo=TclnDLwbdpbs getting errors like ``` TypeError Traceback (most recent call last) [](https://localhost:8080/#) in () ----> 1 last_checkpoint_path = train() [](https://localhost:8080/#) in train(start_epoch, N_epochs, batch_size, num_workers) 35 transforms.RandomHorizontalFlip(p=0.5), 36 transforms.ColorJitter(brightness=0.3, contrast=0.3,...

Hello, I am trying to work with PyTorch-ONNX-TensorRT-CPP tutorial. I am working on jetson orin with TensorRT 8.4 and cuda 11.4. While trying to compile project I get 2 error:...

Hello! Our static bug checker has found a performance issue in Image-to-Image-Translation-with-GAN/TensorFlow/pix2pix-tensorflow-single_gpu.py: Python type argument [`epoch`](https://github.com/spmallick/learnopencv/blob/4c3fc330e5a4b4f7beb2feddeced9cee2135954f/Image-to-Image-Translation-with-GAN/TensorFlow/pix2pix-tensorflow-single_gpu.py#L357) is passed to tf.function decorated function [`train_step`](https://github.com/spmallick/learnopencv/blob/4c3fc330e5a4b4f7beb2feddeced9cee2135954f/Image-to-Image-Translation-with-GAN/TensorFlow/pix2pix-tensorflow-single_gpu.py#L307) instead of tensors. As there is a...

``` ImageAlignment-FeatureBased python3 align.py Reading reference image : form.jpg Reading image to align : scanned-form.jpg Aligning images ... Traceback (most recent call last): File "align.py", line 69, in imReg, h...