# My camera is not working

**URL:** <https://discourse.processing.org/t/my-camera-is-not-working/9783>\
**Category:** Libraries\
**Created:** [March 30, 2019, 9:31am UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783 "2019-03-30T09:31:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kripit](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@kripit](https://discourse.processing.org/u/kripit)\
**Post date:** [March 30, 2019, 9:31am UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/1 "2019-03-30T09:31:07Z")

</div>

![VideoProcessing](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/be17ad7a2aea131c2de79961f0680c8ccc4f1758.jpeg)  
I use processing 3.5.3 on windows7. I launched capture sketch. My camera is recognized in console but no image appeared… Where is the problem?

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [March 30, 2019, 10:26pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/2 "2019-03-30T22:26:55Z")

</div>

If this is the unchanged default capture sketch, this is fine, but if you have custom code please post it as formatted text – not a screenshot.

Did you try changing “cameras[12]” in your capture sketch to one of the cameras in your list, like [0], [1], or [2]?

---

<div class="post-metadata">

**Author:** ![kripit](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@kripit](https://discourse.processing.org/u/kripit)\
**Post date:** [March 31, 2019, 9:46am UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/3 "2019-03-31T09:46:54Z")

</div>

Thanks for your response. Yes this is default capture sketch. i tried [0], [1]…without success. On the other side I tried with my raspsberry (GLvideo), and the camera works perfectly. Problems with Video (Gstreamed based video with processing) on Windows7

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [March 31, 2019, 3:16pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/4 "2019-03-31T15:16:04Z")

</div>

I’m not sure!

In the screenshot the visible camera listings all say “USB2.0 PC CAMERA” – what is the actual make/model of the camera, and is it USB-connected or built-in?

---

<div class="post-metadata">

**Author:** ![kripit](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@kripit](https://discourse.processing.org/u/kripit)\
**Post date:** [March 31, 2019, 5:56pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/5 "2019-03-31T17:56:12Z")

</div>

This is a USB camera. In fact in the console, appear 2 cameras: USB2.0 PC CAMERA and my internal one:  
name=Integrated Webcam, size=320x204,fps=30 for example.  
If I choose that one instead of the USB one, its led turns on but still no image

---

<div class="post-metadata">

**Author:** ![jeffmarc](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Post date:** [May 27, 2019, 1:52pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/6 "2019-05-27T13:52:32Z")

</div>

I have been struggling with the same problem since 2016.  
Camera is recognized by processing in list , but will not grab, in loop i get no video detected.  
I have tryed several camerfas. !. the integrated lenova laptop camera works ok  
2. A camera that shows up under Imageing Devices in Device manager works fine.  
3. Any camera or camera device that shows up in Device Manager under Sound and game controllers as a video device or as anything else does not work, even though processing does see it as a video device.  
The problem is clearly in the video library.  
Can anyone fix this so it works with plugged in USB cameras?!  
Note: any camera input works with 3rd party software OK, so it is not a system problem.  
If the 3rd party grabbers work so should Processing.

---

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [May 27, 2019, 2:48pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783/7 "2019-05-27T14:48:47Z")

</div>

Try Video library v2 beta from GitHub, or PraxisLIVE.
