jit.leapmotion - infrared stereo camera.
This object outputs leapmotion's infrared stereo camera images.(Only for Mac OSX)
Before using this object, You should check "Allow Images" on Leap Motion control panel.
Developed by@mirrorboy - http://mirror.boy.jp
Download this tool
LSka
11月 03 2014 | 5:45 午後
Yeah! I was waiting for someone to implement this in Jitter.
Great job!
Chris Vik
11月 04 2014 | 12:18 午前
Do this require a specific version of the Leap Motion software? I'm currently running v2.1.5+22699 on OS X 10.10, and using your example patch just outputs a black jit.pwindow. The jit.fpsgui objects are updating with correct information about the output, but I'm just not getting any visuals. Unplugging the Leap results in a "Leapmotion is not connected" message in the Max window, so it's finding the Leap at least.
LSka
11月 04 2014 | 7:35 午前
Works for me on 10.9. Have you checked "Allow Images" in Leap Motion settings?
Wetterberg
11月 04 2014 | 7:43 午前
Can this be used simultaneously with getting normal leap inputs via another object?
mirrorboy
11月 04 2014 | 12:50 午後
I have not tried that yet.
vichug
11月 04 2014 | 4:46 午後
_
Chris Vik
11月 05 2014 | 4:30 午前
LSKA - that was the issue. I totally missed that part of the post. Thanks!
Joseph Hyde
11月 05 2014 | 12:27 午後
Nice! You've re-ignited my interest in my somewhat-neglected Leap..
rama
2月 24 2015 | 8:40 午後
great idea! but crashes pretty quickly here. is it a setting on my system? here's the crash thread:
Process: Max [2988]
Path: /Applications/Max.app/Contents/MacOS/Max
Identifier: com.cycling74.Max
Version: 7.0.2 [fb3084f] (7.0.2)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Max [2988]
User ID: 501
Date/Time: 2015-02-24 12:41:50.067 -0800
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: E844FD0B-4873-595F-3615-7C8115A0DD9F
Sleep/Wake UUID: 0DDD1E4D-041A-4FB9-9F72-8092229AD027
Time Awake Since Boot: 68000 seconds
Time Since Wake: 3200 seconds
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fdc42800180
VM Regions Near 0x7fdc42800180:
MALLOC_SMALL 00007fdc3f800000-00007fdc42800000 [ 48.0M] rw-/rwx SM=PRV
-->
STACK GUARD 00007fff4dc50000-00007fff51450000 [ 56.0M] ---/rwx SM=NUL stack guard for thread 0
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 com.cycling74.jit-leapmotion 0x00000001248d7c76 void jit_leapmotion_loop(_jit_leapmotion*, _jit_matrix_info*, char*, long*, long, Leap::Image*) + 214
1 com.cycling74.jit-leapmotion 0x00000001248d7993 jit_leapmotion_calculate_ndim + 355
2 com.cycling74.jit-leapmotion 0x00000001248d774e jit_leapmotion_matrix_calc + 798
3 com.cycling74.Max 0x000000010e09ad83 object_method_imp + 352
4 com.cycling74.jit-leapmotion 0x00000001248d8628 max_jit_leapmotion_outputmatrix + 376
5 com.cycling74.JitterAPI 0x00000001241f648a max_jit_usurp_qfn + 101
6 com.cycling74.JitterAPI 0x00000001241f6e78 max_jit_usurp_method + 91
7 com.cycling74.Max 0x000000010dfdfc09 typedmess_fun + 284
8 com.cycling74.MaxAPI 0x000000011ccdb113 typedmess + 67
9 com.cycling74.JitterAPI 0x0000000124210d0a max_jit_mop_bang + 23
10 com.cycling74.Max 0x000000010e047b0c outlet_bang + 1079
11 com.cycling74.metro 0x0000000123ecf650 metro_out + 87
12 com.cycling74.Max 0x000000010dfefe53 sched_dequeue + 278
13 com.cycling74.Max 0x000000010e20ea7d MainThreadEventHandler::invoke() + 101
14 com.cycling74.Max 0x000000010e33f2f0 juce::InternalTimerThread::callTimers() + 176
15 com.cycling74.Max 0x000000010e33e279 juce::MessageManager::deliverMessage(juce::Message*) + 55
16 com.cycling74.Max 0x000000010e4229f3 juce::AppDelegateRedirector::runLoopCallback() + 99
17 com.apple.CoreFoundation 0x00007fff8fe57681 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18 com.apple.CoreFoundation 0x00007fff8fe4980d __CFRunLoopDoSources0 + 269
19 com.apple.CoreFoundation 0x00007fff8fe48e3f __CFRunLoopRun + 927
20 com.apple.CoreFoundation 0x00007fff8fe48858 CFRunLoopRunSpecific + 296
21 com.apple.HIToolbox 0x00007fff8ad3eaef RunCurrentEventLoopInMode + 235
22 com.apple.HIToolbox 0x00007fff8ad3e86a ReceiveNextEventCommon + 431
23 com.apple.HIToolbox 0x00007fff8ad3e6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
24 com.apple.AppKit 0x00007fff8ba85f81 _DPSNextEvent + 964
25 com.apple.AppKit 0x00007fff8ba85730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
26 com.apple.AppKit 0x00007fff8ba79593 -[NSApplication run] + 594
27 com.cycling74.Max 0x000000010e2dd862 -[MaxCefApplication run] + 49
28 com.cycling74.chromium 0x000000010eeff311 0x10ede3000 + 1164049
29 com.cycling74.chromium 0x000000010eefec1c 0x10ede3000 + 1162268
30 com.cycling74.chromium 0x000000010ef3d4d0 0x10ede3000 + 1418448
31 com.cycling74.chromium 0x000000010ef5657a 0x10ede3000 + 1521018
32 com.cycling74.chromium 0x000000010ef3ce6d 0x10ede3000 + 1416813
33 com.cycling74.chromium 0x000000010ee554b2 0x10ede3000 + 468146
34 com.cycling74.Max 0x000000010e2dd870 -[MaxCefApplication run] + 63
35 com.cycling74.Max 0x000000010e41d981 juce::MessageManager::runDispatchLoop() + 81
36 com.cycling74.Max 0x000000010e2f0ea7 juce::JUCEApplication::main(juce::StringArray const&) + 59
37 com.cycling74.Max 0x000000010e2f0fbe juce::JUCEApplication::main(int, char const**) + 68
38 com.cycling74.Max 0x000000010dfb8564 start + 52
rama
2月 24 2015 | 8:41 午後
p.s. would you release the source?
Beep
3月 30 2015 | 3:30 午後
I use Mac so this is great, but a Windows version would be great for a project I'm working on. Are there technical reasons why this can't be ported to PC or does it just need someone with the relevant knowhow to take a look?
Author