Skip to content
Advertisement

camera suddenly close when i run the code

I am trying to make a color detection from the default camera using python, to do this I am using OpenCV and NumPy. My program suddenly closes the camera.

This is code I’m trying to run:

JavaScript

Advertisement

Answer

There are three stages to do this task:

  1. Firstly you need to make a color boundries
JavaScript
  1. Color detection
JavaScript
  1. Stack them horizontally.
JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement