# Libraries

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

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

**Page:** 48

---

## [Use controlP5 listBox to select string](https://discourse.processing.org/t/use-controlp5-listbox-to-select-string/16923)

<div class="topic-metadata">

**Author:** [@rhole](https://discourse.processing.org/u/rhole)\
**Replies:** 3\
**Last updated:** [January 7, 2020, 4:03am UTC](https://discourse.processing.org/t/use-controlp5-listbox-to-select-string/16923 "2020-01-07T04:03:36Z")

</div>

I am looking at an example from the older forum. I am using version 3.5.3. I can get this sample to work, partially, by commenting out the two lines with “theEvent.group().value()” which give the error “The function va…

---

## [Regarding opencv](https://discourse.processing.org/t/regarding-opencv/14256)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 2\
**Last updated:** [January 4, 2020, 7:34am UTC](https://discourse.processing.org/t/regarding-opencv/14256 "2020-01-04T07:34:24Z")

</div>

Can somebody suggest me a good place where the various objects documented in opencv are discussed with certain clarity Thanks

---

## [Video Library Release 6 (version 2.0-beta4)](https://discourse.processing.org/t/video-library-release-6-version-2-0-beta4/16784)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 2\
**Last updated:** [January 4, 2020, 7:27am UTC](https://discourse.processing.org/t/video-library-release-6-version-2-0-beta4/16784 "2020-01-04T07:27:40Z")

</div>

Is udpsrc supported by Video Library Release 6 (version 2.0-beta4) or any plans to support this as a source.

---

## [Controlp5 - error java.lang.NullPointerException](https://discourse.processing.org/t/controlp5-error-java-lang-nullpointerexception/16808)

<div class="topic-metadata">

**Author:** [@nikodemd](https://discourse.processing.org/u/nikodemd)\
**Replies:** 2\
**Last updated:** [January 3, 2020, 9:38am UTC](https://discourse.processing.org/t/controlp5-error-java-lang-nullpointerexception/16808 "2020-01-03T09:38:28Z")

</div>

Hi guys! Im Niko, new here :slight\_smile: I am trying to make an application where I mix together images of different lamps and lighting conditions. The way I imagined it, is that each there is one channel with the natu…

---

## [Cant play two videos at the same time](https://discourse.processing.org/t/cant-play-two-videos-at-the-same-time/16820)

<div class="topic-metadata">

**Author:** [@markcoelho](https://discourse.processing.org/u/markcoelho)\
**Replies:** 1\
**Last updated:** [January 3, 2020, 3:32am UTC](https://discourse.processing.org/t/cant-play-two-videos-at-the-same-time/16820 "2020-01-03T03:32:31Z")

</div>

So, i have an animation of a car moving, and i’m trying to use mask on it, exactly the same video, but i only exported the alpha channel. I’m trying to play them simultaneously, so they overlap, but they seem to be play…

---

## [Deserializing objects sent from a client program to a server program](https://discourse.processing.org/t/deserializing-objects-sent-from-a-client-program-to-a-server-program/16124)

<div class="topic-metadata">

**Author:** [@creepercrack](https://discourse.processing.org/u/creepercrack)\
**Replies:** 10\
**Last updated:** [January 1, 2020, 4:00pm UTC](https://discourse.processing.org/t/deserializing-objects-sent-from-a-client-program-to-a-server-program/16124 "2020-01-01T16:00:09Z")

</div>

Hi! I’m trying to make 2 diffrerent programs using the net library included with processign and I’m trying to send data between a server and a client using serializable objects The problem is that the client and the se…

---

## [Opencv depth estimation](https://discourse.processing.org/t/opencv-depth-estimation/16705)

<div class="topic-metadata">

**Author:** [@costachemadalin](https://discourse.processing.org/u/costachemadalin)\
**Replies:** 1\
**Last updated:** [January 1, 2020, 11:44am UTC](https://discourse.processing.org/t/opencv-depth-estimation/16705 "2020-01-01T11:44:28Z")

</div>

I am trying to get depth from 2 rectified images using openCV ,i took this code from here opencv-depth . I want to understand how the program works ,but i couldn’t find any documentation. import gab.opencv.\*; import or…

---

## [How to set color to the plot in grafica library](https://discourse.processing.org/t/how-to-set-color-to-the-plot-in-grafica-library/16773)

<div class="topic-metadata">

**Author:** [@iamgsshetty](https://discourse.processing.org/u/iamgsshetty)\
**Replies:** 1\
**Last updated:** [January 1, 2020, 11:20am UTC](https://discourse.processing.org/t/how-to-set-color-to-the-plot-in-grafica-library/16773 "2020-01-01T11:20:18Z")

</div>

I want to change color of the line from grey(default) to some other color

---

## [How to use WebRTC in Java Processing?](https://discourse.processing.org/t/how-to-use-webrtc-in-java-processing/16757)

<div class="topic-metadata">

**Author:** [@anon68884268](https://discourse.processing.org/u/anon68884268)\
**Replies:** 5\
**Last updated:** [December 31, 2019, 6:58pm UTC](https://discourse.processing.org/t/how-to-use-webrtc-in-java-processing/16757 "2019-12-31T18:58:31Z")

</div>

I heard about a internet protocol, which can send data to another computer in real-time, called WebRTC. Also i know, it’s for JavaScript (so probably for p5.js), but i want to use it for Java (normal Processing). Is th…

---

## [Could not run the sketch error](https://discourse.processing.org/t/could-not-run-the-sketch-error/16730)

<div class="topic-metadata">

**Author:** [@TellAJoke](https://discourse.processing.org/u/TellAJoke)\
**Replies:** 4\
**Last updated:** [December 31, 2019, 2:35pm UTC](https://discourse.processing.org/t/could-not-run-the-sketch-error/16730 "2019-12-31T14:35:30Z")

</div>

Usage: PApplet \[options\] \[sketch args\] See the Javadoc for PApplet for an explanation. Could not run the sketch (Target VM failed to initialize). Make sure that you haven’t set the maximum available memory too high. …

---

## [USB camera in list but doesn't grab image](https://discourse.processing.org/t/usb-camera-in-list-but-doesnt-grab-image/11003)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 3\
**Last updated:** [December 29, 2019, 3:50am UTC](https://discourse.processing.org/t/usb-camera-in-list-but-doesnt-grab-image/11003 "2019-12-29T03:50:29Z")

</div>

No error given in console. Webcam works as camera \[0\] USB camera shows up under Sound and game controllers in Device manager USB camera works with several other software apps OK. POsted about this in 2017/2018 Has a…

---

## [Connecting outermost dots with a single line?](https://discourse.processing.org/t/connecting-outermost-dots-with-a-single-line/16395)

<div class="topic-metadata">

**Author:** [@clausneergaard](https://discourse.processing.org/u/clausneergaard)\
**Replies:** 9\
**Last updated:** [December 28, 2019, 3:45pm UTC](https://discourse.processing.org/t/connecting-outermost-dots-with-a-single-line/16395 "2019-12-28T15:45:50Z")

</div>

Hi all - Does anyone know how to work with a way to connect the outermost randomly placed dots to make a shape? E.g., if you make 25 random points on screen and there are 10 dots on the perimeter and 15 on the inside, …

---

## [Processing to eclipse or Netbeans](https://discourse.processing.org/t/processing-to-eclipse-or-netbeans/16605)

<div class="topic-metadata">

**Author:** [@maakin](https://discourse.processing.org/u/maakin)\
**Replies:** 0\
**Last updated:** [December 24, 2019, 9:48am UTC](https://discourse.processing.org/t/processing-to-eclipse-or-netbeans/16605 "2019-12-24T09:48:56Z")

</div>

In processing I wrote a code when I click image sounds play and it’s working fine in processing however, when I import it Netbeans and eclipse the image file file displayed but sounds not working? Can you help?

---

## [How to detect which CheckBox was toggled to keep at least one switch 'ON'](https://discourse.processing.org/t/how-to-detect-which-checkbox-was-toggled-to-keep-at-least-one-switch-on/16581)

<div class="topic-metadata">

**Author:** [@JackFC](https://discourse.processing.org/u/JackFC)\
**Replies:** 8\
**Last updated:** [December 23, 2019, 11:59am UTC](https://discourse.processing.org/t/how-to-detect-which-checkbox-was-toggled-to-keep-at-least-one-switch-on/16581 "2019-12-23T11:59:53Z")

</div>

Hello, I am quite new in Processing. I am working on a project where I use a CheckBox from ControlP5 library to control random rotation of a shape. I have 4 switches each for one angle (0/90/180/270 degrees) and I need …

---

## [A question about the import of minim files](https://discourse.processing.org/t/a-question-about-the-import-of-minim-files/16542)

<div class="topic-metadata">

**Author:** [@xianyu](https://discourse.processing.org/u/xianyu)\
**Replies:** 6\
**Last updated:** [December 22, 2019, 5:59am UTC](https://discourse.processing.org/t/a-question-about-the-import-of-minim-files/16542 "2019-12-22T05:59:53Z")

</div>

Hi! I am a beginner in processing. I had some problems when importing audio files using minim. The file name and location looks correct. Below is my code. import ddf.minim.\*; import ddf.minim.analysis.\*; import ddf.min…

---

## [How do we add an icon as a marker in unfolding map](https://discourse.processing.org/t/how-do-we-add-an-icon-as-a-marker-in-unfolding-map/16547)

<div class="topic-metadata">

**Author:** [@iamgsshetty](https://discourse.processing.org/u/iamgsshetty)\
**Replies:** 3\
**Last updated:** [December 22, 2019, 5:25am UTC](https://discourse.processing.org/t/how-do-we-add-an-icon-as-a-marker-in-unfolding-map/16547 "2019-12-22T05:25:39Z")

</div>

how do we add an icon as a marker in unfolding map

---

## [G4P: Duplicate method win\_draw1(PApplet, GWinData) in type](https://discourse.processing.org/t/g4p-duplicate-method-win-draw1-papplet-gwindata-in-type/16545)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 2\
**Last updated:** [December 21, 2019, 10:32pm UTC](https://discourse.processing.org/t/g4p-duplicate-method-win-draw1-papplet-gwindata-in-type/16545 "2019-12-21T22:32:40Z")

</div>

I think there is a bug in the G4P designer tool that when you use more than one secondary window a method with a wrong name is created: This is what is created after adding another secondary window. This method is alrea…

---

## [Mapping Camera Coordinates to a 2D Floor Plan](https://discourse.processing.org/t/mapping-camera-coordinates-to-a-2d-floor-plan/16539)

<div class="topic-metadata">

**Author:** [@ql\_tan](https://discourse.processing.org/u/ql_tan)\
**Replies:** 4\
**Last updated:** [December 21, 2019, 12:24pm UTC](https://discourse.processing.org/t/mapping-camera-coordinates-to-a-2d-floor-plan/16539 "2019-12-21T12:24:33Z")

</div>

Hey everyone, I’m using openCV for processing to track human movements in a camera scene and Im struggling to translate the tracked coordinates caught in the camera scene onto a 2D floorplane. I found this link: https:/…

---

## [Applying Frame differencing tool to video file and exporting data as a csv file?](https://discourse.processing.org/t/applying-frame-differencing-tool-to-video-file-and-exporting-data-as-a-csv-file/16457)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 2\
**Last updated:** [December 20, 2019, 11:38pm UTC](https://discourse.processing.org/t/applying-frame-differencing-tool-to-video-file-and-exporting-data-as-a-csv-file/16457 "2019-12-20T23:38:06Z")

</div>

Hi, very new to coding, but for a MA project I am trying to develop a script that will read movement in a series of videos I have created and enable me to export the data as a CSV file? This existing tool is almost perf…

---

## [Kinect Blob-detection for two objects](https://discourse.processing.org/t/kinect-blob-detection-for-two-objects/16265)

<div class="topic-metadata">

**Author:** [@Liam](https://discourse.processing.org/u/Liam)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 2:19pm UTC](https://discourse.processing.org/t/kinect-blob-detection-for-two-objects/16265 "2019-12-09T14:19:55Z")

</div>

Hi everyone, I’m using Dan Schiffmans example on a Kinect v1 to track the position of two hands. I have been able to track the movement of one hand and get the centre point. but I want to track both hands for the purpos…

---

## [How to export a multichannelbuffer to wav or mp3?](https://discourse.processing.org/t/how-to-export-a-multichannelbuffer-to-wav-or-mp3/16409)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 9:40pm UTC](https://discourse.processing.org/t/how-to-export-a-multichannelbuffer-to-wav-or-mp3/16409 "2019-12-19T21:40:41Z")

</div>

I am using minim and I have an audio inside a MultiChannelBuffer How can I export it to wav or mp3, if you can’t, do you know any way to achieve it. I use java processing

---

## [G4P tool crash corrupts gui.ser.4.3](https://discourse.processing.org/t/g4p-tool-crash-corrupts-gui-ser-4-3/16454)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 6\
**Last updated:** [December 18, 2019, 5:20pm UTC](https://discourse.processing.org/t/g4p-tool-crash-corrupts-gui-ser-4-3/16454 "2019-12-18T17:20:23Z")

</div>

This happened to me a couple of times: While doing some operation in the G4P gui builder tool the tool just hangs with a fancy java exception in the console. When I close everything and start again nothing works due to …

---

## [RuntimeException: Could not load movie file Move1.mov](https://discourse.processing.org/t/runtimeexception-could-not-load-movie-file-move1-mov/16473)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 2:51pm UTC](https://discourse.processing.org/t/runtimeexception-could-not-load-movie-file-move1-mov/16473 "2019-12-17T14:51:37Z")

</div>

Having some trouble getting the Frame Differencing filter to read a .mov file Any ideas where I am going wrong? import processing.video.\*; int numPixels; int\[\] previousFrame; Movie video; void setup() { size(1920…

---

## ['img cannot be resolved to a variable'](https://discourse.processing.org/t/img-cannot-be-resolved-to-a-variable/16431)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 7\
**Last updated:** [December 16, 2019, 10:17pm UTC](https://discourse.processing.org/t/img-cannot-be-resolved-to-a-variable/16431 "2019-12-16T22:17:06Z")

</div>

I’m trying to create a script that will print image frames by interval, current code: int xpos = 0; int ypos = 0; int VWIDTH = 8; // width of capture int VHEIGHT = 6; // height of capture int MOVIEWIDTH = VWIDTH \* 60; …

---

## [DLL in processing](https://discourse.processing.org/t/dll-in-processing/16263)

<div class="topic-metadata">

**Author:** [@Lubos](https://discourse.processing.org/u/Lubos)\
**Replies:** 1\
**Last updated:** [December 9, 2019, 5:15pm UTC](https://discourse.processing.org/t/dll-in-processing/16263 "2019-12-09T17:15:48Z")

</div>

How to use (non Windows) DLL within Processing?

---

## [G4P not drawing background of label](https://discourse.processing.org/t/g4p-not-drawing-background-of-label/16261)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 1\
**Last updated:** [December 9, 2019, 11:14am UTC](https://discourse.processing.org/t/g4p-not-drawing-background-of-label/16261 "2019-12-09T11:14:21Z")

</div>

I want to create a label with a distinctive background so that the actual box of the label is visible. However whatever color I define as background (color 6 in the color scheme) is only drawn right behind the text but n…

---

## [Echo effect - Sound coding](https://discourse.processing.org/t/echo-effect-sound-coding/15952)

<div class="topic-metadata">

**Author:** [@gamzar](https://discourse.processing.org/u/gamzar)\
**Replies:** 3\
**Last updated:** [December 9, 2019, 7:23am UTC](https://discourse.processing.org/t/echo-effect-sound-coding/15952 "2019-12-09T07:23:48Z")

</div>

Good morning dear processing users, sorry to bother you guys, but I am writing to ask for some help related to my project - visualising the sound input from microphone and having the echo delayed effect back from the sp…

---

## [Marker not displaying on map using unfolding library](https://discourse.processing.org/t/marker-not-displaying-on-map-using-unfolding-library/16240)

<div class="topic-metadata">

**Author:** [@iamgsshetty](https://discourse.processing.org/u/iamgsshetty)\
**Replies:** 13\
**Last updated:** [December 9, 2019, 6:45am UTC](https://discourse.processing.org/t/marker-not-displaying-on-map-using-unfolding-library/16240 "2019-12-09T06:45:45Z")

</div>

code:- import de.fhpotsdam.unfolding. \<em\>; import de.fhpotsdam.unfolding.geo.\</em\> ; import de.fhpotsdam.unfolding.utils.\*; import de.fhpotsdam.unfolding.providers.Microsoft; import de.fhpotsdam.unfolding.marker.\*; U…

---

## [How to keep music from overlapping](https://discourse.processing.org/t/how-to-keep-music-from-overlapping/15846)

<div class="topic-metadata">

**Author:** [@Lane](https://discourse.processing.org/u/Lane)\
**Replies:** 2\
**Last updated:** [December 9, 2019, 12:23am UTC](https://discourse.processing.org/t/how-to-keep-music-from-overlapping/15846 "2019-12-09T00:23:11Z")

</div>

Hi! I have it where if the mouse is clicked inside the rectangle’s bounds then music will play. But every time I click inside the rectangle’s bounds the music will will repeat on top of each other. Is there a way I can g…

---

## [How to make fft into a circle](https://discourse.processing.org/t/how-to-make-fft-into-a-circle/16255)

<div class="topic-metadata">

**Author:** [@Lane](https://discourse.processing.org/u/Lane)\
**Replies:** 4\
**Last updated:** [December 8, 2019, 10:25pm UTC](https://discourse.processing.org/t/how-to-make-fft-into-a-circle/16255 "2019-12-08T22:25:57Z")

</div>

Hello! Is there a way to make this fft into a circle? Or other cool shape? import processing.sound.\*; SoundFile file1; FFT fft; FFT fft2; int bands = 128; float smoothingFactor = 0.2; float \[\]sum = new float \[bands\]; …

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

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