Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

opencv

OpenCV 2.4 VideoCapture not working on Windows

August 20, 2022 by Magenaut

I’m using Python bindings to OpenCV 2.4 installed with following instructions.

Categories Python, Q&A Tags opencv, python, windows Leave a comment

OpenCV giving wrong color to colored images on loading

August 19, 2022 by Magenaut

I’m loading in a color image in Python OpenCV and plotting the same. However, the image I get has it’s colors all mixed up.

Categories Python, Q&A Tags colors, image, opencv, python, rgb Leave a comment

imread returns None, violating assertion !_src.empty() in function ‘cvtColor’ error

August 19, 2022 by Magenaut

I am trying to do a basic colour conversion in python however I can’t seem to get past the below error. I have re-installed python, opencv and tried on both python 3.4.3 (latest) and python 2.7 (which is on my Mac).

Categories Python, Q&A Tags opencv, python Leave a comment

Setting Camera Parameters in OpenCV/Python

August 19, 2022 by Magenaut

I am using OpenCV (2.4) and Python (2.7.3) with a USB camera from Thorlabs (DC1545M).

Categories Python, Q&A Tags camera, opencv, python, python-2.7 Leave a comment

Python OpenCV Color Tracking

August 19, 2022 by Magenaut

Below is my python code for tracking white color objects. It works – but only for a few seconds and then the whole screen turns black and in some times it not work. I experimented with blue color and it works – but white and green are giving me problems:

Categories Python, Q&A Tags colors, image, image-processing, opencv, python Leave a comment

Permanent fix for Opencv videocapture

August 19, 2022 by Magenaut

This question has been posed numerous times on many websites, but not definitive solution. I am trying to run Opencv with a video using function:

Categories Python, Q&A Tags ffmpeg, opencv, python, video Leave a comment

PyQt showing video stream from opencv

August 19, 2022 by Magenaut

Try to link PyQt and Opencv video feed, can’t understand how to apply while loop for continuously streaming video. It just take a still picture.Please can anyone help to solve the problem.

Categories Python, Q&A Tags opencv, pyqt, pyqt5, python, qpixmap Leave a comment

(-5:Bad argument) in function ‘rectangle’ – Can’t parse ‘pt1’. Sequence item with index 0 has a wrong type

August 18, 2022 by Magenaut

As I detect my tflite file, the problem happened.

Categories Python, Q&A Tags opencv, python, tensorflow-lite, yolov4 Leave a comment

How to capture multiple camera streams with OpenCV?

August 18, 2022 by Magenaut

I have to stitch the images captured from many (9) cameras. Initially, I tried to capture the frames from 2 cameras with rate 15 FPS. Then, I connected 4 cameras (I also used externally powered USB hub to provide enough power) but I could only see only one stream.

Categories Python, Q&A Tags multithreading, opencv, performance, python, video-streaming Leave a comment

DLL load failed error when importing cv2

August 18, 2022 by Magenaut

I have installed opencv on my windows machine using python 3.6 without any issues, using:

Categories Python, Q&A Tags cv2, opencv, python Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page8 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress