tag:blogger.com,1999:blog-6118878721807429434.comments2023-06-30T08:12:38.218-07:00Ben Farahmandbenhttp://www.blogger.com/profile/15078688661409400167noreply@blogger.comBlogger71125tag:blogger.com,1999:blog-6118878721807429434.post-32268604869647796082013-04-11T08:21:31.237-07:002013-04-11T08:21:31.237-07:00Jim, you have a three options that come readily to...Jim, you have a three options that come readily to mind. <br /><br />The first is using the zigbee, which interfaces with the arduino to transfer the video feed to a computer and analyze the webcam feed, then send the appropriate commands back to the rc car via the zigbee. I don't know the type of bandwidth requirements for a webcam feed.<br /><br />The second option is to use the raspberry pi, beagle board, or pcduino, and attempt to run the necessary open cv applications on one of these mini-computers... I've never used any of these three boards. So I don't know how complex the project would be.<br /><br />The third option, which is my favorite because it's the simplest and smallest, attach a smart phone to the front of the rc car. Write a smart phone application (java for android, objective-c for iPhone). I've played around with some android programming using things like processing (processsing.org), it's pretty straight forward. If you use an android phone, you can use the built-in webcam, analyze it on the phone, and then send the commands via usb to an arduino to control the servos and motor. I think the benefit of using a smart phone is that you also have access to the smart phone's accelerometer, which will be vital for knowing how fast you're turning and how fast you're going.<br /><br />Let me know what you think.benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-32457893639543226452013-04-05T13:56:52.107-07:002013-04-05T13:56:52.107-07:00hi Benjamin,
im working on a project where a car ...hi Benjamin,<br />im working on a project where a car (rc in my case) will have to run on a track which is similar to real life road, so its like all kinds of obstacles and speed bumbs are there<br /><br />first I wanted to use color sensors and distance sensors to make it, but color sensors have a very short range and when the rc is taking a turn I cant really relay on the sensors coz it detects them only when its 3-4 cm close, or else the readings are not accurate<br /><br />so I was thinking of using a camera that can detect the yellow and white line on both sides of the track , <br /><br />so is it possible ? if not with arduino then what other option do I have?its suppose to be a self driving car and the dimesions are kinda limited, will I be able to send data from camera to pc do all the tracking and send the commands to arduino?<br /><br /><br />sorry for writing an essay here ;Djimhttps://www.blogger.com/profile/03405134682415176736noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-88421081359089904942013-04-01T17:21:00.717-07:002013-04-01T17:21:00.717-07:00Yeah that helps! thanks BenYeah that helps! thanks BenDavehttps://www.blogger.com/profile/11291181909833666970noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-8844154341184618272013-03-30T08:38:54.087-07:002013-03-30T08:38:54.087-07:00Hi Dave,
I had an arduino controlling the robot&#...Hi Dave,<br /><br />I had an arduino controlling the robot's servos. I was running opencv within processing. I intercepted the Skype video stream using the java robot class. The java robot class has a function that lets you screen capture the background, and you can also screen capture a portion of that background. So I didn't directly interface with Skype via an API, instead I was doing a screen capture thirty times a second. Does that help?<br /><br />Here's a working example: http://www.benfarahmand.com/2012/04/robotic-telepresence-via-skype-and-face.html<br /><br />-Benbenhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-65115143586937629142013-03-24T18:09:13.502-07:002013-03-24T18:09:13.502-07:00Hello, could you give me some more information on ...Hello, could you give me some more information on what your setup was? <br /><br />Did you run the face tracking and robot control locally to the robot? <br /><br />If you did, how did you intercept the Skype video stream?Davehttps://www.blogger.com/profile/11291181909833666970noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-7294482733869891822013-03-11T04:44:41.150-07:002013-03-11T04:44:41.150-07:00can anyone help me with this code to extract audio...can anyone help me with this code to extract audio from video using xuggler<br /><br />my code is here<br /><br />import com.xuggle.mediatool.IMediaReader;<br />import com.xuggle.mediatool.IMediaWriter;<br />import com.xuggle.mediatool.ToolFactory;<br />import com.xuggle.xuggler.ICodec;<br /><br /><br />public class convert {<br /> public static void main(String args[]){<br /> IMediaReader reader = ToolFactory.makeReader("F:/input.flv");<br /> IMediaWriter writer = ToolFactory.makeWriter("F:/output.mp3", reader);<br /> int sampleRate = 128000;<br /> int channels = 1;<br /> writer.addAudioStream(0, 0, ICodec.ID.CODEC_ID_MP3, channels, sampleRate);<br /> while (reader.readPacket() == null);<br /> }<br /><br />}<br /><br />Anonymoushttps://www.blogger.com/profile/09475000485686621238noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-65290707300621002082013-03-11T02:22:49.949-07:002013-03-11T02:22:49.949-07:00I have a SDK light I have a SDK light Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-70841918824808588222013-03-02T10:28:10.841-08:002013-03-02T10:28:10.841-08:00What version of the Emotiv SDK do you have? Becaus...What version of the Emotiv SDK do you have? Because that will determine how you connect the Arduino with the Emotiv headset. I used the light SDK, which did not allow me to use their API. So I had to improvise with the emokey.benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-68568547660022931642013-02-26T12:29:28.235-08:002013-02-26T12:29:28.235-08:00Can you make a dettailed explanation of how connec...Can you make a dettailed explanation of how connect Arduino with Epoc, I mean physically how ypu make the collegament or what programm are you usedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-60431779060064848822013-02-18T12:12:39.189-08:002013-02-18T12:12:39.189-08:00Hey AZ,
At the moment, you can download my sourc...Hey AZ, <br /><br />At the moment, you can download my source code: http://www.benfarahmand.com/2011/08/tutorial-using-emotiv-headset-with.html<br /><br />-Benbenhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-53631449219569689312013-02-18T07:48:43.064-08:002013-02-18T07:48:43.064-08:00C'mon man, post tutorial!C'mon man, post tutorial!AZhttps://www.blogger.com/profile/12609327893033579967noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-43917082776827284342013-01-27T17:55:39.108-08:002013-01-27T17:55:39.108-08:00I'm sorry, I don't know where you can down...I'm sorry, I don't know where you can download it...benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-17173631193991569852012-12-01T02:21:36.900-08:002012-12-01T02:21:36.900-08:00Thanks for the tutorial. By any chance would you ...Thanks for the tutorial. By any chance would you know from where to down load the 32 bit version of Xuggler 64 bit Build for Windows?Huwahttps://www.blogger.com/profile/05924169089804725133noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-18391514326252581502012-11-07T09:48:34.611-08:002012-11-07T09:48:34.611-08:00I removed those three imports, so it won't thr...I removed those three imports, so it won't throw that library error.benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-19045594651777842072012-11-07T09:43:31.293-08:002012-11-07T09:43:31.293-08:00Are you referring to the xuggler imports on the fi...Are you referring to the xuggler imports on the first few lines? So another way to do step 2 is to take those jars and make a xuggler library in the processing libraries folder, and that's how I made mine. I thought it might be easier to just let people download the jars and put it in the code folder. Either way works...benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-52666928390670590972012-11-07T01:15:19.327-08:002012-11-07T01:15:19.327-08:00Thanks for the tutorial.
I noticed an error on the...Thanks for the tutorial.<br />I noticed an error on the first Xuggler link (first line).<br />Juegohttp://xuv.benoreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-87616340949430597692012-10-11T02:59:45.013-07:002012-10-11T02:59:45.013-07:00Ben, thanks for the mention! This is a very thoug...Ben, thanks for the mention! This is a very thoughtful article you have written. The process of combining and recombining is what we call "creative reassembly", which is a counterpoint to the more popular term "creative destruction." The main driver of creative economies is how humans organize themselves. We are the most social creatures on Earth, and how we organize ourselves varies so much from place to place. Those organizational patterns are a form of culture. Culture, therefore, drives the evolutionary strength/survival of human social groups. Culture with low transaction costs for self-organizing, like America in general and Silicon Valley in particular, tend to generate extraordinary economic output over time.Victor W. Hwanghttp://www.t2vc.comnoreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-87028361771020174762012-10-07T08:34:07.320-07:002012-10-07T08:34:07.320-07:00I would have to look at your code, because so many...I would have to look at your code, because so many things could be influencing whether it's detecting or not. Are you using the right haar-classifier?benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-57532817269248250182012-10-04T22:08:01.740-07:002012-10-04T22:08:01.740-07:00Yea, i actually figured that out, and I did ask op...Yea, i actually figured that out, and I did ask openCV to copy processing.video.. <br />but it still doesn't work for some reason<br />It reads and displays image, but can't detect any face.. I doubt it's opencv.detect doesn't work some how, maybe it's not configured right?Shanshanhttps://www.blogger.com/profile/04108329494138796884noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-67497968393307385652012-10-04T20:17:57.534-07:002012-10-04T20:17:57.534-07:00I have a PC. Opencv for processing is kinda funky,...I have a PC. Opencv for processing is kinda funky, the video class for opencv doesn't directly capture from a webcam on a pc. You're going to have to use processing's video class and then use opencv.copy to then copy each webcam frame into opencv. If you download my processing code, you'll notice in the detectface class, that I'm copying each frame from the video class... I hope this helps.benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-67183660087711786072012-10-04T16:48:16.869-07:002012-10-04T16:48:16.869-07:00Hi Benjamin
We are working on a similar project, b...Hi Benjamin<br />We are working on a similar project, but its a desk lamp little following your movement.<br />The thing is, I couldn't get face detect working in my processing no matter how, just wondering if you are using PC or Mac? <br />I heard a lot issues are around openCV for processing Win7..<br />We have stuck here for a few days, can't think of ways to work around..<br /><br />Thanks<br />ShanshanShanshanhttps://www.blogger.com/profile/04108329494138796884noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-1912385829266645072012-08-21T19:50:59.849-07:002012-08-21T19:50:59.849-07:00In saying that a startup is defined as such, and l...In saying that a startup is defined as such, and listing ten interdependent dimensions, you are essentially stating that in order to be classified as a startup, then you must go through these ten stages. When, in fact, a company could explode out of the 'start-up' nomenclature without ever having marketed a single thing (instagram) or ever have fundraised a single dollar (GitHub) or not ever worrying about their team (facebook ::i kid, or do i?::). <br /><br />Just a though: maybe put a clause that these are the ten area's that a human institution could go through, however not all are essential. I liken it to the growth of a small group, nods to Bradford - Group development, are there similarities to the theories of small group development that overlap with the theories of the growth of a startup? However with small group development, any group will complete their life cycle, it is only a matter of time. Do successful startups complete particular life cycles that unsuccessful ones do not? is this directly related to the Bradford article?<br /><br />Don't let these questions side rail your focus. You just got me thinking. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-57582640715413182382012-07-31T10:17:22.465-07:002012-07-31T10:17:22.465-07:00Don't include the opencv code into the arduino...Don't include the opencv code into the arduino code. The arduino isn't powerful enough to perform computer vision calculations. I recommend using another program, like processing, to do all the opencv calculations. Then send the servo commands to the arduino. Does that make sense?benhttps://www.blogger.com/profile/15078688661409400167noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-67930412374729068282012-07-30T21:59:57.054-07:002012-07-30T21:59:57.054-07:00How to include OpenCV on Arduino code?
I'm con...How to include OpenCV on Arduino code?<br />I'm confused.<br /><br />Thanks,<br />ILHAMilhamhttps://www.blogger.com/profile/13793848416747588848noreply@blogger.comtag:blogger.com,1999:blog-6118878721807429434.post-43270962080452798732012-07-16T14:01:36.402-07:002012-07-16T14:01:36.402-07:00i can help you with some sentence structor stuff l...i can help you with some sentence structor stuff later, but for now I would ask if you could add a sentence or two about why it's good that the two areas would be umerged (good use of time, it's a mode that works for busy people, can be embraced by different generations etc}<br /><br />MarcieAnonymousnoreply@blogger.com