Assuming, I am familiar enough meanwhile with Portenta H7 - I want to use board for a "fancy" project.
Please, join me, be invited - at least to share thoughts, hints, do brainstorming with me... Thank you.
Project
"Visual Flight Radar" (VFR)
Intention
I want to track airplanes in flight (flying over my home). I want to catch and track the airplane, via microphone(s). Adjust the camera mount (tilt and pan, not (yet) zoom), find and follow the airplane above my home (direct the camera towards it and start video recording).
Forget the mechanics for now (stepper motors and all this stuff), let's focus on the main items to implement as SW/FW:
Project Items
- get the digital MIC on Portenta Vision Shield to work (get the sound)
Question: is one MIC enough to track a noisy object or is spatial sound, e.g. with 4 MICs better? - install an AI, ML library, for sound processing:
find the direction of the sound source, at best: distinguish sounds and "recognize the type of airplane" (learn "sound signatures" to differentiate between different models, single vs. dual engine, helicopter, type of engine, even based on sound pattern of the specific airplane, distinguish via/as tail number)
Question: is Doppler Effect already part of the library or a need to "teach physics of sound"? -
bring-up camera vision:
have library for taking pictures or video, later: also add video processing, e.g.: focus the seen airplane in center of screen, use camera also for tracking, follow it also with vision... (for now mainly based on sound).
So, it means, I had to start with:
- sound aggregation
- video aggregation
- use of AI and ML libraries (and learning based on sound)
on Portenta H7 (or Portenta X8)
Actually, I guess, at least a stereo MIC and a stereo video would be nice. Tending towards to have 4 MICs as spatial sound, mono vision first but with option to add stereo vision later.
Even Portenta H7 does not have spatial sound - I am tending towards to use 2..4 modules and combine (aggregate sound, vision data from all boards and post-process, connected via ETH network or all modules sending via SPI to a main Portenta module).
Project Achievements
In a first version: the Portenta H7 should realize airplane sound (and not cars and mowers on the ground) and direct the camera module to it (pan and tilt info for camera mast movement).
The camera should be pointed to aircraft and record a video (or take photos), track the flight path of aircraft.
Later goals can be:
Use also camera to track airplane, use sound (and picture) to distinguish different aircraft types, learn based on sound pattern and visual shape which type of aircraft it is,
combine with ADS-B data (e.g. from FlightRadar24, FlightAware) when an aircraft is approaching (on map), augment video with ADS-B data (tail number, altitude), or use it to "teach" system which type of aircraft it is.
Very fancy: with stereoscopic vision (dual camera) and the learnt aircraft type, shape, size/dimensions known: estimate the altitude above ground (AGL) - based on shape size in video. Speed is not important, but AGL would be cool (e.g. if a pilot violates the rules for minimum safe altitude over congested area - but I will not use to file complains).
The main idea is:
I am a pilot. I live right under the practice area and all the airplanes and students in "my" flight school fly over my head, over my home. I want to "see" them (visually, not just on FlightRadar ADS-B), send them a picture of their flight. LOL
And: I want to take a picture of the Osprey flying around here, sometimes, or a bi-plane coming by sometimes.
Who does want to join me?
Who can provide suggestions, tricks, thoughts about this project?
Thank you.