<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex Sobral de Freitas on Medium]]></title>
        <description><![CDATA[Stories by Alex Sobral de Freitas on Medium]]></description>
        <link>https://medium.com/@alexsobral?source=rss-ab2dc46e0aa6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pmKsW3uTEFeP9eTfT3ICdg.jpeg</url>
            <title>Stories by Alex Sobral de Freitas on Medium</title>
            <link>https://medium.com/@alexsobral?source=rss-ab2dc46e0aa6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 20:40:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alexsobral/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Artificial Intelligence for everyone]]></title>
            <link>https://alexsobral.medium.com/artificial-intelligence-for-everyone-f6443df94d7a?source=rss-ab2dc46e0aa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6443df94d7a</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[no-code]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Alex Sobral de Freitas]]></dc:creator>
            <pubDate>Mon, 04 Oct 2021 21:31:24 GMT</pubDate>
            <atom:updated>2021-10-04T21:31:24.745Z</atom:updated>
            <content:encoded><![CDATA[<h3>Or How AI + No-Code will transform the work environment</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pa0kmrcIqAE7ROH_2XeX3g.jpeg" /><figcaption>No-Code enables creativity</figcaption></figure><p>The IT world is continually bombarded with hypes of new technologies and trends that, if on the one hand, prints a frenetic dynamism in this market, on the other promotes the feeling of obsolescence in every professional, driving a tsunami of search for courses and certifications, in an attempt to rush to stay in the market.</p><p>I’ve been working in IT for 37 years, I’ve surfed hundreds of trend waves, and I’m going to tell you a secret: all this movement is inflated by the big consulting companies because they need to sell their services to make money. But after Big Data, Small Data, Scrum, Agile, DevOps, Virtualization, Containerization, Cloud computing, Fog, Hybrid Computing, SOA, Micro Services, SaaS, IaaS, PMI, ITIL, and a multitude of new technologies, how to know how to separate what will survive from what is fleeting?</p><p>I don’t have an objective answer to this question, but I always follow my instincts and I have almost always been right about how much a new wave comes to stay and stay in the IT world, and with that, I would like to talk about a technology that I have studied extensively for the past 25 years: Artificial Intelligence.</p><p>I usually say that I learned to program before learning to speak, and when I look at the world, I see it in code. However, it wasn’t until 2011, after many years of studying AI, that I saw that the algorithms were finally ready to be used in practice. That’s when I started to learn Deep Learning deeply (sorry for the pun) and realized that a revolution was beginning in the software world.</p><p>Deep Learning was born to solve a problem intractable by traditional algorithms, which was the processing of unstructured data such as sounds and images, and did this so well that it quickly made all existing algorithms for these applications obsolete. However, what most caught my attention was that these algorithms worked through a mathematical process that, given the program’s inputs and outputs, converged to the solution of the problem.</p><p>I’m sorry about being nerdy, let me try to speak more clearly. We are talking about a machine for which I provide an input example, and I say what I want to see in the output, and it programs itself for the solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ol36PUjV1VjQgcXM1zNHUg.jpeg" /></figure><p>Not everyone is surprised to see this as I was when I understood, but the possibility of creating a program in this way opens ways for anyone to design a program without the need for programming knowledge. Now, to create a program, just assemble a set of input examples with the desired output, and the machine does the rest. For me this is indeed the most revolutionary idea in the software history.</p><p>The conception of Eyeflow.AI emerged in 2016 exactly from this idea. A platform for creating Computer Vision applications using AI, which offered a very intuitive and easy-to-use interface, enabling anyone to solve their problems, build their solutions, within their work/knowledge universe, and all without having to study years of programming in arcane codes.</p><p>At this time of pandemic, we are experiencing an accelerated growth in the digitization of companies/processes, and the IT world was not prepared for this gigantic growth in demand. We are facing the lack of equipment, lack of chips, and especially the lack of trained professionals in technology. It is in this scenario that this new hype around No-Code platforms arises.</p><p>For those who do not know, No-Code are applications that allow a non-programmer to create a “program” to solve their specific demand, in a simple, visual and fast learning way. The idea is very old and we’ve had several implementations of this idea in history with varying degrees of success. An example of this idea that I like to mention is Excel (low-code), where I’ve seen thousands of complex programs (spreadsheets), designed and developed by non-programmers.</p><p>As I said, following my intuition and observing trends, I guarantee that No-Code technologies are here to stay, because over the last 20 years we have seen IT become decisive in all professional areas, and this movement is only going to increase. In the future, all people, in any field, will need to be proficient in the use of software and IT tools in general to perform their functions well.</p><p>With that in mind, I realized that the scenario was perfect for us to develop a No-Code platform that would enable the creation of Video Analytics applications not by IT people, but experts in their fields of work and business, since using AI programs could be created based on examples/data.</p><p>Our goal was to deliver a simple platform where the user can be able to draw what they want, with inputs and outputs flows, and focus on their ultimate goals. From there, it feeds the system with a set of examples and the machine programs itself for the solution. Afterwards, the user observes the results and when he finds an error, he corrects it and feeds back the machine, which in turn continues the learning process until it finally gets it right.</p><p>Eyeflow.AI was born to democratize the use of AI, make it available to everyone, and help people around the world to create their Video Analytics solutions. We are making this technology available so that anyone or any company can create, test, improve, publish and sell their own Computer Vision applications.</p><p>The main application of this technology today is to automate the repetitive and tiresome tasks of visual monitoring. We have cases in industrial inspection, safety monitoring, and automation of various tasks that depend on vision. I confess that every day I am still impressed to see how each person watches an EyeFlow presentation and immediately thinks of a new application for a specific need in a new market.</p><p>And to those who fear that machines will take their jobs, I always answer that human beings, with their extraordinary brains, were born to create solutions to problems, and machines are those creations that will do the job. Think, for example, of tractors in the 1950s, and how technological evolution has made our lives better over the last century.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6443df94d7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Augmentation and the wonder of multiplication of examples]]></title>
            <link>https://medium.com/analytics-vidhya/data-augmentation-and-the-wonder-of-multiplication-of-examples-c8dccc8a6459?source=rss-ab2dc46e0aa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8dccc8a6459</guid>
            <category><![CDATA[video-analytics]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[data-augmentation]]></category>
            <dc:creator><![CDATA[Alex Sobral de Freitas]]></dc:creator>
            <pubDate>Mon, 03 May 2021 13:57:16 GMT</pubDate>
            <atom:updated>2021-05-03T16:20:50.492Z</atom:updated>
            <content:encoded><![CDATA[<p>How it is possible to drastically reduce the data annotation effort</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZP8HvBmCcD9MaD4C" /><figcaption>Photo by <a href="https://unsplash.com/@bernardhermant?utm_source=medium&amp;utm_medium=referral">Bernard Hermant</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the previous posts I showed how we managed to train a neural network to detect objects with a very small number of annotated examples, now I will tell you what is our “secret”.</p><p>A Deep Neural network is a software/mathematical artifact that converges from a dataset to an algorithm that model that data. It’s an intrinsically very complex process, but if we intuitively understand its inner workings, we can understand how to guide neural network convergence/learning to quickly achieve optimal results.</p><p>The key point that I consider fundamental to the understanding of convolutional deep neural networks is its main element, the feature map.</p><blockquote>You can understand a feature map as a small image clipping that is trained to detect a particular pattern in the examples, and will flag whenever that pattern is found in an image.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*x3okzjyMJGlW8KFBC4JOyw.png" /><figcaption><a href="https://medium.com/analytics-vidhya/convolutional-neural-network-an-informal-intro-part-1-db9fca86a750">https://medium.com/analytics-vidhya/convolutional-neural-network-an-informal-intro-part-1-db9fca86a750</a></figcaption></figure><p>The training of a neural network will be effective if their feature maps learn the fundamental patterns of the objects we want to detect.</p><p>However, to annotating a large number of examples is extremely laborious, and it is at that point that data augmentation comes to be a great tool. Data augmentation consists of generating changes in images that transform them into a different image, but still as a valid example. Thus, in each training season, the example is presented differently for neural network, forcing feature maps to learn the fundamental patterns of objects.</p><p>Let’s see how data augmentation works in practice with our demo application. At Eyeflow.AI we have a playground where the user can express and configure several transformations in the images and thus create a pipeline of transformations that will be applied to their examples in training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eXGQvrxz3k4Ge1OFOevLTg.jpeg" /><figcaption>Data Augmentation Playground</figcaption></figure><p>In the left panel, we can see several effects that can be applied to the example images. Each of them has parameters that define their behavior, and a probability of being applied to an example at each step of the training.</p><p>Let’s try the “Rotate Image” and observe the result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dyne2LSk2BHTLORulwcepQ.jpeg" /><figcaption>Rotating Image</figcaption></figure><blockquote>The probability was set to 30, meaning that in 30% of the times this effect will be applied to an example in training. The range has been set from -30º to +30º, setting the minimum and maximum rotation that will be applied. Thus, with each example presented to the network in training, there will be a 30% chance of the image being rotated with a random degree from -30º to +30º.</blockquote><p>It is very important to understand how each of these effects will transform the image and set the parameters correctly. Some effects can generate drastic deformations in the images making the objects unrecognizable. If such an example is presented to the network in training, it will exert a negative effect, confusing the learning. See below the case of an extreme “Shear”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4O1E7sjAmsMRKYE7z_fndQ.jpeg" /><figcaption>Extreme Shear — The objects become unrecognizable</figcaption></figure><p>After setting each of the effects we can test on a batch of images to see how they all stick together. Remembering that our goal is to generate transformations in the examples that will be submitted for learning over the network, and therefore the objects will still need to be well recognizable for feature maps can learn the patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*niYBNia_WnwTDijLvXOgfw.jpeg" /><figcaption>Batch of transformed images</figcaption></figure><h4>Final words</h4><p>I often see articles talking about how working with AI is laborious and painstaking difficult because requires a gigantic number of annotated examples to work. But for us here at Eyeflow.AI, this process has become faster and easier because of all the tools and advances we are adding to our Video Analytics platform.</p><p>If you don’t know, come visit us. <a href="https://eyeflow.ai/">https://eyeflow.ai</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8dccc8a6459" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/data-augmentation-and-the-wonder-of-multiplication-of-examples-c8dccc8a6459">Data Augmentation and the wonder of multiplication of examples</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Detecting patterns and generalizing]]></title>
            <link>https://medium.com/analytics-vidhya/detecting-patterns-and-generalizing-d3cc521ebc3c?source=rss-ab2dc46e0aa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3cc521ebc3c</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[video-analytics]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[semi-supervised-learning]]></category>
            <dc:creator><![CDATA[Alex Sobral de Freitas]]></dc:creator>
            <pubDate>Thu, 22 Apr 2021 14:28:21 GMT</pubDate>
            <atom:updated>2021-05-04T16:45:25.602Z</atom:updated>
            <content:encoded><![CDATA[<p>Or: Why Neural Networks are so revolutionary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5YyXqDgjXQK7P2Zi" /><figcaption>Photo by <a href="https://unsplash.com/@nathananderson?utm_source=medium&amp;utm_medium=referral">Nathan Anderson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Before the advent of modern deep learning, images and sounds were unstructured data files, there was no way computers could interpret their contents. The computer vision area was dominated by algorithms focused on the use of hand-crafted functions that sought to interpret the geometric elements that made up the images. The assertiveness of these algorithms was very low, and the applications were restricted to environments with very controlled conditions.</p><p>Several research institutes promoted challenges for the development of new algorithms which could interpret the content of images, being the most famous of them the ImageNet Large Scale Visual Recognition Challenge (<a href="https://en.wikipedia.org/wiki/ImageNet#ImageNet_Challenge">ILSVRC</a>), which began in 2010, just before the advent and popularization of deep learning algorithms.</p><p>The Imagenet is a huge dataset, with more than 14 million images and 20,000 categories, and of course, has a huge diversity in the data. In the early years of the competition the error rates of algorithms were around 30%, but this changed drastically in 2012 with the advent of deep learning and Convolutional Neural Networks (CNN).</p><blockquote>On 30 September 2012, a <a href="https://en.wikipedia.org/wiki/Convolutional_neural_network">convolutional neural network</a> (CNN) called <a href="https://en.wikipedia.org/wiki/AlexNet">AlexNet</a> achieved a top-5 error of 15.3% in the <a href="https://en.wikipedia.org/wiki/ImageNet">ImageNet</a> 2012 Challenge, more than 10.8 percentage points lower than that of the runner up. (source Wikipedia)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*Wdc6IX47Orizypdbx9bcFA.png" /><figcaption>source Kaggle (<a href="https://www.kaggle.com/getting-started/149448">https://www.kaggle.com/getting-started/149448</a>)</figcaption></figure><p>We could talk about several aspects of why deep learning algorithms are far superior to traditional algorithms in the processing of unstructured data, but I would like to talk specifically about the ability of neural networks to recognize patterns and generalize.</p><blockquote>Generalize is the ability of a Neural Network to learn to detect the data pattern in new situations after the training time with pre-defined examples.</blockquote><p>This assertion is a bit weird for a procedural mind, accustomed to the classical if-then-else structure. However, this traditional procedural structured programming is very good to work with structured data, but when we get unstructured data, and the data of an object in an image never is exactly the same as before, we have an impossible problem for the procedural programming.</p><p><strong><em>How can this be accomplished with Deep Learning Neural Networks?</em></strong></p><p>It’s a complex matter, and Deep Learning is very hard to understand and master. Several articles can introduce it, and I’ll put some references below. But now, I want to show this in a practical example.</p><p>In the <a href="https://alexsobral.medium.com/building-a-video-analytics-application-in-15-minutes-89e3c4ac625e">last post</a> I show how can we get very good results with a Neural Network and very few examples. Now we’ll expand that detection to a new scenery and observe how the Neural Network will adapt.</p><p>My son’s toys are now on the floor (another backplane), and we have a different illumination, angles, and some manipulation. Let’s see how the last model detects on this video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWtt65ZQQwl4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWtt65ZQQwl4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWtt65ZQQwl4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d06641172898353745448c3e6ac263fc/href">https://medium.com/media/d06641172898353745448c3e6ac263fc/href</a></iframe><p>We can see that the detection fails in several frames, and we get a lot of false detections with low confidence.</p><p>But at Eyeflow the test process automatically sends random frames to the dataset and we can see frames with the failed detections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RZ0q7KB-lOzr3IkXCg1d6Q.jpeg" /><figcaption>Random frames from annotated video</figcaption></figure><p>The best strategy now is to select some random examples with failed detections and add them to our dataset. We take care to only add frames that present detection errors, and so we get the best result in expanding the dataset. That’s our semi-supervised learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TTqYf4K815QxO-GJXLKWkg.jpeg" /><figcaption>New examples added to dataset</figcaption></figure><p>And after we edit these new examples, correct the annotations and put them to train and after test again. We have done this 3 times, 20 minutes each train, and now we have 67 examples in the dataset, and the following result.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4vu6uRQPOOE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4vu6uRQPOOE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4vu6uRQPOOE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/47374d99d5f927241b0703e7815133f6/href">https://medium.com/media/47374d99d5f927241b0703e7815133f6/href</a></iframe><p>As we can see the detections have improved a lot, and the false positives and false negatives have disappeared. And this result was achieved only with 3 iterations, and minimal annotation effort, thanks to our integrated platform for test and improving datasets/models.</p><p>The key point here is that the neural network was able to generalize the detection of image patterns with very few examples, even though the scenario has changed a lot. This type of generalization would never be possible to be achieved with traditional computer vision algorithms.</p><p>We’ve been working with neural networks for five years now, and we’ve always been amazed at the results we’ve achieved. I believe neural networks are a major revolution in the way we build algorithms, but that’s a theme for another post.</p><p>Our platform is in beta period. Feel free to visit us at <a href="https://eyeflow.ai/">https://eyeflow.ai</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3cc521ebc3c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/detecting-patterns-and-generalizing-d3cc521ebc3c">Detecting patterns and generalizing</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Video Analytics application in 15 minutes]]></title>
            <link>https://medium.com/analytics-vidhya/building-a-video-analytics-application-in-15-minutes-89e3c4ac625e?source=rss-ab2dc46e0aa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/89e3c4ac625e</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[video-analytics]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[annotation-tools]]></category>
            <dc:creator><![CDATA[Alex Sobral de Freitas]]></dc:creator>
            <pubDate>Mon, 12 Apr 2021 14:24:59 GMT</pubDate>
            <atom:updated>2021-05-02T16:53:33.441Z</atom:updated>
            <content:encoded><![CDATA[<p>Or How can an AI learn with very few examples</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hyh2evkwweW_mPLnrLMU_A.jpeg" /><figcaption>Photo by Docusign / Unsplash</figcaption></figure><p>I often see a lot of people talking about how an AI project can be an extremely laborious task because it needs thousands of annotated examples to train well the neural network.</p><p>This may be true to some scopes, where there is great variability in the object of detection, like, for example, in the ImageNet dataset, with 1000 classes in extremely different environments. But, in quality inspection projects, usual here at Eyeflow.AI, the need is to detect very few classes with a fixed positioned camera, and in this scenery, a neural network can get good results quickly, with very few annotated examples.</p><p>I will show here how can we setup a Neural Network to detect a simple object in a video in 15 minutes of work, using Eyeflow.AI.</p><p>First, I shot a small 15’’ movie of my son’s toys, with my cellphone.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHtsxkgx6zSU&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHtsxkgx6zSU&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FHtsxkgx6zSU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f847b9fb47a11def600ec25cbf79736/href">https://medium.com/media/3f847b9fb47a11def600ec25cbf79736/href</a></iframe><p>In Eyeflow.AI we create a new Application (I called it ‘Blog’) and then a new Flow (15 Minutes), and a Dataset for annotating the examples (Detect Toy) with 2 classes “Bat” and “Puzzle”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ASYSrnu7pYjA3_nWfOMi1A.jpeg" /><figcaption>Simple Flow</figcaption></figure><p>After this, extract frames from a video and add randomly selected examples to the dataset. I have added only 20 examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1rM-DulFCL7N7f5_X8t7JQ.jpeg" /><figcaption>Add new examples from video frames</figcaption></figure><p>The examples need to get annotated with boxes, discriminating regions and classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yLL2HOBRLTRZ8SKYt1rW1w.jpeg" /><figcaption>Examples annotated</figcaption></figure><p>And then, we put the dataset to train. (Only 5 epochs)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSMmfyUsHdOyWWr_-vHy_g.jpeg" /><figcaption>Training dashboard</figcaption></figure><p>After the training, we can put the video to test the Flow, and see the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3hWWC2w6ZVVHYOTCznOgZA.jpeg" /><figcaption>The Flow test process with video</figcaption></figure><p>We can see in the annotated video an impressive result, with only 20 annotated examples.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2UqUurtONhw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2UqUurtONhw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2UqUurtONhw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/adc50d2406880d48beb7bf9739f7d21e/href">https://medium.com/media/adc50d2406880d48beb7bf9739f7d21e/href</a></iframe><p>Naturally, this is a simplistic demonstration, I know. But in our experience, we have had very good results, production class, with 300 ~ 500 examples, and very rarely we need more than 2.000 examples to get a 99,9% accuracy in a real-world detection.</p><p>Reminding that we are talking about a detection of similar parts, using a fixed angle camera. It’s different when we have an object with many variations in angles, formats, colors, etc.</p><p>In our projects, we continuously check the results of detections in production environments to get all the examples that the model doesn’t get correctly, and add only these error examples to the dataset to correct the annotations and train a new model. With this method, we reduce drastically the number of examples the dataset needs to get a very good accuracy in a production application. So reducing the effort needed to get a good quality application of Video Analytics.</p><p>Disclaimer: I spent about 1 hour in the whole process waiting for the training, the flow test, taking screenshots, and writing this post. But it was less than 5 minutes annotating. ;-)</p><p>Come and see how you can be a lot more productive with our tool for Video Analytics projects.</p><p><a href="https://eyeflow.ai/">Eyeflow.AI</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89e3c4ac625e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/building-a-video-analytics-application-in-15-minutes-89e3c4ac625e">Building a Video Analytics application in 15 minutes</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Video Analytics with Deep Learning can be an easy task]]></title>
            <link>https://medium.com/analytics-vidhya/video-analytics-with-deep-learning-can-be-a-easy-task-a99ec2258fc1?source=rss-ab2dc46e0aa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a99ec2258fc1</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[video-analytics]]></category>
            <dc:creator><![CDATA[Alex Sobral de Freitas]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 16:30:22 GMT</pubDate>
            <atom:updated>2021-05-03T16:26:21.476Z</atom:updated>
            <content:encoded><![CDATA[<p>How 4 years of pitfalls drove us to developer a great tool for the job</p><figure><img alt="An wood bridge between trees" src="https://cdn-images-1.medium.com/max/1024/0*_70mwKq0gtojoBfZ" /><figcaption>Photo by <a href="https://unsplash.com/@ronaldordeoliveira?utm_source=medium&amp;utm_medium=referral">Ronaldo de Oliveira</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In 2016 I was invited by a friend for a challenge: to develop a video analytics solution for a large Brazilian mining company. I have always been passionate about artificial intelligence. I have been following the topic since 1995, and was looking for applications for machine learning and deep learning since 2011, so I took the challenge right away.</p><blockquote>The task seemed quite complex: capturing images of ore transport wagons using video cameras to automate the components inspection and detect failures.</blockquote><p>I’m a very skilled developer with 35yrs of experience, the more complex the task, the more excited I get.</p><p>I choose the Theano framework and SSD architecture for the Neural Network, setup the environment and tested if everything was working. Then I took the wagon movie shot from a cell phone, extracted some frames, made a small python program that would allow me to annotate the boxes by drawing on the frames, and start to train the network with my simple dataset. After two weeks of hard work and several difficulties usually present in open-source programs I was able to see the network training and detecting the objects in my dataset.</p><p>After I’ve shown this small Proof of Concept to the customer, we started a pilot project that would detect the objects with a camera next to the railroad. It was 3 months of painstaking work, but in the end we managed to show the results to the client, who was very impressed with the solution.</p><p>This experience enlightened me. Deep learning was a very new technology with the ability to solve a whole class of new problems that were until now unsolvable by traditional algorithms. However, it was extremely laborious, and difficult to master. So, there was room on the market for a new tool to simplify and streamline the development of Video Analytics applications. I was looking for an idea to develop a new product for years, and had finally found it.</p><blockquote>Introducing EyeFlow, a complete platform for the development and hosting of Video Analytics applications, oriented to be easy to learn, practical to use and fully extensible. From developers to developers.</blockquote><figure><img alt="Eyeflow Logo" src="https://cdn-images-1.medium.com/max/480/1*t3Yo3N6OcpjlxfZ692IlZg.png" /></figure><p>In the last 3 years we have developed several Video Analytics projects for large companies, some of which are in mission critical operations doing the final inspection of vehicles produced in a big car manufacturer. All of these projects we are developing using the EyeFlow platform, and now we decided to open this technology so that other companies and developers can also build applications and projects using video analytics.</p><p>We aim that our products can democratize the use of deep learning for building commercial applications and promote the development of applications for automation of repetitive tasks that can be performed by AI algorithms.</p><p>And above all, we want to share our experience with Video Analytics so that others will also be successful in the execution of their projects. I started writing here to promote our product, but also to be able to share knowledge and experience. I hope to be able to do this continuously.</p><p>Right now we are launching our platform in a private beta, but we hope to be able to open it soon for everyone who wants to try it.</p><p>We would love to receive your visit. 😉</p><p><a href="https://eyeflow.ai/">EyeFlow.AI</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a99ec2258fc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/video-analytics-with-deep-learning-can-be-a-easy-task-a99ec2258fc1">Video Analytics with Deep Learning can be an easy task</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>