# Libraries

**URL:** https://discourse.processing.org/c/processing/processing-libraries/19.md?page=62

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 63

---

## [Color image to black and white image](https://discourse.processing.org/t/color-image-to-black-and-white-image/8662)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 2\
**Last updated:** [February 24, 2019, 7:07pm UTC](https://discourse.processing.org/t/color-image-to-black-and-white-image/8662 "2019-02-24T19:07:32Z")

</div>

How to make a black and white image from color image . Maybe using OpenCV? Because I don’t need combination of black and white pixels , but I need a gray gradient image ( I hope you understand what I mean )

---

## [Image capture with Processing and OpenCV](https://discourse.processing.org/t/image-capture-with-processing-and-opencv/8642)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 5\
**Last updated:** [February 24, 2019, 6:53pm UTC](https://discourse.processing.org/t/image-capture-with-processing-and-opencv/8642 "2019-02-24T18:53:30Z")

</div>

I need to take a photo from WebCamera. How to do it using OpenCV and Processing ?

---

## [Processing prompt does not install G4P, how to solve it?](https://discourse.processing.org/t/processing-prompt-does-not-install-g4p-how-to-solve-it/8549)

<div class="topic-metadata">

**Author:** [@aienzer](https://discourse.processing.org/u/aienzer)\
**Replies:** 3\
**Last updated:** [February 23, 2019, 5:43pm UTC](https://discourse.processing.org/t/processing-prompt-does-not-install-g4p-how-to-solve-it/8549 "2019-02-23T17:43:48Z")

</div>

---

## [Midi and Object-Oriented Programming](https://discourse.processing.org/t/midi-and-object-oriented-programming/8633)

<div class="topic-metadata">

**Author:** [@Frappiert](https://discourse.processing.org/u/Frappiert)\
**Replies:** 1\
**Last updated:** [February 23, 2019, 5:27pm UTC](https://discourse.processing.org/t/midi-and-object-oriented-programming/8633 "2019-02-23T17:27:36Z")

</div>

Hello, I’m new here. I am trying to control an object oriented project with a midi controller. After doing my oop sketch (thanks to the coding train), I thought I should use the midiBus library. But I can’t figure how …

---

## [Procesing controlP5 error](https://discourse.processing.org/t/procesing-controlp5-error/8577)

<div class="topic-metadata">

**Author:** [@aprilla](https://discourse.processing.org/u/aprilla)\
**Replies:** 12\
**Last updated:** [February 23, 2019, 8:08am UTC](https://discourse.processing.org/t/procesing-controlp5-error/8577 "2019-02-23T08:08:52Z")

</div>

arduino v plotter not work what is the problem I do not understand help me please WARNING: You are using a character that is not supported by controlP5’s BitFont-Renderer, you could use ControlFont instead (see the Co…

---

## [Accessing an SQL server database using the SQL library](https://discourse.processing.org/t/accessing-an-sql-server-database-using-the-sql-library/876)

<div class="topic-metadata">

**Author:** [@rogeralms](https://discourse.processing.org/u/rogeralms)\
**Replies:** 5\
**Last updated:** [February 22, 2019, 8:01am UTC](https://discourse.processing.org/t/accessing-an-sql-server-database-using-the-sql-library/876 "2019-02-22T08:01:08Z")

</div>

Hi, I am new to Processing and this forum. I couldn’t find any other posts on this so if this is an old question, please provide a link to the answer. Can you use the SQL library to access an SQL Server database? The lib…

---

## [SImultaneous sketch excecution on different computers](https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479)

<div class="topic-metadata">

**Author:** [@marcovvv](https://discourse.processing.org/u/marcovvv)\
**Replies:** 2\
**Last updated:** [February 21, 2019, 11:40am UTC](https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479 "2019-02-21T11:40:42Z")

</div>

Hi, Is there a library to start simultaneously, in sync, two or more different sketches, each one in a different computer on a internal LAN and projecting on different projectors? any latency issue? thanks marco

---

## [VerletPhysics2D particles and behaviors management](https://discourse.processing.org/t/verletphysics2d-particles-and-behaviors-management/8523)

<div class="topic-metadata">

**Author:** [@billhsu](https://discourse.processing.org/u/billhsu)\
**Replies:** 4\
**Last updated:** [February 21, 2019, 7:13am UTC](https://discourse.processing.org/t/verletphysics2d-particles-and-behaviors-management/8523 "2019-02-21T07:13:51Z")

</div>

I’ve been using VerletPhysics2D for a project, and have some questions about interactions between particles and behaviors. I’ve studied the VerletPhysics example Attraction2D. When a particle p is added, to prevent coll…

---

## [Help using Processing with Matlab](https://discourse.processing.org/t/help-using-processing-with-matlab/8467)

<div class="topic-metadata">

**Author:** [@salvimess](https://discourse.processing.org/u/salvimess)\
**Replies:** 3\
**Last updated:** [February 21, 2019, 6:15am UTC](https://discourse.processing.org/t/help-using-processing-with-matlab/8467 "2019-02-21T06:15:48Z")

</div>

I have a program in Matlab that processes video and returns certain variables that pertain to that video. My goal is to have these variables be processed in Processing in order to create some cool visuals. Anyone have an…

---

## [Dictionary for Video](https://discourse.processing.org/t/dictionary-for-video/8483)

<div class="topic-metadata">

**Author:** [@alterus](https://discourse.processing.org/u/alterus)\
**Replies:** 2\
**Last updated:** [February 20, 2019, 10:57pm UTC](https://discourse.processing.org/t/dictionary-for-video/8483 "2019-02-20T22:57:34Z")

</div>

I am just recently getting into Processing after using Supercollider for a while. Now I am looking for code that plays another random video from a map on my computer every time it is cue’d. Similar to what is possible wi…

---

## [Noob question: Should I learn processing for this project?](https://discourse.processing.org/t/noob-question-should-i-learn-processing-for-this-project/8410)

<div class="topic-metadata">

**Author:** [@divdivdiv](https://discourse.processing.org/u/divdivdiv)\
**Replies:** 4\
**Last updated:** [February 20, 2019, 9:34pm UTC](https://discourse.processing.org/t/noob-question-should-i-learn-processing-for-this-project/8410 "2019-02-20T21:34:10Z")

</div>

Hi there. I’d love to get your opinion if whether Processing is the right tool for a project I have had in my mind for a long time. I want to create an artwork with video feed that only shows what has not moved in the l…

---

## [Silhouette Kinect V2 + Removing Background](https://discourse.processing.org/t/silhouette-kinect-v2-removing-background/8472)

<div class="topic-metadata">

**Author:** [@mrtnmur](https://discourse.processing.org/u/mrtnmur)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 7:45pm UTC](https://discourse.processing.org/t/silhouette-kinect-v2-removing-background/8472 "2019-02-20T19:45:34Z")

</div>

Hello There, And thank you for your amazing work. I’m a beginner in processing and I am trying to remove the background from the information captured through a kinectv2. I’ve made a Threshold selection of the depth info…

---

## [Anyone knows how to use getConvexHull();?](https://discourse.processing.org/t/anyone-knows-how-to-use-getconvexhull/8268)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 10\
**Last updated:** [February 17, 2019, 5:03pm UTC](https://discourse.processing.org/t/anyone-knows-how-to-use-getconvexhull/8268 "2019-02-17T17:03:31Z")

</div>

I am using the OpenCV library, the example called “FindContours”. I tried to obtain a new contour based on the ConvexHull function, but I get the same thing. So I tried: for (Contour contour : contours) { stroke(0…

---

## [Capture frame rate maxed out at 20fps at 1080](https://discourse.processing.org/t/capture-frame-rate-maxed-out-at-20fps-at-1080/8461)

<div class="topic-metadata">

**Author:** [@EliTheIceMan](https://discourse.processing.org/u/EliTheIceMan)\
**Replies:** 2\
**Last updated:** [February 17, 2019, 4:51am UTC](https://discourse.processing.org/t/capture-frame-rate-maxed-out-at-20fps-at-1080/8461 "2019-02-17T04:51:30Z")

</div>

I am trying to capture 60fps video from a CamLink capture device (connected to a gopro) but processing is maxing out at 20fps capture rate. The sketch will run at whatever speed I want but the cam.available() flag is on…

---

## [Processing Sound, How to release loaded file after playback is stopped?](https://discourse.processing.org/t/processing-sound-how-to-release-loaded-file-after-playback-is-stopped/8361)

<div class="topic-metadata">

**Author:** [@Stan](https://discourse.processing.org/u/Stan)\
**Replies:** 5\
**Last updated:** [February 16, 2019, 4:29pm UTC](https://discourse.processing.org/t/processing-sound-how-to-release-loaded-file-after-playback-is-stopped/8361 "2019-02-16T16:29:05Z")

</div>

Hi there! Thanks a lot to everyone writing/debugging/contributing with amazing code :slight\_smile: I’m making a sound player app to browse some folders using Guido. If the selected file is a .wav it loads it with sou…

---

## [3D Motion Graphics for MPU9250](https://discourse.processing.org/t/3d-motion-graphics-for-mpu9250/8346)

<div class="topic-metadata">

**Author:** [@Deep](https://discourse.processing.org/u/Deep)\
**Replies:** 4\
**Last updated:** [February 16, 2019, 2:57am UTC](https://discourse.processing.org/t/3d-motion-graphics-for-mpu9250/8346 "2019-02-16T02:57:13Z")

</div>

I am a newbie in this,just wanted to know how to visualize the MPU9250 Roll, Pitch, Yaw data to show in the Processing IDE. I want something like this: 3D Tracking with IMU I am really sorry if I have missed any informat…

---

## [Minim Loop Synchronization](https://discourse.processing.org/t/minim-loop-synchronization/8261)

<div class="topic-metadata">

**Author:** [@spaceHolder](https://discourse.processing.org/u/spaceHolder)\
**Replies:** 2\
**Last updated:** [February 15, 2019, 6:07pm UTC](https://discourse.processing.org/t/minim-loop-synchronization/8261 "2019-02-15T18:07:23Z")

</div>

Hey there! This is my first post here so please excuse me if it’s in the wrong place. I’m thinking of putting together a really simple little 4 track looping pedal type program using minim but I’m not quite sure if ther…

---

## [Only starting the main program when necessary?](https://discourse.processing.org/t/only-starting-the-main-program-when-necessary/8397)

<div class="topic-metadata">

**Author:** [@Papergami45](https://discourse.processing.org/u/Papergami45)\
**Replies:** 4\
**Last updated:** [February 15, 2019, 1:17pm UTC](https://discourse.processing.org/t/only-starting-the-main-program-when-necessary/8397 "2019-02-15T13:17:49Z")

</div>

I’m working on a fairly complicated project involving multiple windows using G4P - the first window is the standard processing one, and the other two are a user interface window and a real time graph. In order for the p…

---

## [How to capture an image after contour.draw();?](https://discourse.processing.org/t/how-to-capture-an-image-after-contour-draw/8389)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 1\
**Last updated:** [February 14, 2019, 5:49am UTC](https://discourse.processing.org/t/how-to-capture-an-image-after-contour-draw/8389 "2019-02-14T05:49:29Z")

</div>

I am using the “FindContours” example from the OpenCV library. All works well, but I would like to capture an image after the countours have been drawn. (For further analysis of the the contours.) So I tried: con…

---

## [Deadlock? (main thread keeps waiting)](https://discourse.processing.org/t/deadlock-main-thread-keeps-waiting/8371)

<div class="topic-metadata">

**Author:** [@maxhawaii](https://discourse.processing.org/u/maxhawaii)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 7:17pm UTC](https://discourse.processing.org/t/deadlock-main-thread-keeps-waiting/8371 "2019-02-13T19:17:43Z")

</div>

Hi everyone, I’m pretty sure that my processing sketch deadlocks and I’m having trouble debugging it. Most of the time, the sketch runs fine but once in a while - sometimes after 10 minutes, sometimes after 6 hours of …

---

## [Udp recreiving multiple ports](https://discourse.processing.org/t/udp-recreiving-multiple-ports/7516)

<div class="topic-metadata">

**Author:** [@jimfah](https://discourse.processing.org/u/jimfah)\
**Replies:** 6\
**Last updated:** [February 11, 2019, 8:45pm UTC](https://discourse.processing.org/t/udp-recreiving-multiple-ports/7516 "2019-02-11T20:45:28Z")

</div>

I would like to extend the UDP object to allow for listening to multiple ports. Note the use of extends in the class definition. public class myUDP extends UDP{ String myIp; int myPort; String inMsg; boole…

---

## [Problem dividing face of a WETriangleMesh (bug in toxiclibs ?)](https://discourse.processing.org/t/problem-dividing-face-of-a-wetrianglemesh-bug-in-toxiclibs/7790)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 7:46pm UTC](https://discourse.processing.org/t/problem-dividing-face-of-a-wetrianglemesh-bug-in-toxiclibs/7790 "2019-02-12T19:46:07Z")

</div>

Dear all, In the following example code I’m trying to add 3 new faces on top of one of the original 4 faces of a tetrahedron mesh. The mesh vertices are connected by springs. My problem is that the vertices of the newl…

---

## [Gesture recognition](https://discourse.processing.org/t/gesture-recognition/8211)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 5\
**Last updated:** [February 12, 2019, 12:51pm UTC](https://discourse.processing.org/t/gesture-recognition/8211 "2019-02-12T12:51:28Z")

</div>

Hi, there is way to recognize gesture ? I would like to know when the mouse make lines, infinite, circle (his speed and direction : clockwise or not), … There is a old library but doesn’t work with current processing.

---

## [Timer that ends with a song](https://discourse.processing.org/t/timer-that-ends-with-a-song/8270)

<div class="topic-metadata">

**Author:** [@juliastar](https://discourse.processing.org/u/juliastar)\
**Replies:** 4\
**Last updated:** [February 12, 2019, 7:56am UTC](https://discourse.processing.org/t/timer-that-ends-with-a-song/8270 "2019-02-12T07:56:28Z")

</div>

Hi, I’m very new to processing. Right now I’m trying to create a game for kids. The thing is that I’m trying to create a timer and when it is equal to 0 a song will go off. So thanks to this forum and Youtube I manage t…

---

## [How to adjust tab size - GPanel - G4P library](https://discourse.processing.org/t/how-to-adjust-tab-size-gpanel-g4p-library/8285)

<div class="topic-metadata">

**Author:** [@fvoiron](https://discourse.processing.org/u/fvoiron)\
**Replies:** 4\
**Last updated:** [February 11, 2019, 8:19pm UTC](https://discourse.processing.org/t/how-to-adjust-tab-size-gpanel-g4p-library/8285 "2019-02-11T20:19:23Z")

</div>

Is there any way to control the width of the tab of a GPanel / G4P library? Indeed when changing the font (setFont()) / or the text (setText()) set to the tab after creation of the GPanel, the tab width dosen’t resize p…

---

## [Why do my X/O's not show in my tictactoe game](https://discourse.processing.org/t/why-do-my-x-os-not-show-in-my-tictactoe-game/8244)

<div class="topic-metadata">

**Author:** [@MQXO](https://discourse.processing.org/u/MQXO)\
**Replies:** 5\
**Last updated:** [February 9, 2019, 7:30pm UTC](https://discourse.processing.org/t/why-do-my-x-os-not-show-in-my-tictactoe-game/8244 "2019-02-09T19:30:01Z")

</div>

hi, I was working on updating my code for my tictactoe, I’m only a beginner and thought this would be a good place to start, the game used to work, but when I added the minim library and set up a song to play in the back…

---

## [Kinect v2 library](https://discourse.processing.org/t/kinect-v2-library/8224)

<div class="topic-metadata">

**Author:** [@Patrick](https://discourse.processing.org/u/Patrick)\
**Replies:** 1\
**Last updated:** [February 9, 2019, 4:05am UTC](https://discourse.processing.org/t/kinect-v2-library/8224 "2019-02-09T04:05:55Z")

</div>

Hi i have being trying to do the tutorial Getting Started with Kinect and Processing with the Kinect v2 but when i try and find library kinect v2 as in the video it does not come up can any 1 shed light on y

---

## [Processing (3.5) with kinectV2 on depth value](https://discourse.processing.org/t/processing-3-5-with-kinectv2-on-depth-value/8230)

<div class="topic-metadata">

**Author:** [@zznwsuaf](https://discourse.processing.org/u/zznwsuaf)\
**Replies:** 1\
**Last updated:** [February 9, 2019, 3:46am UTC](https://discourse.processing.org/t/processing-3-5-with-kinectv2-on-depth-value/8230 "2019-02-09T03:46:21Z")

</div>

Hello, I am working on using Processing 3.0 to get depth value of KinectV2 sensor. The data can show in the Console, but I just do not know how to save the depth data into a csv or txt file (preferred csv). Can someone …

---

## [Broadcast from macosx to windows](https://discourse.processing.org/t/broadcast-from-macosx-to-windows/8198)

<div class="topic-metadata">

**Author:** [@litiec](https://discourse.processing.org/u/litiec)\
**Replies:** 5\
**Last updated:** [February 8, 2019, 8:03pm UTC](https://discourse.processing.org/t/broadcast-from-macosx-to-windows/8198 "2019-02-08T20:03:17Z")

</div>

Hello Everyone I am developing an application where I am using the oscP5 library. I want to set a server from my computer (macosx) and I want other computers to connect to my server. Since the ip address is constantly c…

---

## [Minim On RPI FilePlayer only can load 6 wav files](https://discourse.processing.org/t/minim-on-rpi-fileplayer-only-can-load-6-wav-files/8189)

<div class="topic-metadata">

**Author:** [@makerinchief](https://discourse.processing.org/u/makerinchief)\
**Replies:** 6\
**Last updated:** [February 8, 2019, 3:40pm UTC](https://discourse.processing.org/t/minim-on-rpi-fileplayer-only-can-load-6-wav-files/8189 "2019-02-08T15:40:21Z")

</div>

I’m writing code for an arcade game which involves taking in sensor input and playing sound during certain stages of the game. I’m using the Minim library to handle all of the sound. I’ve run into an issue when trying t…

[Previous page](https://discourse.processing.org/c/processing/processing-libraries/19.md?page=61)

[Next page](https://discourse.processing.org/c/processing/processing-libraries/19.md?page=63)
