Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-02-10

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 jvcleave the way I see it - MS won - you want to use the kinect - go to windows
00:00 max3 2 at a time if i wanted to take a crack at my own stereo-registration algo?
00:00 jvcleave yeah - other cams work - the ps3eye is good
00:00 dantheman ps3eye toy is nice
00:00 jvcleave that is pushing it - the pi's CPU is the limitation
00:00 dantheman you can run two if you put them in the smallest res and half the frame rate
00:01 dantheman so like 320/240 blk white @ 30 fps each
00:01 max3 that's fine
00:01 max3 i don't need more than that to get a rough depth image
00:01 dantheman but then openCV cuts it down to lil 15
00:01 jvcleave USB is CPU hungry - make sure you use a powered USB hub
00:01 dantheman yeah
00:01 keeran admsyn: remember if the workaround was related to this? http://forum.openframeworks.cc/​t/file-access-oftodatapath/7297
00:01 dantheman jvcleave: how bad is CV?
00:01 dantheman I haven't used it in a while
00:02 dantheman I actually haven't touch OF on the pi since the workshop more or less...well there was that instagram test I did back in november
00:02 admsyn keeran: yeah that's the gist, if it's at all possible it's probably easiest to have your addon thing just have an explicit setup() and do your datapath business in there
00:02 jvcleave https://vimeo.com/77112978
00:03 keeran admsyn: aye unravelling it now :)
00:03 dantheman but I mean with a cam not a video?
00:03 admsyn keeran: hm there's a more recent issue i'm like 90% sure
00:03 jvcleave cam isn't much different
00:03 dantheman really
00:03 dantheman ok
00:03 dantheman I remember it being much slower
00:03 jvcleave yeah - the ps3eye comes in as RGB which is nice
00:03 dantheman yeah
00:04 dantheman its a nice piece of gear
00:04 dantheman I have a ton of them
00:04 dantheman like idk I just kept buying them for a while cause i found them for like 18-20
00:04 dantheman gotta stock-pile
00:05 keeran admsyn: sorted, calling a minisetup method after the msaio is set
00:05 jvcleave yeah - there are 5 packs on ebay all the time and that company that makes the really amazing lens kits
00:05 dantheman yeah
00:05 dantheman I just got my hands on a usb3 cam
00:05 dantheman soooo good
00:05 dantheman its like FAST FAST at 1280x720
00:06 jvcleave http://peauproductions.com/store/index.p​hp?main_page=index&cPath=137_138_146
00:06 dantheman like 60hz fast
00:06 dantheman c-mount lens
00:07 dantheman oh sweeeeet
00:07 jvcleave yeah - some of those new cam do h264 encoding - haven't tried one yet
00:07 Dorald joined #openframeworks
00:07 jvcleave and these if you are rich
00:07 jvcleave http://peauproductions.com/store/index.p​hp?main_page=index&cPath=137_138_147
00:10 dantheman http://www.e-consystems.com/1MP​-USB3-Globalshutter-Camera.asp
00:15 Dorald_ joined #openframeworks
00:16 laserpilot joined #openframeworks
00:19 laserpilot left #openframeworks
00:26 dantheman joined #openframeworks
00:26 ofarturo joined #openframeworks
00:34 stephanschulz joined #openframeworks
00:45 boltR joined #openframeworks
00:46 igorline joined #openframeworks
00:51 stephanschulz joined #openframeworks
01:06 robo joined #openframeworks
01:07 tapout_ joined #openframeworks
01:20 pizthewiz joined #openframeworks
01:51 pizthewiz joined #openframeworks
01:56 stephanschulz joined #openframeworks
01:59 pizthewiz joined #openframeworks
02:00 dantheman joined #openframeworks
02:02 stephanschulz joined #openframeworks
02:05 stephanschulz joined #openframeworks
02:13 robo joined #openframeworks
02:20 admsyn joined #openframeworks
02:22 dantheman joined #openframeworks
02:23 robo joined #openframeworks
03:22 boltR_ joined #openframeworks
03:39 dantheman joined #openframeworks
03:44 phserr joined #openframeworks
05:21 chrisk_ joined #openframeworks
05:40 chrisk_ hi
05:41 chrisk_ i'm building openframeworks
05:41 chrisk_ but staying at Progress 60% on Eclipse
05:42 chrisk_ not continue to build the project
05:42 chrisk_ any advide?
05:42 admsyn that's kind of a weird one. It's not throwing an error?
05:44 admsyn joined #openframeworks
05:50 dantheman joined #openframeworks
06:00 chrisk_ nope
06:00 chrisk_ not throing an error
06:00 chrisk_ fell strange as well
06:00 chrisk_ feel
06:13 chrisk_ ok, just took a looooooong time to build.
06:30 LCID_Fire joined #openframeworks
06:42 LCID_Fire joined #openframeworks
07:02 dantheman joined #openframeworks
07:40 LCID_Fire joined #openframeworks
08:07 LCID_Fire_ joined #openframeworks
08:23 Razorien joined #openframeworks
08:33 ncls joined #openframeworks
08:49 ofarturo joined #openframeworks
09:11 nylki joined #openframeworks
09:14 igorline joined #openframeworks
09:28 nylki joined #openframeworks
09:40 LCID_Fire joined #openframeworks
09:46 Hurtzy joined #openframeworks
10:09 neue joined #openframeworks
10:11 LCID_Fire joined #openframeworks
10:14 nylki joined #openframeworks
10:52 nickhudspeth joined #openframeworks
11:35 igorline joined #openframeworks
11:43 makerbox joined #openframeworks
11:48 makerbox joined #openframeworks
11:54 nylki joined #openframeworks
12:08 davidnunez joined #openframeworks
12:22 neue joined #openframeworks
12:34 makerbox joined #openframeworks
12:49 nylki joined #openframeworks
13:04 stephanschulz joined #openframeworks
13:17 LCID_Fire joined #openframeworks
13:42 LCID_Fire joined #openframeworks
13:46 LCID_Fire joined #openframeworks
14:15 kureta joined #openframeworks
14:24 makerbox joined #openframeworks
14:25 makerbox joined #openframeworks
14:27 nicedice joined #openframeworks
14:42 nylki joined #openframeworks
14:48 igorline Hey! Can somebody explain me which type of multitouch screens/tables i can use with openframeworks? Or anything supporting TUIO? Probably Windows 7 touch events should be also instantly working?
14:58 robot joined #openframeworks
15:10 LCID_Fire_ joined #openframeworks
15:30 stephanschulz left #openframeworks
15:32 lmccart joined #openframeworks
16:50 admsyn joined #openframeworks
17:19 finger563 joined #openframeworks
17:29 vade joined #openframeworks
18:02 ofarturo joined #openframeworks
18:21 finger563 just figured out some nice info: don't run OF on a Pi with overclocking... it will probably lead to strange behavior (esp if you're doing camera and GPU stuff)
18:22 admsyn :)
18:23 yns joined #openframeworks
18:33 pizthewiz joined #openframeworks
18:35 yns joined #openframeworks
18:38 nylki joined #openframeworks
18:43 jedahan joined #openframeworks
18:45 pizthewiz joined #openframeworks
18:48 LCID_Fire_ joined #openframeworks
19:01 yns joined #openframeworks
19:08 yns joined #openframeworks
19:10 oneironaut finger563: can you get enough frames through doing camera and 3d stuff without overclocking to do cool stuff?
19:12 yns joined #openframeworks
19:28 finger563 @oneironaut yea i can :)
19:28 finger563 i'm running frei-chen edge detection and distance transform in GLSL shaders on color video
19:28 finger563 and writing the video to a file and i get some good results :)
19:29 finger563 the video runs/is processed at a high framerate
19:29 finger563 and i limit the recorded video to 10 fps but it can do higher
19:29 finger563 i'm also currently just writing full raw image data to file, as opposed to usitilizing compression
19:29 finger563 i had some issues with compression when i was overclocking so i switched to writing files
19:30 finger563 but i'm going to try going back to compression (using OMX hardware support) later today and see what kind of results i can get
19:30 finger563 :)
19:37 nicedice_ joined #openframeworks
20:37 ubn2902 joined #openframeworks
20:38 ubn2902 hey guys.. I added ofxCountourAnalysis and ofxVectorMath to my project addons  but now receive 6 issues - XCode is complaining about redefinitions
20:38 ubn2902 in three different files of ofxCountourAnalysis.. any ideas what could be wrong?
20:38 admsyn what are the errors?
20:39 admsyn can you copy/paste one error specifically?
20:39 ubn2902 1st error;
20:39 ubn2902 Typedef redefinition with different types ('struct Segment' vs 'struct Segment')
20:40 admsyn I think ofxVectorMath is redundant, actually, it's all in the core now
20:40 * admsyn is trying to remember
20:41 admsyn are you porting an old project?
20:41 ubn2902 ( I'm actually trying to implement this example: v)
20:41 ubn2902 woops
20:41 ubn2902 v = http://forum.openframeworks.cc/t/blob-​contour-to-box2d-b2edgechaindef/2347/9
20:41 ubn2902 yes :)
20:41 admsyn yeah I think all the ofxVectorMath stuff is unnecessary
20:41 jvcleave yeah - I think ofxCountourAnalysis is in ofPolyline as well
20:41 admsyn and if it uses anything from it, it'll just be a translation of ofxWhatever ofWhatever
20:42 ubn2902 ah alright, I will just try to comment //ofxVectorMath.h and see what happens now :)
20:42 _rm joined #openframeworks
20:43 admsyn that'd be why you get redefinition errors, though :) (presumably)
20:44 ubn2902 is 'ofxPoint3f' to be changed to 'ofxPoint'?
20:44 admsyn just ofPoint
20:44 ubn2902 doh yea.. that's what I meant :) Thanks
20:45 ubn2902 (as you can see, I'm new to of)
20:45 admsyn np, ask away if you get anything else that's tricky
20:51 ubn2902 thanks :) still got 3 different type of errors coming up after commenting //ofxVectorMath.h and renaming to ofPoint. For example 'convexHull.h' gives a redefinition of 'hPoint' error (as well as 'cross' and 'calcConvexHull'). Does this mean this is included in the of 'vanilla' code?
20:51 admsyn yeah I think those are the bits of ofxCountourAnalysis that are now ofPolyline as jvcleave was saying
20:51 _rm is there a simple way of getting OF working with vs2013, or should i just give up and go with vs2012
20:52 admsyn _rm: 99% sure it'll be easiest to go with vs2012
20:52 nylki joined #openframeworks
20:52 _rm yeah, i guessed as much
20:53 ubn2902 admsyn: so is it best to comment those functions away?
20:53 admsyn if your project isn't using them, sure, but it looks like that project is using convex hull at least
20:53 admsyn but if it's just a redifinition error, you just need to find out which thing you're adding that's redundant
20:55 ubn2902 other errors include /.../addons/ofxContourAnalysi​s/ofxContourAnalysis.h:85:22: Variable length array of non-POD element type 'ofPoint' (aka 'ofVec3f')
20:56 ubn2902 /.../addons/ofxContourAnalys​is/polylineSimplify.h:11:3: Typedef redefinition with different types ('struct Segment' vs 'struct Segment')
20:56 admsyn oh ick
20:56 admsyn yeah maybe the most straightforward way about it would be to translate whatever's necessary from ofxContourAnalysis into the equivalent ofPolyline things thne
20:56 admsyn *then
20:56 admsyn what happens if you just take out ofxContourAnalysis?
21:00 ubn2902 (commented out //ofxContourAnalysis contourAnalysis; and //#include "ofxContourAnalysis.h" in the testApp.h) - now (logically) get lots of undeclared identifiers (contourAnalysis, lineStrip, bReversePoints, contourFinder).
21:00 admsyn are those just coming out of ofxContourAnalysis though, or your testApp?
21:10 ubn2902 (not sure what you mean, those variables are in my testApp.cpp)
21:11 ubn2902 might me missing some definition with regard to lineStrip though.. that seems to come from box2dLine
21:12 ubn2902 me = be*
21:13 ubn2902 hah, trying to add 'ofxBox2dLine lineStrip;' now gives the newest error, unknown type name 'ofxBox2dLine'
21:15 admsyn that's probably just because you're missing ofxBox2d though?
21:15 admsyn looks like it's a bit of a mess :)
21:15 admsyn presumably you're working with the latest oF?
21:16 ubn2902 no I do have ofxbox2d in my addon folder, but my version does not seem to include a ofxBox2dLine
21:16 admsyn :/
21:16 ubn2902 yes I do, 0.8 I believe :)
21:22 admsyn yeah it might be a little wonky to port it over, the project you're working with is 2 big/breaking OF versions back
21:23 ubn2902 hmm yes I understand
21:23 admsyn if you're familiar with C++ it might not be so bad, might just need to litter some namespaces and "using"s around
21:23 ubn2902 alright, if you have time/interest - can I ask you some questions along the way or would that be too cumbersome?
21:23 admsyn the demo looks pretty straightforward though, unless you're really shooting for the demo in particular it might be more straightforward to just remake it, or do something else :)
21:23 admsyn sure go for it
21:25 ubn2902 I am trying to add a kinect 'blob' to box2d collision object
21:25 ubn2902 and this demo seemed perfect for that
21:25 ubn2902 well the problem I currently have is that ofxBox2dLine doesn't seem to exist (anymore?). Has it been removed/replaced with for example ofxBox2dEdge?
21:26 admsyn I'm like 95% sure there's a readily available demo out there that does exactly that, I'll take a look
21:27 admsyn I think there's some interoperability between ofPolyline and ofxBox2d, so that's probably it
21:28 admsyn ubn2902: http://forum.openframeworks.cc/t/good-ex​ample-for-kinect-box2d-for-074-of/12508
21:30 admsyn actually just googling "openframeworks kinect box2d" turns up quite a few things :) https://www.google.ca/search?​q=openframeworks+box2d+kinect
21:32 ubn2902 Yes I searched a bit myself as well, but did not take OF version numbers into account.. I tried this Snowman example before, but could not get it to work immediately, do you think it is better to work from that example?
21:33 admsyn depending on your familiarity, the best way to go for it would be to take a simple ofxBox2d example and a simple ofxKinect example, and then just smoosh them together :)
21:33 admsyn maybe with some ofxCv in the middle to bridge the gap
21:34 admsyn and maybe just refer to that snowman example or others if you get stuck
21:34 ubn2902 hah yes, been trying that whole day actually - so was quite happy that I had found an example haha
21:34 ubn2902 yes I will try that a bit more.. :) thanks
21:34 admsyn the gist, though, would be ofxKinect image -> contour analysis -> triangulation (probably) -> box2d line -> physics fun times
21:36 ubn2902 admsyn: yes I think I got stuck a few times on the triangulation, though there are some examples available for that as well.
21:36 admsyn it'll probably be pretty easy with oF 0.8. ofxCv will give you a polyline and then you can just call .triangulate() on it IIRC
21:36 admsyn maybe with a .smooth() or .simplify() thrown in
22:28 ubn2902 admsyn: got quite far but now run into a problem. triangle.triangulate(contourFinder.blobs[i], max( 3.0f, (float)contourFinder.blobs[i].pts.size()/12));
22:28 ubn2902 gives me /.../apps/myApps/Test3/src/testApp.cpp:63:30: No viable conversion from 'ofxCvBlob' to 'vector<ofPoint>'
22:29 admsyn it's probably just an explicit conversion, i.e. there's probably a function on .blobs[i]
22:29 admsyn .blobs[i].pts ?
22:35 ubn2902 changed to + .pts and that error was removed. :) However I am now suddenly again greeted with my favourite error from today.. clang: error: linker command failed with exit code 1 (use -v to see invocation)
22:35 admsyn there's more to that error, if you click on it you should be able to see
22:36 ubn2902 I searched the internet for solutions, but it always seems to state that duplicate files have been added in the compile sources - possibly some of my addons conflict?
22:36 admsyn you mean googling "clang: error: linker command failed with exit code 1 (use -v to see invocation)" ?
22:36 ubn2902 yes there's a whole bunch, 72 duplicate symbols for architecture
22:36 ubn2902 yes
22:36 admsyn that's just a super generic linker error, it comes up for a lot of things :)
22:37 admsyn but yeah "duplicate symbol for architecture" probably means you've got two copies of something-or-other
22:39 ubn2902 so for example the first 'duplicate' is duplicate symbol __ZN3tpp8Delaunay11TriangulateERSs in:
22:39 ubn2902 /Users/x/Library/Developer/Xcode/DerivedData/​Test3-ghaxbzbofeznmbbepejfseuompye/Build/Inte​rmediates/Test3.build/Debug/Test3.build/Objec​ts-normal/i386/del_impl-43FB793BC386878A.o
22:39 ubn2902 /Users/x/Library/Developer/Xcode/DerivedData/​Test3-ghaxbzbofeznmbbepejfseuompye/Build/Inte​rmediates/Test3.build/Debug/Test3.build/Objec​ts-normal/i386/del_impl-9FA3EDF96FB85789.o
22:39 ubn2902 so that seems to direct to Triangulate duplicate?
22:42 ubn2902 (I am not sure what Delaunay is, but it returns in all the symbol errors I believe)
22:42 admsyn it's a triangulation method, not sure why that in particular would throw an error
22:43 admsyn which .triangulate() are you using?
22:43 jvcleave ugh -  that sounds familar - there are probably 2 functions named "triangulate"
22:43 admsyn is it on an ofPolyline?
22:44 ubn2902 it is used on ofxTriangle triangle;
22:51 ubn2902 (ofxTriangle has a .triangulate() function - is there another class (is that the correct name?) that also uses an triangulate?
22:53 ubn2902 I guess it could be possible to comment-away the triangulate of the other class if I can find it?
22:57 admsyn yeah ofPolyline has one
22:57 admsyn it shouldn't collide though, unless there's something real weird going on
22:57 admsyn I'm not sure where ofxTriangle came into the picture :)
22:58 ubn2902 ofxTriangle was introduced by the snowman example
23:00 admsyn oh I see
23:17 ofarturo joined #openframeworks
23:25 finger563 joined #openframeworks
23:29 nylki_ joined #openframeworks
23:46 jedahan joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary