processing

Kinect for Xbox 360 freezes and disconnects from USB after running Processing SimpleOpenNi depth image example

二次信任 提交于 2019-11-28 19:59:05
please help I've been trying to set up kinect for XBOX 360 to run on ubuntu in order to start developing an application to control a humanoid robot. for the past four days I've been searching , downloading , installing and trying dozens of libraries and drivers to get the kinect to work on Ubuntu. in the beginning none was working and I was only able to read the RGB camera with "Camorama" and "guvcview" no matter what library or driver I attempted to run.. Finally, I installed a fresh copy of Ubuntu and installed libfreenect libraries using synaptic (I'm kinda newbie) and I also installed the

There has been an error processing your request, Error log record number

只愿长相守 提交于 2019-11-28 17:25:01
问题 I installed Magento, logged in admin panel. But if I press on any link to open let say CMS pages or users configuration, I get error like this: There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 673618173351 That error log record number looks like a link, but pressing it nothing happens. I tried to look for some log file in magento files, but didn't find any. So actually I can only connect to admin panel,

How to save application options before exit?

元气小坏坏 提交于 2019-11-28 17:17:39
I have made an application and i need to save some options before exit.(something like window dimension, ..., that will be written in a file.) The main frame has set this: frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); How can I save options that interests me?(before exiting of course) Thanks! Romain Linsolas If you just want to do something when the application is shutting down, you can hook the shutdown using this code: Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() { public void run() { // Do what you want when the application is stopping } })); However, this will not

How to filter FFT data (for audio visualisation)?

早过忘川 提交于 2019-11-28 16:54:16
I was looking at this Web Audio API demo , part of this nice book If you look at the demo, the fft peaks fall smoothly. I'm trying to do same with Processing in Java mode using the minim library. I've looked at how this is done with the web audio api in the doFFTAnalysis() method and tried to replicate this with minim. I also tried to port how abs() works with the complex type: / 26.2.7/3 abs(__z): Returns the magnitude of __z. 00565 template<typename _Tp> 00566 inline _Tp 00567 __complex_abs(const complex<_Tp>& __z) 00568 { 00569 _Tp __x = __z.real(); 00570 _Tp __y = __z.imag(); 00571 const

zz深度学习论文合集大全

元气小坏坏 提交于 2019-11-28 16:34:07
Pull requests Issues Marketplace Explore Learn Git and GitHub without any code! Using the Hello World guide, you’ll start a branch, write comments, and open a pull request. Read the guide Watch 2,133 Star 23,826 Fork 5,417 floodsung / Deep-Learning-Papers-Reading-Roadmap Code Issues 37 Pull requests 36 Projects 0 Wiki Security Insights Deep Learning papers reading roadmap for anyone who are eager to learn this amazing tech! deep-learning 100 commits 1 branch 0 releases 22 contributors Python Branch: master New pull request Create new file Upload files Find File Clone or download floodsung

Timing based events in Processing

只愿长相守 提交于 2019-11-28 14:42:56
I want to create a music visualizer, and to do this I want to build an array which safes instructions in order of occurrence in the music. I then want to build a function that parses through the array at a set speed and performs the instructions. So for example I have an array with {a,b,a,b,a} and for every a the screen turns red for every b the screen turns black. I tried using Threads and the sleep() function but it wouldn't wake up again. I'm frankly at a loss as to what to do next. You could use the modulo operator along with the frameCount variable to do something every X frames. Here's a

How to animate from one x,y coordinate to another? (Java/Processing)

十年热恋 提交于 2019-11-28 14:10:53
I am making a simple animation in Processing. I want to animate an image from its starting point to a defined x,y value on the screen. I have 2 methods, update() and draw() , which are run on every tick. update() is where the code will go to process the x/y coordinates to provide to the draw() method on the next tick. The draw() method then draws the image, passing in the updated x and y values. minimal example: class ScrollingNote { float x; float y; float destX; float destY; PImage noteImg; ScrollingNote(){ noteImg = loadImage("image-name.png"); this.x = width/2; this.y = 100; this.destX =

FFmpeg - Overlay one video onto another video?

旧城冷巷雨未停 提交于 2019-11-28 13:29:48
I understand that this is a very open ended question. I have done some initial reading into FFmpeg , but now require some guidance. Problem I have a video input.mov . I would like to overlay another video on top of overlay.wov . The result should be a single video ( output.mov ). Notes Done some initial reading into FFmpeg and read this question . Thanks - C. Edits Backend is Go/Ruby. Open to using a new language. The audio from the first video should be kept. Setting the interval at which the overlay starts would be great. Current Solution ffmpeg -i input.mov -i overlay.mov -filter_complex "

Adding delay in Processing

血红的双手。 提交于 2019-11-28 13:17:39
问题 so I am new to Processing and basically I am doing a program that when it runs, it opens a window with 4 different images, each of the image have description underneath. In the methods below, I created two random methods, one for the reviews number and the other for the review comments, I would like the comments to not be generated all the time for every film - more like popping up randomly, because it cause too much chaos trying to read them all. Also to check weather I can add arrays

How to create more than one window of a single sketch in Processing?

感情迁移 提交于 2019-11-28 10:50:02
问题 I want to create two windows by using just one single sketch in Processing. What I'm trying to do is that if I click a button in one window, then some image appear in another window. I've searched Google and found some examples. Actually, I found the same question in this 'stack overflow web'. Here are the links. Create more than one window of a single sketch in Processing http://forum.processing.org/one/topic/multiple-windows-2-4-2011.html Here is the codes of second links. import java.awt