# Can Video and Text Co-exist?

**URL:** <https://discourse.processing.org/t/can-video-and-text-co-exist/5335>\
**Category:** Libraries\
**Created:** [November 8, 2018, 12:26am UTC](https://discourse.processing.org/t/can-video-and-text-co-exist/5335 "2018-11-08T00:26:21Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![laptophead](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/laptophead/32/2701_2.png) [@laptophead](https://discourse.processing.org/u/laptophead)\
**Post date:** [December 5, 2018, 4:18am UTC](https://discourse.processing.org/t/can-video-and-text-co-exist/5335/21 "2018-12-05T04:18:29Z")

</div>

I wrote you at your email, but I guess you did not get it.  
Yes I am using Teensy to run the robot arm and roboclaw controllers.

I finished the project, I am able to make the robot pick the blobs one by one. Thanks a lot,

I am trying to move into OPENCV. Have experience?  
I cant get the video to work,

I took an example that uses a video file and tried to replace that with streaming webcam video but no luck.

this line is the trouble  
opencv = new OpenCV(this, video);  
The error says" Width(0) and height (0) cannot be \<=0"

I will make a new topic for all to see.

---

<div class="post-metadata">

**Author:** ![laptophead](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/laptophead/32/2701_2.png) [@laptophead](https://discourse.processing.org/u/laptophead)\
**Post date:** [December 5, 2018, 4:23am UTC](https://discourse.processing.org/t/can-video-and-text-co-exist/5335/22 "2018-12-05T04:23:01Z")

</div>

I put the code here:

> [@Can Streaming video be used in OpenCV?](https://discourse.processing.org/t/can-streaming-video-be-used-in-opencv/6318):
>
> I opened the example “backgroundSubstraction” and tried to replace movie file with streaming webcam video but no luck. this line is the trouble: opencv = new OpenCV(this, video); The error says" Width(0) and height (0) cannot be \<=0" Here is the code I tried: import gab.opencv.\*; import processing.video.\*; Capture video; //Movie video; OpenCV opencv; void setup() { size(840, 660); String[] cameras = Capture.list(); if (cameras == null) { println("Failed to retrieve the list …

Thanks

[Previous page](https://discourse.processing.org/t/can-video-and-text-co-exist/5335.md?page=1)
