Shop OBEX P1 Docs P2 Docs Learn Events
Wedding In Progress — Parallax Forums

Wedding In Progress

Mike HuseltonMike Huselton Posts: 746
edited 2009-02-18 16:13 in General Discussion
My good friend Mike Brennan's daughter wedding is being telecast live at magnoliahideout.com/cam/

You are invited.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH

Post Edited (James Michael Huselton) : 2/14/2009 2:24:08 AM GMT

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-02-14 02:17
    Link's broken...
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-02-14 02:22
    Link is fixed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • HannoHanno Posts: 1,130
    edited 2009-02-14 02:39
    Congrats!
    They just got married a second ago.... The internet is so cool!
    Hanno
  • SRLMSRLM Posts: 5,045
    edited 2009-02-14 03:49
    It feels sort of awkward watching strange people talk to the camera...
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-02-14 06:01
    some how off-topic or did they talk in SPIN all the time ?
    or did a prop-controlled-robot play the organ ?
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-02-14 06:05
    They Spun around after getting married, belted a few Cognacs, and finally Assembled for the reception.

    Parallax, can you remove this post if it does seem to offend the sensibilities of this forum?

    On further reflection, just delete the thread. A Friday wedding seemed like a fun thing to share, but I made a category error.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH

    Post Edited (James Michael Huselton) : 2/14/2009 7:00:49 AM GMT
  • EricGarlicEricGarlic Posts: 41
    edited 2009-02-14 18:53
    Well it has had over 200 viewing. It at least raised some curiosity.

    I guess the geeks hoped for propeller involvement somewhere. Anybody any thoughts on how a propeller could be used in a wedding ceremony? I think we'll stop the process at the point where the happy couple leave the reception.

    Propeller game on the reception tables; just in case the speeches are little boring.

    Remote control waiter?

    Disco lighting?

    Eric
  • SRLMSRLM Posts: 5,045
    edited 2009-02-14 20:09
    How about a system to release a flock of doves when the couple kiss? The propeller should be able to do that fairly easily: just hook up a wire to the groom and another to the bride, and when they kiss, it completes the circuit. Of course, no touching before the kiss at the risk of premature release of the doves.
  • HannoHanno Posts: 1,130
    edited 2009-02-14 20:55
    On a serious note on a possible Propeller application- something Mike and I talked about, and a possible candidate for OBC's $1 competition:

    Use the Propeller to move the camera to "interesting" things to videotape. Where interesting is a "white object"- the bride. Or a "black object"- the groom. Or "a face", a guest talking to it. Or a "circle"- no clue...

    This can be done TODAY- easily and cheaply with ViewPort. Here's what my dad did a couple days ago:
    - connect a hobby servo to the ProtoBoard
    - mount whatever you want on the servo top- he used a pointer, but you could put a camera, a doll's head...
    - control the hobby servo with the bs2 object from obex (you could also use the servo32 object)
    - drive the servo with the position provided by ViewPort's OpenCV filter. Currently, ViewPort let's you capture video from a webcam, a file, or a Propeller frame grabber- he used a webcam. Then, you can select from a HSV color blob finder, a Viola Jones object finder (great for finding faces), or a Hough circle finder. All provide an x,y, width, height result to the Propeller. For this application he uses just the x position.
    Here's the code:
    CON
     _clkmode        = xtal1 + pll16x
     _xinfreq        = 5_000_000
    OBJ
      vp   :        "Conduit"              'transfers data to/from PC
      qs   :       "QuickSample"             'samples INA continuously in 1 cog to 20mhz 
     BS2   :       "BS2_Functions"           ' Create BS2 Object 
    VAR
       long pwmst[noparse][[/noparse]100]
       byte pw1,x1
    pub findblob|pos,x,y,a
      vp.config(string("var[img]http://forums.parallax.com/images/smilies/tongue.gif[/img]os,x,y,a"))
      vp.config(string("dso:view=[noparse][[/noparse]x,y],timescale=1s"))
      vp.config(string("video:source=cam,mode=face,result=pos")) 'use video from the webcam, 
                                'filter with the face mode, and write packed result to the pos spin variable
      vp.config(string("start:video"))
      vp.share(@pos,@a)
      BS2.start(1,2)
      cognew(servopwm(@x1),@pwmst)
      repeat
        x:=pos & $3ff                           '0-1023
        y:=pos >>10 & $3ff    
        a:=x+y 
        x1:=x/4                                  '0-255
        
    pub servopwm(x11)            ‘ generate PWM
      repeat                    ‘ for servo
         pw1:=byte[noparse][[/noparse]x11]
         BS2.PULSOUT(9,1*500+3*pw1)     ' 1-2.5 ms    2us/cnt
         BS2.pause(25)                           ' 25 ms      
    
    


    Here's a picture of his setup and some results- it shows his laptop running ViewPort, a webcam, his "Protoboard/IODreamkit", and a servo with a pointer. The bottom row show the servo pointing to different recognized objects. I'll do a video one of these days, everything is done continuously in real time, so if you move one of the objects, the servo follows!
    servocv.jpg

    Latest ViewPort beta is here: Beta Page
    ViewPort v4.1 should be ready in a couple days.
    Hanno

    Post Edited (Hanno) : 2/14/2009 9:01:09 PM GMT
  • EricGarlicEricGarlic Posts: 41
    edited 2009-02-14 21:26
    Excellent. I presume it works best with bright contrasting colours - mother-in-laws hat?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-02-18 16:13
    This thread is off-topic in the Propeller Forum and is being moved to the Sandbox.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.