Showing posts with label Streaming Solutions. Show all posts
Showing posts with label Streaming Solutions. Show all posts

Thursday, May 5, 2011

Finally OpenCV 2.1 & MS VC++ 2008 worked together ...

This is OpenCV helloWord program which is an easy code that just opens one picture. Too sleepy to continue today ... OpenCV 2.2 is too much unstable and I couldn't get to make it work with MS VC++ 2010. Downgrade worked :-)

Good night

Monday, March 14, 2011

OpenCV, finally configured ...

After 3 days struggling and working to make OpenCV to work with any possible programming language on Windows 7, I gave up. Today I thought to try it on my Ubuntu and after couple of hours struggling finally I got it. Now I should learn how to code with processing for image processing, as a possible decision making base for the robot and of course streaming ...
this is a demo from OpenCV C++ sample library...

Friday, March 11, 2011

OpenCV & Positioning; Today's focus

Today I'll be focusing on Positioning of a point and OpenCV(Computer Vision) with Processing. I will start to work on positioning and hope to have my first streaming ready by today or early tomorrow morning(before 7:00 a.m.), as I work usually at nights.

Saturday, February 19, 2011

Webcam & Processing

Updated, 22nd of February 2011
OpenCV seems to be the perfect tool to do the image processing calculation. A practical example.
---
Hey Shahab,
You should look at the flob library for blob detection. Its listed on the libraries page on processing.org. Its pretty simple to use. Also for better object detection, you might have more luck with openFrameworks, which is c++ based and has a better library for OpenCV.
For my project, I used the flob library and using the OSC protocol (oscp5 library for processing) I sent the data from the webcam to the sound generation program.
Using the OSC protocol you could also use something call openTSPS, by Rockwell Labs, which would be much more easier and exact since its also based on openFrameworks. So sense people with openTSPS and send the data via OSC to your program that controls the micro-controller.
Hope it helps.
Sumit
------------
On Feb 16, 2011, at 3:20 PM, Shahab F. M. wrote:
Hi.
I was wondering if u can give me some tips/tutorial links about webcam & processing. I am working on Walloid as my master thesis.
http://walloid.blogspot.com/
Shahab
Sent from my HTC

Wednesday, January 12, 2011

Meeting with my supervisor Mats Høvin, Summary

Today I met my supervisor Mats Høvin(associated professor at IFI,UiO). Here comes a summary of what he thinks I should be focusing on :

  • Handshake protocol. I do not have this protocol & this is something that according to Mats, I better have it implemented in my code
  • Zero Positioning. My suggestion to this challenge is to save the current position all the time either at PC side or at the Arduino non-volatile memory.
  • Sending data packages back & forth in serial communication would possibly result in loss of data packages. How can my code handle this kind of problems ?
  • Error on startup, fix for it ? Is it a programming error, or a hardware error because of Noise on reading inputs from ports ???
  • Sending many bytes and the delays resulting by that
  • The speed control, should be handled in java or Arduino ??? Maybe fast in the beginning and slow down little by little while reaching the end of the axle
  • Play off modus & Should it be target based, or follow every detail from the log blindly ??? Discuss ...
  • Camera candidates & streaming , but not image processing -> Intelligent cameras with output ports(how many???) for sending commands to Arduino according to the image processing done by camera itself.
  • Using WiFi tech & how ??? WiFly component ?
  • Programing a simulator in JAVA (xyz generation and visualization in JAVA)
  • PHP/JAVA Applet GUI & Streaming show on website
  • Multi Arduino card solutions ? Benefits and disadvantages ??? Discuss ...
  • FPGA??? A possible solution instead of Arduino? Discuss ...
  • Different methods to read data from encoders, External interruptions or software methods reading encoders value by analogRead() on loop frequence. Discuss based on Atmel/AVR architecture
  • Positioning in the room & semi-Kinect sensors