Re: Adding 3D/Computer Vision
Sterling Somers <[email protected]> Tue, 14 Aug 2012 15:09:46 -0400
| Newsgroups | gmane.games.flightgear.general |
|---|---|
| Message-ID | <[email protected]> |
Curtis, Thanks for the response. I have been thinking about this approach since I started the project. I used OpenCV for the original model, comparing screen captures to one another. I was, however, rather sceptical about how much I could use OpenCV. I'm not much of a pilot but even I have trouble seeing the runway from the cockpit view. Subtracting the non-runway-colors approach might not work... That said, it might be the easiest approach, avoiding having to access any of scenery, scene graph, etc. I think if I give the AI pilot a sense of where it is, how far it's travelled, etc, I might be able to use that information to see the runway again, or at least eliminate run-way like candidates. I also came across Marcos Nieto's work on real-time lane detection. I wonder if I can use something similar to tell the pilot when the plane is more/less centred. Thanks again, Sterling From: [email protected] Date: Thu, 2 Aug 2012 14:26:56 -0500 To: [email protected] Subject: Re: [Flightgear-users] Adding 3D/Computer Vision Hi Sterling, I have used ffmpeg to feed a video capture stream of flightgear into a fifo pipe that can be read by an opencv application in real time. I did a little write up on the flightgear.org web site: http://www.flightgear.org/tours/developing-computer-vision-algorithms-with-flightgear/ The part where I talk about specific ffmpeg commands is down towards the end of the article. I don't know if this method would be appropriate for you, but it's something that was useful for my project. Curt. On Thu, Aug 2, 2012 at 2:16 PM, Sterling Somers <[email protected]> wrote: Suppose I wanted to write a program that can "see" outside, where would people recommend I start? I am working on a psychology model of plane pilots. My first model was a simple model of performing a take-off in the Cessna. To do this, I simply connected the property tree to my psychology simulation software, and voila. Added a quick and dirty motion detection (using screen shots) to "see" movement (to deal with left turning syndrome during take-off). What I'd like to be able to do next is to see the runway, and any visible buildings in the current view. I had originally thought I'd one day make use of openscenegraph to do this... Any thoughts? Thanks, Sterling ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users -- Curtis Olson:http://www.atiak.com - http://aem.umn.edu/~uav/ http://www.flightgear.org - http://gallinazo.flightgear.org ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users