<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Computer Vision</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/computer-vision</link><description>I need help! i&amp;#39;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&amp;#39;s better for that type of fu</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Computer Vision</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/computer-vision</link><pubDate>Wed, 19 Aug 2020 23:33:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0d8c9103-40cf-4ef0-8fa4-316fb8193a88</guid><dc:creator>boshay</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;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.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9628&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Computer Vision</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/computer-vision</link><pubDate>Tue, 21 Jul 2020 03:20:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0d8c9103-40cf-4ef0-8fa4-316fb8193a88</guid><dc:creator>aswinvenu</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As Doug was saying it&amp;#39;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&amp;#39;s not sufficient to capture moving objects without blurring effects. &lt;/p&gt;&lt;p&gt;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 &lt;a class="jive-link-external-small" href="https://aiyprojects.withgoogle.com/edge-tpu/" rel="nofollow ugc noopener" target="_blank" title="https://aiyprojects.withgoogle.com/edge-tpu/"&gt;https://aiyprojects.withgoogle.com/edge-tpu/&lt;/a&gt; ) The more light weight your inference program the faster it process the frames there by higher frames per second resolution.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Things to consider&lt;/p&gt;&lt;ul&gt;&lt;li&gt;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&lt;/li&gt;&lt;li&gt;Image stabilizer / Gimbal for capturing stable images&lt;/li&gt;&lt;li&gt;High FPS Camera to capture moving objects at faster speed&lt;/li&gt;&lt;li&gt;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)&lt;/li&gt;&lt;li&gt;Add intelligence to the scanning. If you identify a vehicle and can&amp;#39;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.&lt;/li&gt;&lt;li&gt;Use AI inference accelerators like Google&amp;#39;s edge TPU to speed-up the inference&lt;/li&gt;&lt;li&gt;Tight power management&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Aswin&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9628&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Computer Vision</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/computer-vision</link><pubDate>Tue, 21 Jul 2020 01:54:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0d8c9103-40cf-4ef0-8fa4-316fb8193a88</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;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&amp;#39;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.&lt;/p&gt;&lt;p&gt;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&amp;#39;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.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9628&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>