element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog Computer Vision
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jdolcine
  • Date Created: 20 Jul 2020 2:26 AM Date Created
  • Views 1649 views
  • Likes 4 likes
  • Comments 3 comments
  • raspberry pi camera computer vision
  • raspberrypi4
  • image processing demo
  • raspberry_pi_projects
Related
Recommended

Computer Vision

jdolcine
jdolcine
20 Jul 2020

I need help! i'm trying to build a drone using raspberry pi 4 and i want to equip it with a smart camera to be able to identify cars, tag numbers, colors and other things. Can I use any regular camera or is there one that's better for that type of function?

 

Ideally the drone will fly and I will give it a command to find white ford mustang with tag# 1234. i want the drone to scan the given area take pictures/video then the picture/video will be sent back to my computer and the computer will do the calculation and once it has located the vehicle, then another set of command will be implemented.

 

any suggestions and guidance would be greatly appreciated.

 

Thank you

  • Sign in to reply

Top Comments

  • dougw
    dougw over 5 years ago +4
    This is a very ambitious multidisciplinary project with lots of potential applications. However if you want to complete it in a reasonable time, you will likely need to buy everything you possibly can…
  • aswinvenu
    aswinvenu over 5 years ago +3
    As Doug was saying it's an interesting and ambitious project. What is the rough area you will scan at a time? Bear in mind that aerial scans not always reveal you the number plates because of the angle…
  • boshay
    boshay over 5 years ago +1
    You can use a regular USB web cam assuming your drone can handle the added weight and the software is OpenCV a free computer vision library that you can use to get what you need up and running with a little…
  • boshay
    boshay over 5 years ago

    You can use a regular USB web cam assuming your drone can handle the added weight and the software is OpenCV a free computer vision library that you can use to get what you need up and running with a little python script. Also you can find a bundle of tutorials online for OpenCV and python. I have, myself, tested a simple object tracking app with OpenCV on the Raspberry pi 3 and know that it works perfect.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aswinvenu
    aswinvenu over 5 years ago

    As Doug was saying it's an interesting and ambitious project. What is the rough area you will scan at a time? Bear in mind that aerial scans not always reveal you the number plates because of the angle. So your drone should be scanning always at an angle. Do you want to include moving objects for scanning ? Like a cruising bus or a car ? Then you may need a high speed camera. Normal cameras capture videos anywhere from 30-50FPS. That's not sufficient to capture moving objects without blurring effects.

    You have mentioned that the image recognition will run on your PC remotely. How far is your PC sitting from where the drone is operating? How are you planning the drone to send images/videos to your PC?. Streaming high resolution videos/images is not reliable over long distances. So doing the image recognition on the drone is more reliable I would say. But you need to master the algorithm before anything. Train it well and deploy the inference on the onboard computer (May be it can be Rpi4 but consider TPU accelerators like Corel https://aiyprojects.withgoogle.com/edge-tpu/ ) The more light weight your inference program the faster it process the frames there by higher frames per second resolution.

     

    Things to consider

    • wide angle and high resolution cameras - More area covered in one frame and zoom to detect number plates without loosing the image quality - reduced flight time
    • Image stabilizer / Gimbal for capturing stable images
    • High FPS Camera to capture moving objects at faster speed
    • Scan at 45 degree or low to get the number plates more visible ( else all the letters appears like ellipses and leads to false positives and false negatives)
    • Add intelligence to the scanning. If you identify a vehicle and can't get the number plate then fly down and get a better view of the vehicle and search for number plate. Still its not visible then black list the vehicle and store the images.
    • Use AI inference accelerators like Google's edge TPU to speed-up the inference
    • Tight power management

     

    Regards,

    Aswin

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 5 years ago

    This is a very ambitious multidisciplinary project with lots of potential applications. However if you want to complete it in a reasonable time, you will likely need to buy everything you possibly can and only work on the bits that can't be bought or found open source. As in buy a good drone with good camera. Find the best vision recognition software you can and buy a big computer to run it on. Use a separate computer and software to interpret your commands and generate intelligent search pattern control signals. Stream video from the drone to your big computer for processing. It will still take a lot of effort to get these systems working in the way you want.

    A Raspberry Pi4 is a great little computer, but asking it to do real time video analysis with commercial or open source software is asking a bit much. If you are a wizard programmer who is also a video analysis guru, maybe it could do something surprising, but it would not be easy. I really don't want to sound negative, I like the idea, and think it would be great if you could make it happen, I just find the scope of the project to be scary big.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube