<?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 Enos Jeba on Medium]]></title>
        <description><![CDATA[Stories by Enos Jeba on Medium]]></description>
        <link>https://medium.com/@enosjeba?source=rss-c1c41d2d53fe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BBOEORhvAL_evYkFCPuYiQ.gif</url>
            <title>Stories by Enos Jeba on Medium</title>
            <link>https://medium.com/@enosjeba?source=rss-c1c41d2d53fe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 01:27:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@enosjeba/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[Don’t Choose Computer Vision If…]]></title>
            <link>https://pub.towardsai.net/dont-choose-computer-vision-if-e4dc0a7e3b8d?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4dc0a7e3b8d</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Sun, 31 Mar 2024 12:01:58 GMT</pubDate>
            <atom:updated>2024-04-07T12:29:42.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>Don’t Choose Computer Vision If...</h3><p>you are a ChatGPT programmer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UwQ73L1KVwAomutcbF0bHw.png" /></figure><p>In this blog, we will understand <strong>Why Computer Vision is just not about programming?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*UnR1ZBHsN9zmNBAu.jpg" /><figcaption><a href="https://leonadevinne.com/">https://leonadevinne.com/</a></figcaption></figure><h4>Multi-disciplinary field</h4><blockquote>You cannot just focus on one technology and get away with it.</blockquote><p>Computer vision has its feet in multiple fields. It beautifully manages to connect geometry, linear algebra, cameras, networking, and to some extent User Experience and Design.</p><p>You would be somebody as <em>Jack of all Trades, Master of None.</em></p><p>When you are thinking of a computer vision project, you will be dealing with cameras stuck on a wall and other corners of the room. Each camera will come with its own set of lenses which can view the world only up to a certain angle. The images it captures will also be based on the sensor on it. So, for your desired outcome with proper accuracy, you will have to place the optimal position with the calculated point of view.</p><p>The solution if required in real-time, should be capable of accessing the feed analyzing it with output predictions, and doing the necessary actions afterward.</p><p>The data from the camera will be of full resolution, which means more data. More data means you will be choking your model with big images and this will cause your model to take more time with each inference, Thus making your solution real-time.</p><p>Not to forget, slow inference will also result in data loss as the frames waiting for inference will be discarded as soon as there is no memory to hold it.</p><p>Thus, we cannot move in one direction, you have to spread your tentacles and think about various viewpoints to approach a solution.</p><p><a href="https://pub.towardsai.net/researchers-vs-practitioners-3ea0ad600c7f">Researchers vs Practitioners</a></p><h4>ChatGPT programmer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*p5GkAC62rx6uIcv7.png" /><figcaption><a href="https://www.decipherzone.com/blog-detail/chat-gpt-memes">https://www.decipherzone.com/blog-detail/chat-gpt-memes</a></figcaption></figure><p>With the introduction of generative AI, new developers think they can get away with ChatGPT code. In the case of Computer Vision, it’s better not to use ChatGPT.</p><p>Computer Vision is mostly coded from scratch, and the reason is the level of controller we can reach on the hardware level or the level of control we have on the flow of code.</p><p>Optimization of the solution is also an important checkpoint that cannot be skipped.</p><p>ChatGPT may provide your prompts about this, and the answer would also be convincing enough, but you cannot use that code as it won’t be optimized as per our requirements.</p><p>ChatGPT also manages to snatch your thinking power or reasoning skills, which is essential for optimization. So, when you sit for optimization, you probably won’t have problem solving skills as required.</p><p><em>You can read below how ChatGPT will make you dumb</em></p><p><a href="https://medium.com/thedeephub/how-user-experience-ruined-the-world-8aa6cc2ebb1">How User Experience Ruined the World</a></p><h4>Don’t want to step out of scope.</h4><p>Stepping out of the box to optimize your solution is an essential part of computer vision.</p><p>You may have to explore fields completely unreleated to you to solve the problem at hand. You will have to understand the business requirements and study their existing solution.</p><p>Once you understand their workflow, It will be easier for you to come up with solutions. It will be easier for you to integrate your solution to their system with minimal confusion and this will allow seamless extension to ai.</p><p>You would also be entering into a field, such as user experience, during deployments. People are scared of computers, especially when they don’t know how it works. You may have to keep it user-friendly for better usage.</p><p>Let’s say you are registering people’s face for your algorithm to recognize them. Assuming you have handed them a app to capture their face, user’s have no idea how their face will be trained with ai. They will just click a random picture and hit save.</p><p>If you want a good picture of their face, You could essentially add a face detection layer to help people understand their face has been detected. Additionally, you can also draw a circle at the center to minimize distraction and the image in circle will also help the user understand how much of their face is well lit.</p><p>Now, adding small things like this itself makes your dataset strong and detailed, which further will enhance your model for better detection. You can see on the blog below <em>How apple did this?</em></p><p><a href="https://pub.towardsai.net/revolutionary-computer-vision-05c8328cf1e5">Revolutionary Computer Vision</a></p><h4>Don’t want to experiment</h4><p>Experiments are the backbone of Computer Vision. If you are not ready to fiddle around with images, this may not be the field for you.</p><p>Feature extraction is another important part of model training. When a model is trained with the right features, it will perform better and also provide us with the desired results.</p><p>Selecting the features will require tons of experiments to get it right. Things affecting your data would be motion blur, noise etc. But these impurity will be existing on different amount in each of your image and only through experiments will you be able to understand the correct threshold to extract the correct feature without impurity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*mVKXpOskBPZyjwyh.png" /><figcaption><a href="https://www.ncia.snu.ac.kr/general-8-1">https://www.ncia.snu.ac.kr/general-8-1</a></figcaption></figure><p>Experiment’s is the backbone of Computer Vision. If you are not ready to fiddle around with images, this may not be the field for you.</p><p>Feature extraction is another important part of model training. When a model is trained with the right features, it will perform better and also provide us with the desired results.</p><p>Selecting the features will require tons of experiments to get it right. Things affecting your data would be motion blur, noise etc. But these impurity will be existing on different amount in each of your image and only through experiments will you be able to understand the correct threshold to extract the correct feature without impurity.</p><h4>Conclusion</h4><p>Those desiring to specialize in computer vision must be willing to push themselves outside of their comfort zone, accept experimentation, and think imaginatively in order to incorporate ideas into various systems.</p><p>Read these two posts to learn more about how to get started with computer vision.</p><ul><li><a href="https://enosjeba.medium.com/how-to-see-like-a-machine-c06b652c2b9f">How to See Like a Machine</a></li><li><a href="https://enosjeba.medium.com/computer-vision-62b6acaf9dba">Computer Vision</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4dc0a7e3b8d" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/dont-choose-computer-vision-if-e4dc0a7e3b8d">Don’t Choose Computer Vision If…</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Researchers vs Practitioners]]></title>
            <link>https://pub.towardsai.net/researchers-vs-practitioners-3ea0ad600c7f?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ea0ad600c7f</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[research-and-development]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Tue, 19 Mar 2024 16:02:24 GMT</pubDate>
            <atom:updated>2024-03-23T14:52:48.269Z</atom:updated>
            <content:encoded><![CDATA[<h4>The two roads in Computer Vision, which one to choose?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xgvwufIyJBWf_-EfdGLaEw.png" /></figure><p>Computer Vision began with research. We still have research going on but at the same time, some research is mature enough to be implemented into real-world applications.</p><p>This also does not mean that research can be stopped. We still have a lot of moon rocks to look under.</p><p>This situation where we can also do research and implement the research in the real world provides us with two roads in Computer Vision. Let’s look at how both the roads seem to be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*myxeecdWzV5y9yPPI7Ik5A.png" /></figure><h3>Research</h3><h4>Idea Focused</h4><p>Research is motivated by an idea. It mostly goes on with a crazy impossibility and finding all the information required to conclude why it is impossible and then cleverly finding out the way to make it possible.</p><p>You will be exploring nodes of math, simulating thoughts or equations, and coming up with neural network architectures for faster or optimized approaches.</p><h4>Creator</h4><p>You will be creating neural network architectures.</p><p>In research, you can design a neural network that would solve a specific problem faster. E.g. CNN is good with Images.</p><p>YOLO is another example of a research paper made for Object Detection. You only look once focused on real-time object detection with the ability to estimate objects in just a frame.</p><h4>Publish Research Papers</h4><p>Your idea will be documented as a research paper, which you can publish at a university.</p><p>Companies also have research groups that publish research papers, and if they do something unique, they proceed to patent it.</p><p>A research paper is commonly funded by Universities, but companies also invest their fair share in research to improve their product.</p><h4>Research Methodology</h4><p>The process of bringing ideas to paper is based on a set of rules expressed by Research Methodology.</p><p>It includes all the steps with the aspect of how you approached the idea, how you got the data, how was the data/information used, and how all the steps were integrated to arrive at the solution.</p><p>It includes all the important aspects of research, including research design, data collection methods, data analysis methods, and the overall framework within which the research is conducted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*n8k1a39wrjiFAxBU.jpg" /><figcaption>Mitsubishi Electric Research Labs</figcaption></figure><h3>Practitioners</h3><h4>Application focused.</h4><p>Practitioners focus on bringing the networks created by researchers to be put into use in the real world.</p><p>If a researcher has created a good face detection algorithm, as a practitioner the focus is on how to make the model available for the desired audience to use it.</p><h4>Use Neural Networks</h4><p>Here neural networks are used to be trained on custom data based on subjects of interest in the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zAmTiaVS6Qn5KXjT.png" /><figcaption>E.g. steel dataset (https://www.mdpi.com/2076-3417/12/8/3967)</figcaption></figure><p>Real-time data is utilized to train the model and perform prediction on real-time or static methods.</p><p>As it is now a real-world-based entity, there will be an extension for giving alerts or any other action to notify the findings by the model inference to activate a real-life procedure. This is where automation comes into play.</p><h4>Automation</h4><p>Let’s say we have trained a neural network to detect faces. If a detected face matches the data in the model, It can mark your attendance or open the door for you to enter. You can also unlock your phone, read the blog below</p><p><a href="https://pub.towardsai.net/revolutionary-computer-vision-05c8328cf1e5">Revolutionary Computer Vision</a></p><p>So now we have these use cases that need to notify or do something when a certain condition occurs on inference, We need to add automation for the next steps.</p><p>If a traffic camera captures a person without a helmet on a bike, It should notify the officials.</p><p>If a stranger enters unknown premises, it should raise an alarm. If a defect is encountered, the machine should be stopped. These are a few uses that emphasize the automation required.</p><h4>Implement Research Paper</h4><p>Being a practitioner, the focus is to implement researched ideas in real life to extend the possibility of the idea to reality.</p><h4>Data Science Life Cycle</h4><p>Since the model will be put to use in real life, we have a Data Science Life Cycle to define the stages to implement and deploy the model.</p><p>The Data Science Life Cycle starts with understanding Business problems or requirements. The problem may be from different domains like manufacturing, street side, cooperate offices, etc.</p><p>Once the problem is understood, we move to the Data Preparation phase. We start by understanding the data available and how to access it.</p><p>E.g. CCTV cams provide IP feed or RTSP.</p><p>The relevant data will then be collected and validated. Once the data is ready, we move on to data preprocessing. After this, the model will be trained and tested.</p><p>The model will then be deployed based on the business requirements.</p><p><a href="https://enosjeba.medium.com/from-pixels-to-insights-f8c9b31888d6">Top Computer Vision Algorithms</a></p><h3>Which one to choose?</h3><p>Each road has its ups and downs. One research focused on a problem, while the other focused on the uses of the research produced.</p><p>Practitioners get to work with people who are from another field such as business, management, or any other field. The people you will mostly interact with are non-technical people, so you will face explainability problems. To convey your idea, you will have to use <em>layman’s terms</em>, and the technical specification you have probably goes above your head. There are people from other fields who have sound technical knowledge (or some with at least surface-level knowledge) but those people are rare.</p><p>Researchers usually have a company of intellectuals around them. They will be equally challenging. You cannot utter an error in the technical terms as you will have a quick consequence of corrections flowing up. Mostly everyone involved would understand your work and you have less need to translate your thoughts into <em>layman’s terms.</em></p><p>If you are lucky enough, You could surely try both together.</p><p>Both the roads go hand in hand. If you get into research, you will be also thinking about usability and if you choose the other you will anyway dig your head into research papers and will have exposure to that field also. If you have to implement a unique real-world solution, You will have to put on your thinking cap and become a Researcher. If you want people to find your Research useful, you have to think about its usability.</p><blockquote>So they coexist, choose what’s comfortable and you are going to do the other anyway :)</blockquote><h3>Conclusion</h3><p>The field of Computer Vision offers two distinct yet interconnected paths: research and practice.</p><p><strong>Researchers </strong>are the trailblazers, pushing the boundaries of what’s possible with innovative ideas, <strong>Practitioners</strong>, on the other hand, are the implementers, bringing these groundbreaking concepts into the real world</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ea0ad600c7f" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/researchers-vs-practitioners-3ea0ad600c7f">Researchers vs Practitioners</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How User Experience Ruined the World]]></title>
            <link>https://medium.com/thedeephub/how-user-experience-ruined-the-world-8aa6cc2ebb1?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/8aa6cc2ebb1</guid>
            <category><![CDATA[philosophy-of-mind]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[society]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Sat, 09 Mar 2024 04:52:10 GMT</pubDate>
            <atom:updated>2024-03-13T04:18:04.366Z</atom:updated>
            <content:encoded><![CDATA[<h4>and Ai is helping it!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*EpxalF4OXQSBkXHq.jpg" /><figcaption>Image from pcma.org</figcaption></figure><h4>The Introduction of Easy</h4><p>Presenting the method to use a product even if you don’t know how to use it and the good news is you don’t have to learn to use it too.</p><p>The device will think on its own. It will judge the environment and function on its own.</p><p>You just have to place it in the right position in your surroundings. <em>Sometime soon the device will place itself in the right position too. As of now just some of them can do that.</em></p><p>Now just click a button to make it work.</p><p>No need to learn. No need to go through practice. The machine knows. You just have to watch it do its work.</p><p>The complex world, the world ruled by laws and formulas is now possible to execute with a click of a button. It started from calculating with fingers and then using physical objects to finally doing the calculation on writing till eventually the process was shifted to a calculator.</p><p>Well now we just pick up your calculator <em>(or the calculator app in your smartphone)</em> tap, tap, tap, and there you go, that’s the bill amount. A wonderful tool indeed!</p><p>Want to build a website on your own but don’t know coding and don’t want to hire a developer or go through hours of programming tutorials? You just have to drag and drop your title, images, text, etc. and your website will be ready in a few clicks.</p><p>Want to click awesome pictures like the one you saw on Instagram? But you have no idea how to twist the <em>DSLR</em> camera lens! Don’t worry, grab your camera, Switch to auto mode, and there you go, your camera will calculate the Exposure, ISO, Shutter Speed, and all the other technical requirements with the algorithm inside it so you don’t have to learn (or remember) anything here too.</p><p>Everything now seems simpler to execute. It is that you now don’t have to invest time in understanding “How Things work?” as it just works like a typewriter worked.</p><p>You just had to find the letters and push it until it responds with a clicked sound and see the letter appear on the sheet. You don’t have to think how it does it, you just have to do it.</p><p>It is a good experience to have to do things without having to think too much.</p><h4>The new situation</h4><p>AI now is almost integrated into everything. AI is also something that just works, and no one has to peep inside the machine or software to know about it.</p><p>You just have to know what that piece of code does and provide a user-accessible method of implementation for anyone to use it. If you see an AI model, you just have to type in your imagination and a picture will appear, that’s all.</p><p>It’s the magic of AI and fundamentals of User Experience to make it feel like instant access to the “AI Aladin lamp”</p><h4>The experience thing</h4><p>Knowledge is a different kind of substance that cannot be owned but we can experience it and the experience shapes our view of the world.</p><p>There may be practical experience to gain knowledge. We can gain knowledge by reading, listening, or maybe just watching, but the most effective is doing.</p><p>Once we do something we gain a level deeper than the normal line. We gain a depth of knowledge by doing things and it may be essential or at least give meaning to us being humans.</p><p>The basic difference between humans and any other organism is that Humans think. And this thinking has led humanity to exactly where we are today.</p><p>Thinking provides us a doorway to think of things that haven’t existed and pushes us to almost create it in real life. But the fuel to thinking is the knowledge we own by experiences or doing things.</p><p>If you have no idea of the layer beneath whatever in the world you are interacting with, you probably won’t be thinking much as there is nothing special to think about at the surface level.</p><p>If you don’t like how things are and you are voicing your opinion without looking inside your discomfort, it can be easily categorized as murmuring You as a human being with the ability to bring changes not ready to look under the hood but just explain how things were not as per your requirements.</p><h4>The future demands humans to be dumb!</h4><p>Looks like it.</p><p>If you want to start programming, you don’t have to brush through pages or reach page 2 of Google as Chat GPT will directly spit out the answers.</p><p>If you want to build a website, try something like WIX, you don’t have to code.</p><p>If you want to create music, you don’t need a producer to mix, AI can do it and you will be pretty much happy with the results.</p><p>As a consumer, these tools are good. And since while using these tools, people will be muting their skills, there is no growth but there is a better result.</p><p>You don’t have to learn anymore, you go AI to cover it for you. A good user experience will make you forget the line between you and the technology.</p><blockquote>The less we reason, the less we grow.</blockquote><p>But with User Experience so good to make someone feel like they are smart by just releasing the right chemicals in their brain on the sight of the output without realizing how it came up with answers, I think people won’t think anymore.</p><p>Somebody thought to make the computer more humanlike.</p><p>Somebody helped the computer to mimic the human brain.</p><p>Somebody extended it to assist us in human labor.</p><p>Somebody tried to make it think like a human but without the memory disadvantages of the brain as it already could grasp information faster.</p><p>And once it had learned Somebody fine-tuned it to answer like a human.</p><p>When it began answering almost humanely we began to trust its answers and it was just eliminating the need for you to remember or think more often than you used to.</p><p>Now you don’t know as much as you think you know!</p><h4>Conclusion</h4><p>The user experience of technology has made it easier and faster for humans to do tasks without needing to understand the underlying mechanics or concepts.</p><p>While this may appear convenient and enjoyable, it also limits us the ability to think creatively, and critically about the world around us.</p><p>By depending too much on AI and other automated technologies, we risk losing our human edge of curiosity, ingenuity, and problem-solving.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8aa6cc2ebb1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thedeephub/how-user-experience-ruined-the-world-8aa6cc2ebb1">How User Experience Ruined the World</a> was originally published in <a href="https://medium.com/thedeephub">The Deep Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revolutionary Computer Vision]]></title>
            <link>https://pub.towardsai.net/revolutionary-computer-vision-05c8328cf1e5?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/05c8328cf1e5</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Fri, 08 Mar 2024 18:02:26 GMT</pubDate>
            <atom:updated>2024-03-20T16:54:51.478Z</atom:updated>
            <content:encoded><![CDATA[<h4>How did they do it?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4aRbTuBjxGY5qiL5RKiIww.png" /></figure><p>The amazing projects inspired me to look at computer vision as the most comfortable field I would ever work in.</p><p>I like getting my head into different fields and trying to connect the dots and understand how each field is invisibly holding another subject.</p><p>Photos aren’t photos; they are just combinations of numerical values laid out in a cube. Yes, and this thought pushed me to get into computer vision.</p><p>When I got my feet in deep learning and understanding image processing, I found there were some amazing computer vision projects already Implemented in the world. I will explain it. Let’s start with</p><h3>Face ID</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3F9LyrulHsjaMfJ-.jpg" /><figcaption>Source — ns-businesshub.com</figcaption></figure><p>The most popular computer vision project to reach everyone’s hands is the iPhone’s face recognition. With the introduction of the iPhone X, Apple added cameras that would unlock by looking at you.</p><p>FACE ID feature helped people unlock the phone with a glance at it. You registered your face once and then you were good to go.</p><p>Just like doing things the Apple way, Facial recognition was also given serious attention to avoid false unlocks with the help of photos or other pictorial representations.</p><p>Many journalists took upon multiple creative experiments to fool the recognition algorithm, but it wasn’t that easy to fool the algorithm. It even worked in the dark.</p><h4>How did they do it?</h4><p>To implement FACE ID, Apple implemented a camera system called the <strong>True Depth Camera System.</strong></p><p>The <strong>True Depth Camera System</strong> consists of</p><ol><li>Infrared camera</li><li>Flood illuminator</li><li>Front Camera</li><li>Dot projector</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iaBV6TzB3taaxtwAvEdyYQ.png" /><figcaption>Source — Apple</figcaption></figure><h4>Here’s how it works.</h4><ol><li>The flood illuminator is responsible for detecting your face <em>(even in the dark)</em></li><li>The infrared camera takes an IR Image of your face</li><li>The Dot projector joins in to project around 30,000 dots on your face</li><li>The IR image and the Dot project is then pushed into a neural network to create a mathematical model of your face</li><li>Now this mathematical model is matched with the already stored face when you set it up to unlock your phone</li></ol><p>The highlighting feature is that it would adapt to facial changes and would still continue to recognize you after you have grown a beard and put on glasses.</p><p><a href="https://enosjeba.medium.com/computer-vision-libraries-in-python-5935884b0cdb">Computer Vision Libraries in Python</a></p><h4>Things we can pick up from this project</h4><h4>User Experience</h4><p><em>Also known as the Apple Way, Face ID was a simple yet remarkable approach to interacting and harnessing the good in technology.</em> It was implemented in a way which was user-friendly and seamlessly attached to our lifestyle.</p><p>When we make our algorithms usable, the audience ready to use it would become wider. The wider the audience, the more useful your product is.</p><p>Of course, you also have the added advantage of getting more data, But why more data? Let’s see it next</p><h4>Retraining Model</h4><p>The Retraining Model is the most overlooked part of Machine Learning. Once a model is trained, people <em>(or stakeholders)</em> expect it to run forever without failing.</p><p>If it is said so that the World Changes, so does a real-world entity, like our data. Data like images are prone to change and the probability of forming the same shape is prior is pretty low or non-existent.</p><p>If the FACE ID were to just operate on the data registered on the setup, I would easily fail in a while after our biological facial feature changes.</p><p>Thus, it should be retrained again and again to work accurately, like a knife that needs to be sharpened to cut smoothly.</p><p>But even when retraining, we don’t keep rotating our heads with the new FACE ID setup, right? Then how would it work?</p><p>Every time you unlock with your face, the image captured will also be sent to the background training to keep the model up to date. As an entity such as facial hair grows slowly, The FACE ID trained with the latest data of your face, as you will be using the face unlock every now and then, is easily able to predict the possibility of your face.</p><h4>Out of the box</h4><p>Apple did not limit computer vision to just cameras. They explored all the possibilities for imaging sensors. They created a whole new setup for the solution to properly working keeping in mind the small space of the phone.</p><p>Apple went out of the way to ensure the features worked properly, taking security seriously and understanding that even a small flaw can collapse the whole iPhone market in the world.</p><p>One exposed flaw meant that their billion devices were also equipped with that same vulnerability, which can be exploited in unthinkable ways, posing a huge security threat. Apple, as always, managed to put in the effort and be serious about their features added and throw away competition.</p><p>There are thousands of electronics components available in the world, and attaching one to the other would be a fun Lego version of technology. If we consider our use case and play around with components to make it work effectively, we sure would be making another successful product for history to look back.</p><p><em>See the working of FACE ID in real life with infrared cameras.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fg4m6StzUcOw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg4m6StzUcOw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fg4m6StzUcOw%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/56b6e91907bc48d04b6bca845bee8244/href">https://medium.com/media/56b6e91907bc48d04b6bca845bee8244/href</a></iframe><h3>Xbox Kinetic</h3><blockquote>“The device that lets you be the controller”</blockquote><p>is the perfect expression of Xbox Kinect. Microsoft added “The Controller you are” on one of the game CD boxes, which highlights the feature of game characters mimicking your actual body movements.</p><p>Launched with the Xbox 360, Kinect is a powerful implementation of Computer Vision and body tracking.</p><p>With Xbox Kinect you could move across menu with your hand as a pointer. You could scroll through the o.s. and click on options. If you did not want to use your hand, you can switch to voice control.</p><p>Just as the enemy would come rushing at you, you would now swing with your hands to kill him than pressing a button like you normally did.</p><p>With multiplayer games you could ask your friend to play right beside you and you guys could play together. You can kick the football in air and your friend trying to save the goal. You could scan your skateboard into the game and play virtually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z4TZ-Zq-GEI13FtU" /><figcaption>Source — <a href="http://www.enocasioneshagoclick.com/2010/06/nueva-xbox-360-slim-con-el-nuevo.html">http://www.enocasioneshagoclick.com/</a></figcaption></figure><p>In games like Dance Central Spotlight, you can dance, and the character in the game will copy your moves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oXGLr028taYP6UqA.jpg" /><figcaption>Raj and Howard using Kinect while Leonard staring at the scores</figcaption></figure><p>Kinect was also being used in schools to interactively teach young minds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MmFuEPO8AcOP-p7Umep6Ow.png" /><figcaption>Source — crowbcat</figcaption></figure><p>Kinect was powered by hardware and software.</p><h4>The multi-cam setup was doing two things</h4><ol><li>Generating 3D moving image of the objects in its field of view</li><li>Recognize (moving) human beings among those objects.</li></ol><p>The camera uses a technique called time-of-flight to distinguish objects from the background. It emits near-infrared light that is invisible to the human eye and measures how long it takes to bounce back after hitting the objects. This is similar to how sonar works: The longer the light takes to return, the farther away the object is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/0*tYkX0zg8nSrGlwC1.png" /><figcaption>Source — Wired.com</figcaption></figure><h4>Kinect Software</h4><p>The Kinect had a separate processor onboard, which had algorithms to process the data passed in from the camera and render the 3d image.</p><p>It could also recognize people and identify human body parts and their joint with movement. The software would place a estimated skeleton on the detected human to let the software know the position of the human for the virtual character to do the same.</p><p>It also identifies a person from another, so when you face it, it knows who you are.</p><p><a href="https://enosjeba.medium.com/from-pixels-to-insights-f8c9b31888d6">Top Computer Vision Algorithms</a></p><h4>Things to admire in Kinect</h4><p>The <strong>software </strong>and <strong>hardware</strong> integration are amazing.</p><p>The movement replicated in almost real-time by another 3d model on the screen is a complex thing to achieve.</p><p>The cameras identifying each body part were also significant for the virtual models to make the same moves.</p><p>You can watch <strong>Dr Andrew Fitzgibbon,</strong> who was a key person in developing the technology for Kinect, gave a seminar on building Computer Vision Systems at the University of Surrey, Guilford</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fxqd1L6ubP64%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dxqd1L6ubP64&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fxqd1L6ubP64%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/0b2bf627ae28e053e2438778a337ece5/href">https://medium.com/media/0b2bf627ae28e053e2438778a337ece5/href</a></iframe><h3><strong>Face tracking cameras</strong></h3><p>Keeping your face in center of the video frame makes a huge difference when you are video calling. The person on the other side will be more comfortable when they can see your natural pose than your half face or the part of your home where you are right at the edge of the frame.</p><p>The main objective was to keep the face in the center of the video frame. Owing to webcam’s which almost will be stationary, you always had to be sitting right in front of it.</p><p>We could detect your face from the webcam but if you move, we cannot move the webcam or change its direction and that’s where Face Tracking camera paved their way in.</p><p>The cameras were attached to a motorized base, which could rotate on itself. The camera was equipped with a face tracking model to know the location of the person in the frame would estimate the position and send signals to the motorized base on the required movement to recenter the face on screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WOBKl6n2zx3If5gR.jpg" /><figcaption>Source — <a href="https://www.yankodesign.com/">https://www.yankodesign.com</a></figcaption></figure><p>Some cameras also used zoom features to zoom out if the person is too close and zoom in if the person is in a distance.</p><p>Later we also got to see camera’s mounted on small gimbal system controlled by live feed from the cameras. This mean that you could just move around than sitting just on a place for video conferencing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Efs63TYGHSJi1d9O" /><figcaption>Dji Pocket 2</figcaption></figure><p>Content creators soon were also presented with cameras which would keep their faces in the center so that their Vlogs would come out better.</p><p>Looking at the camera and taking now seemed more easier as you have an automated companion to track your face and present you well.</p><h4>Center Stage</h4><p>Surprisingly, Apple also took a shot at it with their existing hardware&#39;s. Apple with the help of its ultrawide angle camera and heavy software procession manages to keep people in the center of the frame and they call it Center Stage.</p><p>It cannot just rotate and do such stuff <em>like the gimbals or motorized cameras</em> as here just one image is digitally skewed to bring the desired natural effect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5Nfb0CdOI5E5aIwx" /><figcaption>phonearena.com</figcaption></figure><p><a href="https://enosjeba.medium.com/how-to-see-like-a-machine-c06b652c2b9f">How to See Like a Machine</a></p><h4>Things we can grab from this projects.</h4><ul><li>Not just combining electrical components, we can also make the components bring the best of our algorithm by sending them specific instructions to perform. <em>I mean Why Not?</em></li></ul><h3>Windows Hello</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*s3Br9-PGjxk1W-Hv.gif" /><figcaption><a href="https://dribbble.com/shots/2344079-Windows-Hello-Animation">https://dribbble.com/shots/2344079-Windows-Hello-Animation</a></figcaption></figure><p>Windows Hello was made to allow laptop users to gently sign in without even touching the device. People&#39;s natural interaction with a laptop would open the lid and face the screen. Microsoft thought to unlock the screen at the first glance at the screen itself, so it came up with Windows Hello.</p><p>When Windows Hello was made into the market, the demand for notebook laptops increased, and people were getting comfortable holding lightweight devices that could also easily slide into their bags.</p><p>Windows hello worked based on Infrared cameras. It also reads facial movements to ensure liveness of a person. It also extends to recognize body heats to make sure you are a living person, so photographs are not going to work.</p><p>It was also claimed that during the testing it also differentiated between Identical twins.</p><p>It also is claimed to measuring the distance between your eyes and forehead etc. It’s not limited to a single picture.</p><p><a href="https://enosjeba.medium.com/computer-vision-62b6acaf9dba">Computer Vision</a></p><h4>Things we can pick up from Windows Hello</h4><ol><li>User Experience improves the value of the algorithm.</li><li>It does not always have to be just one image; you could also use a stack of images to improve the accuracy score.</li></ol><h3>Autonomous Vehicle</h3><p>Tesla. Yes, a popular electric vehicle with the capability to drive around on its own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*BFfznUPvEYgSqQrT.gif" /><figcaption><a href="https://www.bloomberg.com/">https://www.bloomberg.com</a></figcaption></figure><p>Equipped with multiple cameras, Electric vehicles now posses to ability to drive with decision based on multiple Realtime video feed bundled with object detection, lane judgement, pedestrian detection etc.</p><p>With multiple cameras, the algorithm becomes aware of its surroundings. It now knows.</p><ul><li>How far the car behind is standing?</li><li>Is there anyone walking beside me?</li><li>What’s in front of the car?</li><li>Is anyone walking in the front?</li><li>Where’s the white line on the road?</li></ul><p>with so much more essential information to make a decision in the middle of the road.</p><p>And with additional sensors such as GPS we have our location on the map. The GPS also helps to prevent theft.</p><h4>Autonomous Levels</h4><p><em>I got this piece from the internet</em></p><ol><li><strong>Driver Assistance — </strong>Operated by a human driver, but with assistance from an automated system for steering or acceleration (but not both)</li><li><strong>Partial Automation — </strong>automated assistance is offered for both steering and acceleration, but the driver is still responsible for safety-critical actions.</li><li><strong>Conditional Automation — </strong>sensors monitor the surrounding environment, and the additional activities are automated such as braking. The driver must be ready to intervene should the system fail.</li><li><strong>High Automation — </strong>the vehicle can operate fully autonomously but the mode can only be activated under specific conditions.</li><li><strong>Full Automation — </strong>the driver specifies the destination, and the car does the rest on its own. At this level, there is no need for a steering wheel or pedals.</li></ol><p>And with computer vision, we have pretty much reached Full Automation.</p><p>Assuming you have been inspired to level up your computer vision projects with the current industrial methods, let’s re-revolutionize again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05c8328cf1e5" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/revolutionary-computer-vision-05c8328cf1e5">Revolutionary Computer Vision</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computer Vision Libraries in Python]]></title>
            <link>https://medium.com/thedeephub/computer-vision-libraries-in-python-5935884b0cdb?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/5935884b0cdb</guid>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 14:32:56 GMT</pubDate>
            <atom:updated>2024-03-21T20:27:23.669Z</atom:updated>
            <content:encoded><![CDATA[<h3>Computer Vision Libraries</h3><h4>Python libraries to work with Images and Videos</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5Eo_XQL1RaiPYRDjm77_g.png" /></figure><p>Python has made accessing programming a little easier, and with the addition of libraries, we are also able to work with Computer Vision tasks and deployment. Let’s go through the general libraries used for computer vision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*PVU4PLDwDr4KP6Ij.jpg" /></figure><h3>Training</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x0wLGrs-IVgQnKzj.png" /></figure><h4>Tensorflow</h4><ul><li>Tensorflow is a platform developed on top of Keras</li><li>Tensorflow is used to create Neural Networks and can train models</li><li>Tensorflow is easy to learn</li><li>Tensorflow also can create lite models which can be used to deploy on mobile devices</li><li>Tensorboard helps us visualize training metrics</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*3UeSg6Bv5FttJkDS.png" /></figure><h4>Pytorch</h4><ul><li>Pytorch is based on Torch library created by Facebook (now Meta)</li><li>Pytorch is widely used in research paper’s</li><li>The debugging capability makes it favorable choice for researcher’s</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*neUgvIP91Fjc2gOg.png" /></figure><h4>Keras</h4><ul><li>Slowly faded into Tensorflow</li><li>Keras was built keeping user’s in mind</li><li>It facilitated fast prototyping</li><li>Easy production of Models</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0PbcDfzot2rYAUbt.png" /></figure><h4>Sklearn</h4><ul><li>Machine Learning Library</li><li>Equipped with tools for predictive data analysis</li><li>Have multiple Classification and Regression models built in</li><li>Sklearn metrics also helps in evaluate the training</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*oBRPN5OSJInjUuMd" /></figure><h4>mathplotlib</h4><p>Matplotlib can be used to plot training graphs’s and understand how our neural network is performing. You can also use it to view images side by side for comparison purposes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/0*FTduwNH2U0oommiH.png" /><figcaption>Training Graph of Neural Network</figcaption></figure><p><a href="https://medium.com/mlearning-ai/from-pixels-to-insights-f8c9b31888d6">Top Computer Vision Algorithms</a></p><h4>Image Operation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L_wxWoxJaX-p-Wgo.png" /></figure><h4>Opencv</h4><ul><li>Collection of Computer Vision tools</li><li>Opencv can help us get live feed from CCTV and process the frames</li><li>Has support for wide range of cameras including Lidar, Realsensea and PI Cameras</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/0*X4-YkXmQxzWOoFr5.png" /></figure><h4>Numpy</h4><ul><li>It’s a math library with advanced calculation capabilities</li><li>Used as a extension to OpenCV to perform image operations</li><li>Can apply filter’s on image with it’s matrix functionality</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rmHxlSfZqP5zmAZx.png" /></figure><h4>PIL</h4><ul><li>Also known as PILLOW</li><li>PIL does a variety of Image operations</li><li>Unlike OpenCV which takes help of NUMPY to crop image or any other activity, PIL has built in tools for it</li></ul><h4><strong>Imutils</strong></h4><ul><li>Convientient functions found in one package</li><li>Developed by PyImageSearch</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*r-qLGrsG7gMQC7C0" /><figcaption>Contor detection using imutils. Source <a href="https://www.dounaite.com/">https://www.dounaite.com/</a></figcaption></figure><h4>Bonus</h4><blockquote><strong>Base64</strong></blockquote><blockquote>Sending your images across in the original format demands more space. But we can send string easily, So we can use base64 to conver image to a string which can then be passed via api, stored in a notepad or anywhere else you are thinking of.</blockquote><blockquote>You can check out this article about Base64 conversion</blockquote><ul><li><a href="https://www.geeksforgeeks.org/python-convert-image-to-string-and-vice-versa/">Python - Convert Image to String and vice-versa - GeeksforGeeks</a></li><li><a href="https://medium.com/mlearning-ai/how-to-see-like-a-machine-c06b652c2b9f">How to See Like a Machine</a></li></ul><h3>OS navigation</h3><h4>Sys</h4><ul><li>Sys library helps us in performing system operations</li><li>Sys.exit() is a most commonly used command to exit out of the code on a given condition</li></ul><h4>os</h4><ul><li>os, Yes it is Operating system</li><li>os allows python to interact with the os, so you can do things like creating a folder, changing working directory etc</li><li>Eg. os.path() library in python helps in locating a file, walking in a folder</li></ul><h4>Time</h4><ul><li>time.sleep() to take a pause between the code</li></ul><h4>Datetime</h4><ul><li>Module to get the time, in different formats. You can customize the format as per your requirement</li></ul><p><a href="https://www.w3schools.com/python/python_datetime.asp">Python Dates</a></p><h4>Shutil</h4><ul><li>Shutil helps in moving or copying files across folders / disk</li></ul><p><a href="https://medium.com/mlearning-ai/computer-vision-62b6acaf9dba">Computer Vision</a></p><h3>API</h3><h4>requests</h4><ul><li>Requests library is used to connect with API</li><li>You can pass data to API and Get response from the API</li></ul><h4>Json</h4><ul><li>Json helps in reading JSON files</li><li>Good method if you have multi-level records to be stored</li></ul><h3>Advanced</h3><h4>Logging</h4><ul><li>Better version of Print Statement</li><li>This helps understand the flow of program in a better way</li></ul><h4>Threading</h4><ul><li>Multi-Threading is a joke in python, but you can try multi-threading which won’t be running on multiple threads as the name suggests</li></ul><h4>Multiprocessing</h4><ul><li>Unlike Threading it does utilize CPU better, but those parallel running processes cannot talk to each other!</li></ul><blockquote>Whether you are interested in training neural networks, performing image operations, connecting with APIs, or deploying your models, Python has a library for you. Inspire someone to start today :)</blockquote><h4><a href="https://medium.com/mlearning-ai/community-mlearning-ai-art-machine-learning-innovators-b81ec864118a">Medium’s Boost</a> / <a href="https://open.substack.com/pub/mlearning/p/predict-tomorrow-the-new-era-of-ai-forecasting?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">AI Predict</a> /<a href="https://open.substack.com/pub/mlearning/p/a-free-alternative-to-the-paid-gpts?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">FREE GPTs alternative</a>/ <a href="https://open.substack.com/pub/mlearning/p/create-worlds-from-video-ai-new-method?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">Video2Wolds</a></h4><p><a href="https://medium.com/mlearning-ai/mlearning-ai-submission-suggestions-b51e2b130bfb">Mlearning.ai Submission Suggestions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5935884b0cdb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thedeephub/computer-vision-libraries-in-python-5935884b0cdb">Computer Vision Libraries in Python</a> was originally published in <a href="https://medium.com/thedeephub">The Deep Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git with just 9 Steps]]></title>
            <link>https://enosjeba.medium.com/git-with-just-9-steps-f60a400ab130?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f60a400ab130</guid>
            <category><![CDATA[beginner-coding]]></category>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Wed, 28 Feb 2024 15:31:26 GMT</pubDate>
            <atom:updated>2024-03-03T08:44:07.587Z</atom:updated>
            <content:encoded><![CDATA[<p>How to use git to upload code to GitHub?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*pn37hOn_ghOQk0MG.jpg" /></figure><h3>What is Git?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*igIfcpkXFliLnk3I" /></figure><p>Git is a version control system, used to version your code and keep track of its changes.</p><p><strong>Install GIT by following the instructions</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqAiO4Sg5oQE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqAiO4Sg5oQE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqAiO4Sg5oQE%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/13c8526a4bc84629c674be7e1eac766e/href">https://medium.com/media/13c8526a4bc84629c674be7e1eac766e/href</a></iframe><h3>Why Version Control?</h3><p>Let’s say you have started writing a simple code and you share it with your friend. Your friend on looking at the code gets hit with an idea to add a functionality. So, you send him your code and he start working on it. On the background you too are fiddling with the code with a different approach. Two days later when you meet with your friend, both of your code is now complex to integrate. This is where version control comes in.</p><h4>So how does it work?</h4><p>Let’s term the first code you had created to be the base code (or Version 0.0.0)</p><p>Now on each change you would be updating the numbers.</p><h4>Changes can be classified into</h4><ol><li>Minor bug fix</li><li>Major bug fix</li><li>Release / Deployed</li></ol><p>So, remember our software is in 0.0.0 Version</p><p>Once you fixed all the <strong>minor bugs</strong>, you can increase the third digit on the version number. i.e. 0.0.0 will become 0.0.1</p><p>When you have fixed <strong>major bugs</strong>, you can increase the second digit on the version number, i.e. 0.0.1 will become 0.2.1</p><p>And if your code is ready to be<strong> release </strong>/ shared or deployed you can increase the third digit on the version number, i.e. 1.3.2</p><p>Once you can understand this part, here is the method which we use in the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*8GRIq53mF4RFSqfB" /></figure><p>The <strong>third digit</strong> would be used for <strong>fixing bugs</strong>.</p><p>The <strong>second digit</strong> would be for adding <strong>new features</strong>.</p><p>And the <strong>first digit</strong> would be for <strong>Major Changes</strong>.</p><p>Now that you have understood version, Let’s get back to our code situation.</p><h4>Welcome to GitHub</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mMj6XrqyYWCaB6p0" /></figure><p>GitHub is a place where you can upload your code and have other’s edit or add codes etc.</p><blockquote>You can keep your code open source <em>(Anyone can see your code)</em> or you can keep it in a private repository <em>(Only you and people you add can see the code)</em></blockquote><p>Assuming you already have a GitHub account, you need to add ssh to be able to add code via command line. You can follow the tutorial below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FX40b9x9BFGo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DX40b9x9BFGo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FX40b9x9BFGo%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6185ef0ef6250df425f4c02e1a2b1d42/href">https://medium.com/media/6185ef0ef6250df425f4c02e1a2b1d42/href</a></iframe><h4>Step 1: Create Repository</h4><p><strong>Repository </strong>is like a folder where all your codes will be residing.</p><p>You can create a repository by first creating a folder in your computer.</p><pre>mkdir my-project #create a folder</pre><p>and then go inside your project folder.</p><pre>cd my-project</pre><h4>Existing Repository</h4><p>If you already have repository, you can clone the repository by first copying the ssh link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*7MbmVOxZLB49q92x" /></figure><p>And the paste the link with the command</p><pre>git clone repository_ssh_link</pre><h4>Step 2: Initiate Git project</h4><pre>git init</pre><h4>Step 3: Add Codes</h4><p>Start adding your codes!</p><h4>Step 4: Add code to commit</h4><pre>git add .</pre><h4>Adding specific files</h4><p>If you want to exclude some files and just add selective files you can use -f command</p><pre>git add -f file1 file2</pre><h4>Step 5: See selected files.</h4><pre>git status</pre><h4>Step 6: Commit</h4><pre>git commit  -m &quot;Describe the Changes&quot;</pre><h4>Step 7: Push</h4><pre>git push origin master</pre><p>And we have done it. But remember your friend waiting for your code? Let’s look into it.</p><p>When you first create repository, you will have a master branch. This can be treated the main code.</p><p>Now since your friend also wants to contribute, we can create a branch for him so that the main code can exist in peace and remain in unchanged state.</p><h4>Step 8: Create Branch</h4><pre>git checkout -b Branch_name</pre><p>If the branch already exists, it will just switch to the branch, if not, it will create a new one</p><p>To see which branch is currently active</p><pre>git checkout </pre><p>To see all the branches, you can use</p><pre>git branch</pre><h4>Step 9: Commit on Branch</h4><p>You can add files and commit by following Step 4 to Step 6.</p><pre>git push origin Branch_name</pre><p>And you have successfully added your project to GitHub and brought it under version control. You can see your success by logging into GitHub repository.</p><h4>Bonus</h4><p>You can add Version Number to your git repository like this</p><pre>git tag -a &quot;v1.5.0-beta&quot; -m &quot;version v1.5.0-beta&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-P0AwmeLCHVkx9pe.png" /></figure><h3>Conclusion</h3><p>By following the nine steps, you can <strong>create</strong>, <strong>commit</strong>, <strong>push</strong>, and <strong>branch </strong>your code using <strong>git commands</strong>. You can also <strong>tag your code</strong> with <strong>version numbers</strong> to indicate the stage of development.</p><blockquote>Share with those in need :)</blockquote><h4><a href="https://medium.com/mlearning-ai/community-mlearning-ai-art-machine-learning-innovators-b81ec864118a">Medium’s Boost</a> / <a href="https://open.substack.com/pub/mlearning/p/predict-tomorrow-the-new-era-of-ai-forecasting?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">AI Predict</a> /<a href="https://open.substack.com/pub/mlearning/p/a-free-alternative-to-the-paid-gpts?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">FREE GPTs alternative</a>/ <a href="https://open.substack.com/pub/mlearning/p/create-worlds-from-video-ai-new-method?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">Video2Wolds</a></h4><p><a href="https://medium.com/mlearning-ai/mlearning-ai-submission-suggestions-b51e2b130bfb">Mlearning.ai Submission Suggestions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f60a400ab130" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top Computer Vision Algorithms]]></title>
            <link>https://medium.com/thedeephub/from-pixels-to-insights-f8c9b31888d6?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8c9b31888d6</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[yolo]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Tue, 13 Jun 2023 15:21:13 GMT</pubDate>
            <atom:updated>2024-03-30T19:35:48.908Z</atom:updated>
            <content:encoded><![CDATA[<p>From Pixels to Insights</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v7MIRyoDiSppoArcApnJwg.png" /></figure><p>Welcome to the fascinating world of computer vision! In this digital age, where visual information surrounds us, computer vision algorithms play a crucial role in analyzing and interpreting images and videos. From autonomous vehicles to facial recognition systems, computer vision algorithms have revolutionized numerous industries and applications.</p><p>In this blog, we will take you on an exciting journey through popular algorithms in computer vision, shedding light on their inner workings and real-world applications. We’ll see the popular algorithms that enable machines to perceive, understand, and extract meaningful information from visual data.</p><h3>YOLO</h3><p>YOLO, which stands for “You Only Look Once,” is a well-known real-time object recognition technique in computer vision.</p><p>It transformed the field by developing a fast and precise method for recognizing and locating objects in photos and videos.</p><p>Traditional object identification approaches involved segmenting an image into many areas and categorizing and refining each region independently.</p><p>This method was time-consuming and computationally costly. YOLO, on the other hand, approaches object detection differently by considering it as a single regression problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JkORC53To9esYOBL.png" /></figure><h4>Here’s how YOLO works:</h4><ol><li><strong>Grid Division</strong></li></ol><ul><li>The input image is separated into cells in a grid.</li><li>Each cell is in charge of forecasting items if the center of the object falls inside its boundaries.</li></ul><p>2. <strong>Bounding Box Prediction</strong></p><ul><li>YOLO forecasts several bounding boxes and their confidence ratings within each cell.</li><li>Each bounding box is made up of a collection of coordinates (x, y, width, and height) that determine the position and size of the item.</li></ul><p>3. <strong>Class Prediction</strong></p><ul><li>YOLO estimates the likelihood of distinct classes in the image for each bounding box.</li><li>It gives class probabilities to each box depending on the items that are contained within it.</li></ul><p>4. <strong>Non-max Suppression</strong></p><ul><li>After prediction, a post-processing technique called non-max suppression is used to remove redundant and overlapping bounding boxes.</li><li>It chooses the most confident bounding box for each item based on the confidence ratings and a preset threshold.</li></ul><p>The advantageous features of YOLO include its speed and precision. It can provide real-time inference on resource-constrained devices since it detects objects in a single pass.</p><p>Furthermore, YOLO analyses the image’s global context, allowing it to detect tiny objects while maintaining high localization accuracy.</p><p>As a whole, the YOLO method has had a considerable influence on object identification tasks, allowing for faster and more efficient detection in real-time applications such as surveillance systems, and video object recognition.</p><figure><img alt="What do we learn from single shot object detectors (SSD, YOLOv3), FPN ..." src="https://cdn-images-1.medium.com/proxy/1*TjZ-YFE1YLPNOJJzjyFCEQ.jpeg" /></figure><h4>SSD</h4><p>SSD, which stands for “Single Shot Multi-Box Detector” which is another object detection technique that is commonly used in computer vision.</p><p>It addresses the problem of identifying items at different sizes and aspect ratios inside a picture.</p><p>SSD’s fundamental principle is to mix many convolutional layers of varying sizes to predict object bounding boxes and class labels.</p><p>Here’s a rundown of how SSD works:</p><ol><li><strong>Base Convolutional Network</strong></li></ol><ul><li>SSD begins with a pre-trained convolutional network, such as VGG or ResNet, on a large-scale image classification job.</li><li>This network functions as a feature extractor, extracting visual information and hierarchical representations from an input image.</li></ul><p>2. <strong>Multi-scale Feature Maps</strong></p><ul><li>SSD then constructs a number of feature maps with varying spatial resolutions by superimposing a collection of convolutional layers on top of the underlying network.</li><li>These feature maps collect features at various scales and degrees of abstraction, allowing the detector to deal with objects of varying sizes.</li></ul><p>3. <strong>Default Boxes</strong></p><ul><li>SSD gives a set of default boxes or anchor boxes to each feature map.</li><li>These default boxes are reference bounding boxes that reflect various aspect ratios and scales.</li><li>Each default box corresponds to a distinct location on the feature map.</li></ul><p>4. <strong>Box Predictions</strong></p><ul><li>SSD guesses the offset values for each default box in order to change its location and size to fit the ground truth object.</li><li>It also forecasts the confidence ratings for each class label, indicating whether or not an item category is present within the box.</li></ul><p>5. <strong>Multi-scale Predictions</strong></p><ul><li>SSD produces predictions at many resolutions because different feature maps capture things at different sizes.</li><li>The network modifies the default box predictions to fit the scales of each feature map.</li></ul><p>6. <strong>Non-max Suppression</strong></p><ul><li>SSD, like YOLO, uses non-max suppression to eliminate duplicate bounding box predictions based on confidence ratings.</li><li>It chooses the most confident bounding box for each item while suppressing detections that overlap.</li></ul><p>SSD offers a few advantages, including the ability to handle objects of different sizes and aspect ratios effectively.</p><p>By incorporating feature maps of varying resolutions, it achieves both fine-grained and coarse-grained object detection.</p><p>Furthermore, SSD provides a good balance between accuracy and speed, making it suitable for real-time applications.</p><p>SSD has a few advantages, including the ability to successfully handle objects of varying sizes and aspect ratios.</p><p>It provides fine-grained and coarse-grained object recognition by combining feature maps of varied resolutions.</p><p>Furthermore, SSD offers an excellent blend of precision and speed, making it ideal for real-time applications.</p><p>Overall, SSD has shown to be a strong object identification technique, with applications ranging from pedestrian detection to face recognition and generic object recognition in photos and videos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/0*DFBRJDzF8NXe_zGy" /></figure><h4>Faster R-CNN</h4><p>Faster R-CNN, short for “Faster Region-based Convolutional Neural Network,” is a cutting-edge object identification method based on the R-CNN (Region-based Convolutional Neural Network) family.</p><p>It improves both the accuracy and efficiency of object detection by introducing a region proposal network (RPN) and sharing convolutional features.</p><p>Here’s a breakdown of how Faster R-CNN works:</p><ol><li><strong>Region Proposal Network (RPN)</strong></li></ol><ul><li>Faster R-CNN adds a new network called the Region Proposal Network (RPN) to create prospective object suggestions.</li><li>The RPN takes an input picture and generates a series of bounding box suggestions, which are regions that are likely to contain objects.</li><li>These recommendations are formed by dragging a tiny window, known as an anchor, across the convolutional feature map.</li></ul><p>2. <strong>Shared Convolutional Features</strong></p><ul><li>R-CNN that is faster shares convolutional characteristics with the RPN and the eventual object identification network.</li><li>This sharing allows convolutional feature computation to be done only once for the whole picture, considerably lowering computing cost.</li></ul><p>3. <strong>Region of Interest (RoI) Pooling</strong></p><ul><li>The RPN’s region recommendations are forwarded to the RoI pooling layer.</li><li>This layer aligns the features inside each proposed region to a given spatial dimension, guaranteeing that future layers may function on feature maps of fixed size.</li></ul><p>4. <strong>Classification and Bounding Box Regression</strong></p><ul><li>via two tasks <strong>classification</strong> and <strong>bounding box regression</strong></li><li>Faster R-CNN feeds area suggestions through fully linked layers. Predicting the item class probabilities for each suggested region is part of the classification process.</li><li>To increase the accuracy of the region suggestions, the bounding box regression task predicts improved coordinates.</li></ul><p>5. <strong>Non-max Suppression</strong></p><ul><li>Non-maximum suppression is used after classification and bounding box regression to remove redundant and overlapping bounding box predictions.</li><li>This stage identifies and discards the most confident bounding boxes for each item.</li></ul><p>R-CNN that is faster has various advantages over its predecessors. The RPN eliminates the requirement for external region proposal techniques, making the process trainable from start to finish.</p><p>Furthermore, by reducing redundant feature computations, the shared convolutional features allow for quicker computation.</p><p>Faster R-CNN’s design improves object identification accuracy and delivers state-of-the-art performance on a variety of benchmark datasets.</p><p>Faster R-CNN has become a popular alternative for object identification in many applications, including autonomous driving, surveillance systems, and object recognition in photos and videos, since its launch.</p><p>It has become a cornerstone method in the field of computer vision due to its ability to provide accurate region suggestions and effectively categorize objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DbbNTTYMqn-dgdlA.png" /></figure><h4>Mask R-CNN</h4><p>Mask R-CNN is a cutting-edge object identification and instance segmentation model that is an extension of the Faster R-CNN technique.</p><p>It combines object detection (identifying object bounding boxes) and semantic segmentation (pixel-level object labelling) skills to produce exact item masks as well as categorizing and localizing objects.</p><p>Here’s an overview of how Mask R-CNN works:</p><ol><li><strong>Backbone Network</strong></li></ol><ul><li>Mask R-CNN begins with a backbone network that pulls rich feature maps from the input picture, such as ResNet or VGG.</li><li>These feature maps record hierarchical picture representations that include both low-level and high-level characteristics.</li></ul><p>2. <strong>Region Proposal Network (RPN)</strong></p><ul><li>Mask R-CNN, like Faster R-CNN, uses an RPN to create region suggestions.</li><li>Based on the feature maps generated from the backbone network, the RPN recommends probable object bounding boxes and their object scores.</li></ul><p>3. <strong>RoI Align</strong></p><ul><li>Mask R-CNN replaces RoI pooling with RoI Align, which precisely aligns the extracted features with the suggested areas at the sub-pixel level.</li><li>This eliminates misalignments produced by pooling rounding and enhances the quality of future mask predictions.</li></ul><p>4. <strong>Classification and Bounding Box Regression</strong></p><ul><li>Mask R-CNN, like Faster R-CNN, conducts classification and bounding box regression for each suggested region.</li><li>To accomplish precise localization, it forecasts the class probabilities for the suggested items and refines the enclosing box coordinates.</li></ul><p>5. <strong>Mask Prediction</strong></p><ul><li>Mask R-CNN adds a parallel branch for predicting instance masks to classification and bounding box regression.</li></ul><p>This branch uses the RoI-aligned features to construct a binary mask for each proposed region using a tiny fully convolutional network.</p><p>The mask represents the object’s pixel-by-pixel segmentation inside the area.</p><p>6. <strong>Training</strong></p><ul><li>Mask R-CNN is taught to do several tasks. The model is optimized to minimize the classification loss, bounding box regression loss, and mask segmentation loss all at the same time.</li><li>The model can learn accurate object classifications, exact bounding box predictions, and detailed object masks because to this cooperative training.</li></ul><p>Mask R-CNN has demonstrated outstanding performance in object detection and instance segmentation tasks.</p><p>It enables pixel-level segmentation of several objects inside a picture, resulting in deep visual comprehension.</p><p>Mask R-CNN is beneficial in a variety of applications, including medical imaging, robotics, and video analysis, where exact object delineation is required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*EKtI0aMRQ698HOXySJsgEQ.png" /></figure><h4>RetinaNet</h4><p>RetinaNet is a cutting-edge object identification method that handles the challenge of successfully recognizing objects at various sizes while also dealing with the issue of class imbalance in training data.</p><p>To achieve high accuracy in object detection tasks, it presents a unique architecture that blends a feature pyramid network (FPN) with a focus loss.</p><p>Here’s a breakdown of how RetinaNet works:</p><ol><li><strong>Feature Pyramid Network (FPN)</strong></li></ol><ul><li>RetinaNet begins with a backbone network that collects features from the input picture, such as ResNet or ResNeXt.</li><li>The FPN is then applied to the backbone network to generate a feature pyramid with feature maps at different sizes.</li><li>These feature maps collect high-resolution features as well as low-resolution contextual information, allowing the model to recognize objects of various sizes.</li></ul><p>2. <strong>Anchor Boxes</strong></p><ul><li>RetinaNet, like other object detection algorithms, generates object suggestions using anchor boxes, which are pre-defined bounding boxes of various sizes and aspect ratios.</li><li>These anchor boxes are positioned at various sizes and places across the feature pyramid.</li></ul><p>3. <strong>Classification and Regression Heads</strong></p><ul><li>For each level of the feature pyramid, RetinaNet employs distinct branches known as the classification head and regression head.</li><li>The classification head forecasts the object-ness score and class probability for each anchor box, showing the existence of an object and its related class.</li><li>To properly localize the object, the regression head predicts alterations to the anchor box coordinates.</li></ul><p>4. <strong>Focal Loss</strong></p><ul><li>RetinaNet uses the focus loss to handle the class imbalance problem, in which the number of background samples vastly outnumbers the number of foreground samples (objects).</li><li>During training, the focus loss gives more weight to hard instances (poorly categorized samples) and less weight to simple examples.</li><li>This concentrating method assists the model in prioritizing and paying more attention to difficult data, boosting detection performance.</li></ul><p>5. <strong>Training</strong></p><ul><li>RetinaNet is trained from start to finish, optimizing both classification and regression tasks with the focused loss.</li><li>Positive and negative samples are allocated during training depending on their overlap with ground truth objects. The model is taught to categorize and localize objects accurately while minimizing focus loss.</li></ul><p>RetinaNet has a number of advantages, including the ability to accomplish object identification tasks in a single stage, removing the requirement for region proposal approaches.</p><p>It excels at identifying objects of various sizes while maintaining excellent accuracy over the full object size range.</p><p>Furthermore, the focused loss mitigates the effect of class imbalance, resulting in increased detection performance.</p><p>RetinaNet has demonstrated its usefulness in numerous applications like as autonomous driving, object identification, and industrial inspection by achieving state-of-the-art performance in object detection benchmarks.</p><p>It is a popular choice for object identification jobs due to its durability, accuracy, and efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-NTqDXLE7dbOz6sw.jpg" /></figure><h4>CenterNet</h4><p>CenterNet is a computer vision method that detects objects by predicting their center points and other attributes.</p><p>It is a single-shot detection technique that uses a KeyPoint-based strategy to accomplish accurate and efficient object detection.</p><p>Here’s an overview of how CenterNet works:</p><ol><li><strong>Keypoint Detection</strong></li></ol><ul><li>CenterNet predicts the center point of each item directly, as opposed to typical object detection systems that depend on bounding box predictions.</li><li>This method streamlines the detection procedure by requiring only the localization of a single point rather than guessing the bounding box coordinates.</li></ul><p>2. <strong>KeyPoint Heatmap</strong></p><ul><li>CenterNet generates a heatmap in which each pixel reflects the likelihood of the presence of a KeyPoint (object center) at that position.</li><li>A convolutional network is used to build the heatmap from the input picture. Each heatmap’s peak indicates the approximate centre point of the relevant item.</li></ul><p>3. <strong>Size and Offset Predictions</strong></p><ul><li>CenterNet predicts extra information for each item, such as the object size and the offset from the center point to the actual bounding box coordinates, in addition to the KeyPoint heatmap.</li><li>This enables for exact item localization and accurate assessment of its size.</li></ul><p>4. <strong>Training</strong></p><ul><li>The heatmap loss, size loss, and offset loss are all used to train CenterNet.</li><li>The heatmap loss penalizes inaccurate KeyPoint location predictions, but the size loss encourages precise size estimates.</li><li>The offset loss guarantees that the projected bounding box matches the genuine object position perfectly.</li></ul><p>5. <strong>Post-processing</strong></p><ul><li>Following the prediction of the heatmap, size, and offset by the network, post-processing techniques are used to construct the final bounding box predictions.</li><li>This entails thresholding the heatmap to identify KeyPoint, regressing the bounding box coordinates using the anticipated size and offset, and utilizing non-maximum suppression to remove redundant detections.</li></ul><p>In terms of object detection, CenterNet has various benefits. By directly predicting object centers, it simplifies and decreases the complexity of the detection process when compared to standard approaches that use vast area proposal networks.</p><p>Because CenterNet delivers excellent localization and size estimates, it is well suited for jobs requiring precise object detection.</p><p>Furthermore, it exhibits strong generalization and efficiency, allowing for real-time inference on a variety of systems.</p><p>In object identification tasks and applications such as pedestrian detection, vehicle detection, and instance segmentation, CenterNet has demonstrated promising results.</p><p>Its ease of use, precision, and speed make it a popular choice for computer vision jobs requiring accurate object localization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*LQfF1cUz_9JFNjT0MwjZaQ.png" /></figure><h4>EfficientDet</h4><p>EfficientDet is a cutting-edge object detection algorithm that strives for a balance of accuracy and efficiency. It presents a scalable and efficient design that achieves greater performance while keeping inference times short.</p><p>EfficientDet is built on the EfficientNet architecture and uses a compound scaling approach to optimize the depth, width, and resolution of the model.</p><p>Here’s an overview of how EfficientDet works:</p><ol><li><strong>Compound Scaling</strong></li></ol><ul><li>To balance the model’s capacity and efficiency, EfficientDet employs compound scaling. It concurrently scales the model architecture in terms of depth, breadth, and resolution.</li><li>EfficientDet improves performance without losing computing efficiency by scaling these dimensions together.</li></ul><p>2. <strong>Backbone Network</strong></p><ul><li>EfficientDet extracts features from an input picture using a strong backbone network, such as EfficientNet.</li><li>The image is richly represented by the backbone network, which captures both low-level and high-level elements.</li></ul><p>3. <strong>Feature Pyramids</strong></p><ul><li>To produce multi-scale feature maps, EfficientDet employs a feature pyramid network (FPN).</li><li>Because of the pyramid shape, the model can recognize objects at various sizes and capture both fine-grained and coarse-grained characteristics.</li><li>The FPN increases detection accuracy and the model’s capacity to handle objects of varying sizes.</li></ul><p>4. <strong>BiFPN</strong></p><ul><li>EfficientDet has a bidirectional feature pyramid network (BiFPN) module that allows information to move between feature pyramid sizes.</li><li>The BiFPN integrates characteristics from different levels and conducts efficient fusion and contextual reasoning.</li><li>It allows the model to gather rich geographical and semantic data, which improves object detection performance.</li></ul><p>5. <strong>Classification and Regression Heads</strong></p><ul><li>EfficientDet divides classification and regression tasks into independent branches.</li><li>The classification head forecasts the probability of object classes, and the regression head forecasts the revised bounding box coordinates for object localization.</li><li>These heads are fitted to the several layers of the feature pyramid to collect features at different sizes.</li></ul><p>6. <strong>EfficientDet-D Variants</strong></p><ul><li>EfficientDet provides many model variations called EfficientDet-D0, D1, D2,…, D7, with increasing model depth and capacity.</li><li>These variations enable customers to select the model that best meets their needs in terms of accuracy and computing efficiency.</li><li>Higher variations often deliver higher performance but need more processing resources.</li></ul><p>EfficientDet has performed well in object detection benchmarks, attaining cutting-edge results in terms of accuracy and speed.</p><p>It finds a compromise between efficiency and efficacy, making it a popular choice for real-world applications requiring both accuracy and rapid inference, such as autonomous driving, surveillance systems, and video object identification.</p><p>Overall, the scalable architecture and compound scaling approach of EfficientDet make it a strong and efficient solution for object detection jobs, enabling accurate and quick identification of objects in a variety of settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*Mty7a4DI-6WBOP6a" /></figure><h4>Deformable DETR</h4><p>Deformable DETR (Detection Transformer) is an enhanced variation of the DETR (Detection Transformer) technique that combines the power of Transformers with the notion of deformable convolution to increase object detection performance.</p><p>Deformable convolution enables the model to alter its receptive field adaptively, allowing for more precise localization and management of object deformations.</p><p>Here’s an overview of how Deformable DETR works:</p><ol><li><strong>Object Detection Transformer</strong></li></ol><ul><li>Deformable DETR employs a Transformer-based architecture for object identification.</li><li>Transformers are particularly good at acquiring global contextual information and modeling links between different input sequence parts.</li><li>The model is fed a picture and produces a set of bounding box predictions as well as class labels.</li></ul><p>2. <strong>Deformable Convolution</strong></p><ul><li>Deformable DETR introduces deformable convolutional layers as compared to normal convolutional layers.</li><li>Deformable convolutions allow the receptive field of each convolutional kernel to be adjusted based on the input data, allowing for more flexible and adaptive modeling of object shapes and spatial structures.</li><li>This deformation feature improves the model’s ability to manage object changes and deformations.</li></ul><p>3. <strong>Backbone Network</strong></p><ul><li>Deformable DETR extracts features from an input picture using a backbone network such as ResNet or similar designs.</li><li>The flexible convolutional layers then analyze these characteristics to gather rich spatial information and adaptively alter the receptive fields.</li></ul><p>4. <strong>Encoder-Decoder Structure</strong></p><ul><li>Deformable DETR, like the original DETR method, utilizes an encoder-decoder structure.</li><li>The encoder analyzes the input features and produces a collection of feature maps.</li><li>The decoder uses these feature maps to recognize objects by focusing on important information and providing bounding box and class predictions.</li></ul><p>5.<strong> Training with Transformers</strong></p><ul><li>A mix of supervised learning and Transformer-based training approaches is used to train Deformable DETR.</li><li>During training, it uses a collection of ground truth bounding boxes and class labels to guide the model’s predictions.</li><li>Using a loss function that encompasses both classification and localization characteristics, the model is trained to minimize the difference between the predicted and ground truth bounding boxes.</li></ul><p>Object detection benefits from the use of deformable DETR. It improves the model’s capacity to handle object deformations and changes by using deformable convolution, resulting in more accurate object localization.</p><p>The Transformer-based design allows for efficient global context modeling, capturing long-range relationships, and boosting overall detection speed.</p><p>Deformable DETR has proved its usefulness in a variety of real-world applications and earned competitive results in object detection benchmarks.</p><p>It provides a strong framework for accurate and resilient object recognition in settings where objects display complex deformations or changes by combining the strengths of Transformers and deformable convolutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d4I64lAX-MbXKaNL" /></figure><h3>Conclusion</h3><p>Computer vision algorithms are like superheroes in the digital age. They have the power to analyze and interpret images and videos, revolutionizing industries and applications.</p><p>YOLO, for example, is like The Flash of object recognition techniques — fast and precise. It transformed the field by developing a method for recognizing and locating objects in photos and videos that’s as quick as a superhero.</p><p>So next time you see a computer vision algorithm at work, just remember.</p><blockquote>it’s a bird, it’s a plane, no — it’s a computer vision algorithm!</blockquote><h4><a href="https://mlearning.substack.com/about">BECOME a WRITER at MLearning.ai</a> //<a href="https://open.substack.com/pub/mlearning/p/free-to-create-free-to-learn-a-new-ai-tools?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">Try These FREE ML Tools Today!</a></h4><p><a href="https://medium.com/mlearning-ai/mlearning-ai-submission-suggestions-b51e2b130bfb">Mlearning.ai Submission Suggestions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8c9b31888d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thedeephub/from-pixels-to-insights-f8c9b31888d6">Top Computer Vision Algorithms</a> was originally published in <a href="https://medium.com/thedeephub">The Deep Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.ipynb vs .py]]></title>
            <link>https://enosjeba.medium.com/ipynb-vs-py-9d17fbce6669?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d17fbce6669</guid>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Fri, 02 Jun 2023 19:51:05 GMT</pubDate>
            <atom:updated>2023-06-18T08:15:19.660Z</atom:updated>
            <content:encoded><![CDATA[<h3>.ipynb vs .py</h3><p>Which one to choose?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oLCVijNdSU1iH20VW2HI7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*30Q_mvpS7qTw07GJ.png" /></figure><p>It Depends. What is it that we are trying to achieve. Python is a interpretive language and it makes quick answers possible. .ipynb files manage to exploit this perks at it’s best. However we see .py are also effective to use. It’s ability to run all the code at once also benefits us in some way. Let’s first see what both the methods are offering.</p><h3>.py File</h3><ul><li>The codes in .py file executed in a single run.</li><li>.py files are easy to transfer to multiple platforms.</li></ul><h4>Ideal Situation</h4><ul><li>To build a script-based process and run it whenever you want.</li><li>To execute a process where every step is clear and known.</li><li>To build modules</li></ul><p><a href="https://enosjeba.medium.com/how-to-see-like-a-machine-c06b652c2b9f">How to See Like a Machine</a></p><h3>.ipynb</h3><ul><li>Codes can be executed one by one.</li><li>Will need Jupyter plugin support to run.</li></ul><h4>Ideal Situation</h4><ul><li>To build an experimental solution</li><li>Approach where you are not sure of the outcome, and you want to change or update parameters at every step.</li><li>Experimental Work</li></ul><blockquote>Another Important feature of .ipynb is it can make your code in a presentable format for non-coders. You can add styled titles and make your code in a blog format which can explain all the steps along the way with diagrams etc.</blockquote><p>As we can see clearly both of them are good in their own ways. So, what does it depend on for you to make the right choice? The answer is <strong>“Nature of the Task and how you will be approaching it.”</strong></p><p>Task can be <strong>modular</strong>, which means the code knows where exactly to fit and what to do. Task like building a section of a software or a part of another code can be categorized under Modular Task’s.</p><p>Then there is also <strong>Experimental </strong>Tasks where the next step is dependent on the previous step and there is no fix flow for the execution of code. Task like training a Neural network fall under this category.</p><p><a href="https://enosjeba.medium.com/computer-vision-62b6acaf9dba">Computer Vision</a></p><h3>The golden rule is to balance both.</h3><p>When creating a model or let’s say we are testing a new logic for our code, It’s better to use .ipynb as we would be running the same code again and again. The nature of the task would be repetitive as we are experimenting with different possible scenarios.</p><p>When you are done with your experimentation and confident with your new logic you can transfer it to a python file and make it run as a normal python program.</p><p>I usually train my model with .ipynb modes and once I am confident with the preprocessing and network layers I convert them to a py file and keep it as a template.</p><p>Now whenever I get a new data, I basically change the input parameters and just train a new model with just a few click. This did save me time in the longer run as you cannot go executing cell by cell for every new data you get.</p><p><em>Yes there is a button to run all, Still a script file seemed more robust as I could move it across deployment systems which just has python and no additional packages installed.</em></p><p><a href="https://enosjeba.medium.com/machine-learning-in-health-care-410d9c1bf2f5">Machine Learning in Health Care</a></p><h3>Conclusion</h3><p>If you are working on a data analysis or machine learning project that requires a lot of interactive exploration and visualization, then .ipynb files are a great choice. They allow you to write code and see the results in the same document, as well as share your findings with others easily.</p><p>However, if you are working on a software development project that requires a more structured and modular approach, then .py files are better suited. They allow you to write reusable and testable code that can be run from the command line or imported by other modules.</p><p>Of course, you can also use both types of files in the same project, depending on the task at hand.</p><p>The bottom line is: there is no one right answer, but rather a trade-off between convenience and flexibility. Choose the file type that best suits your needs and preferences, and</p><h3>Happy Coding :)</h3><h4><a href="https://mlearning.substack.com/about">BECOME a WRITER at MLearning.ai</a> // <a href="https://open.substack.com/pub/mlearning/p/ai-factories-guide-next-intelligence-how-to-use?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">AI Factory</a> // <a href="https://open.substack.com/pub/evartology/p/super-cheap-ai-llm-one-person-startups-examples?r=9hp4d&amp;utm_campaign=post&amp;utm_medium=web">Super Cheap AI.</a></h4><p><a href="https://medium.com/mlearning-ai/mlearning-ai-submission-suggestions-b51e2b130bfb">Mlearning.ai Submission Suggestions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d17fbce6669" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to See Like a Machine]]></title>
            <link>https://medium.com/thedeephub/how-to-see-like-a-machine-c06b652c2b9f?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/c06b652c2b9f</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Sat, 27 May 2023 14:40:02 GMT</pubDate>
            <atom:updated>2024-03-30T19:35:26.179Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to See Like a Machine ?</h3><p>A Guide to Computer Vision Tools</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*baDdFKWjstEmY5kqLcrkRA.png" /></figure><p>Hello and welcome to my blog on computer vision tools! If you are like me, you love playing with images and videos and making them do cool things. Maybe you want to detect faces, recognize objects, apply filters, or create deepfakes. Whatever your goal is, there is a tool for you. In this blog, I will introduce you to some of the most popular and powerful computer vision tools that you can use to unleash your creativity and have fun. Let’s get started!</p><p><strong><em>Note : This blog is more biased towards python as it is the language most developers use to get started in computer vision.</em></strong></p><h3>Hardware tools</h3><h4>Camera</h4><p>This could be a simple USB Camera, Webcam, Depth sensing camera, CCTV or anything as per the requirements of your task</p><h4>Edge Device</h4><p>Devices such as Nvidia Jetson etc. if available or required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1yc8vfynyFYHtl6D.jpg" /></figure><h3>Workflow tools</h3><p>To make sure you finish your task smoothly, it’s good to make your goal clear. This essentially means writing down the steps you are going to take, and deadlines associated with so that you are not wasting your time.</p><p>By doing this step your mind will be clutter free and focus only on working on the task at hand.</p><h4>Notepad</h4><p>Physical notepad to basically draw a rough outline before starting. <em>There is something about sketching it out and starting from there.</em></p><h4>Excel</h4><p>To keep track of time, deadlines, task status or additional workflow enhancement features. <em>You can skip excel if you use notion as the same work can be blended totally into one page.</em></p><h4>Notion</h4><p><em>Access </em><a href="https://enosjeba.notion.site/Model-Training-Stats-8997a7defd134a93bb47d8da57189790?pvs=4"><em>here</em></a></p><p><a href="https://enosjeba.notion.site/Model-Training-Stats-8997a7defd134a93bb47d8da57189790?pvs=4">Model Training Stats</a></p><p>It is a good tool to quickly type notes or random ideas which occur. Moreover It is structured by providing multiple styles, formats of the imformation you want to add including picutures, Boards and many other methods</p><p>The important tool I use is Tables. I use it to keep track of my model training (Advance Step mentioned below). Since I will be experimenting with multiple datasets, It’s easy to get lost of which model performed how.</p><p><a href="https://www.notion.so/Model-Training-Stats-8997a7defd134a93bb47d8da57189790?pvs=4">Here </a>is a template you can take reference of</p><h4>Draw.io</h4><p><em>Access </em><a href="https://app.diagrams.net/"><em>here</em></a></p><p>The most important tool. I have never started a project without mind mapping the idea’s. You can add 100 layers of thoughts on your head on how your solution might work but keep it on diagrams with interconnected boxes makes a whole lot of impact.</p><p>You also have other alternatives for this such as miro and Excalidraw.</p><p><a href="https://enosjeba.medium.com/computer-vision-62b6acaf9dba">Computer Vision</a></p><h3>Stepping in tools</h3><h4>Ubuntu</h4><p>Ubuntu has several advantages over other OS for computer vision, such as:</p><ol><li>Ubuntu is free and customizable and Unlike proprietary OS like Windows or Mac OS, Linux does not require any license fee or activation code to use.</li><li>Linux users can also modify the source code of the OS to suit their needs and preferences. <em>(Highly useful for deployments)</em></li><li>Linux can run on various types of computers, from desktops and laptops to servers and embedded systems.</li><li>Linux also supports many types of cameras, sensors, and GPUs that are essential for computer vision tasks.</li></ol><h4>Python / C++</h4><p>The programming language to compose our solution and make it work.</p><p><strong>Why Python?</strong></p><ol><li><strong>Easy to Use:</strong> Python is easy to read and write, which makes it suitable for beginners and experts alike.</li><li><strong>Many Libraries: </strong>Python has many libraries and frameworks <em>(We will be looking some of them below)</em> that provide ready-made solutions for common computer vision tasks, such as image processing, face detection, object recognition, and deep learning.</li></ol><p><strong>Why C++?</strong></p><ol><li><strong>Performance: </strong>C++ is well-known for its rapid execution speed and resource efficiency. This is critical for computer vision jobs that need real-time processing and precision. C++ also provides direct access to low-level features like pointers and bitwise operations, which can improve the efficiency of algorithms and data structures.</li><li><strong>Portability</strong>: C++ is a cross-platform language that can run on different operating systems and architectures. This makes it easier to deploy computer vision applications on various devices and platforms, such as desktops, mobiles, embedded systems, and cloud servers.</li></ol><p>If you are new to programming, you can get started with Python as it is easy to learn, however since C++ offer’s more resource management features you might have to use C++ at the later end of your career based on the need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*-orlpRNK5kP_tz9a.jpg" /></figure><h3>Text Editors or IDE</h3><p>A simple tool to write codes.</p><h4><strong>VsCode</strong></h4><p><em>Download </em><a href="https://code.visualstudio.com/"><em>here</em></a></p><p>Visual Studio Code is a lightweight yet capable source code editor for Windows, macOS, and Linux that runs on your desktop.</p><p>It has built-in support for JavaScript, TypeScript, and Node.js, as well as a robust ecosystem of extensions for additional languages and runtimes (including C++, C#, Java, Python, PHP, Go, and.NET).</p><h4><strong>Sublime Text</strong></h4><p><em>Download </em><a href="https://www.sublimetext.com/"><em>here</em></a></p><p>Sublime Text is a powerful text editor with many features to help make coding easier. It has a clean and easy-to-use interface that makes it an excellent choice for both beginners and experienced developers. One of the best things about Sublime Text is its vast ecosystem of plugins and themes that can be used to customize the editor to your liking.</p><p>You can check out more options <a href="https://phoenixnap.com/kb/best-linux-text-editors-for-coding">here</a></p><p><em>Code editors completely comes down to personal preference. You can try different tools and see which one works best for you.</em></p><h3>Moving along</h3><p>Let’s explore libraries which can get the job done.</p><h4><strong>Opencv</strong></h4><p>OpenCV is a powerful open-source library for computer vision and image processing. It can be used to perform various tasks such as face detection, object recognition, image stitching, video analysis and more. OpenCV has interfaces for C++, Python and supports multiple platforms such as Windows, Linux, Android and iOS.</p><p>Opencv opens up the possibility to take camera input feed and perform further analysis on the video / image. It also has multiple camera setting functionality which can be used to adjust color parameters of the image input.</p><h4>Pillow</h4><p>Pillow is a Python library that allows you to manipulate and process images in various ways. It is a fork of the Python Imaging Library (PIL), which was discontinued in 2011. Pillow supports many image formats, such as PNG, JPEG, GIF, TIFF, and BMP. It also provides features such as cropping, resizing, rotating, filtering, drawing, and adding text to images.</p><h4>Numpy</h4><p>NumPy is a Python library that provides tools for working with numerical arrays, including images. In computer vision, images are often represented as NumPy arrays, where each pixel corresponds to a value or a vector of values. For example, a grayscale image can be stored as a 2D array of integers from 0 to 255, where 0 is black and 255 is white. A color image can be stored as a 3D array of integers from 0 to 255, where each pixel has three values for the red, green and blue channels.</p><p>By using NumPy arrays to store images, we can perform a wide range of operations on them, such as resizing, cropping, filtering, transforming, and more. NumPy also offers various functions and methods for manipulating arrays, such as slicing, indexing, broadcasting, and linear algebra. These features make NumPy a powerful and versatile tool for computer vision applications.</p><p><a href="https://enosjeba.medium.com/machine-learning-in-health-care-410d9c1bf2f5">Machine Learning in Health Care</a></p><h3>Advancing tools</h3><p>Deep learning frameworks are software libraries that provide tools and functionalities for developing and deploying deep learning models. Deep learning frameworks are widely used in computer vision, which is the field of artificial intelligence that deals with understanding and analyzing visual data such as images and videos.</p><h4>PyTorch</h4><p>An open-source framework developed by Facebook that is based on the Torch library. PyTorch is known for its dynamic computational graph, which allows users to modify the network structure at runtime. PyTorch also supports distributed training, automatic differentiation, and various pre-trained models.</p><h4>TensorFlow</h4><p>An open-source framework for machine learning and deep learning. It was developed by Google and released in 2015. TensorFlow allows users to create, train, and deploy neural networks and other models on various platforms, such as CPUs, GPUs, TPUs, and mobile devices. TensorFlow supports a variety of programming languages, such as Python, C++, Java, and Swift. TensorFlow also provides tools and libraries for data processing, visualization, debugging, and optimization.</p><p>These two are the most popular frameworks as of mid 2023.</p><h3>Nearer to goal</h3><h4>Matplotlib</h4><p>Matplotlib is a popular Python library for creating and customizing various types of plots and graphs. You can also be used for visualizing deep learning training processes, such as loss curves, accuracy curves, confusion matrices, and more.</p><h4>Netron</h4><p>This is another tool you might be using when you are almost done with training. Netron is a tool that allows you to visualize and explore neural network models. It supports many popular formats, such as TensorFlow, PyTorch, ONNX, Keras, and Caffe. With Netron, you can inspect the structure, parameters, and metadata of your models, as well as export them to other formats.</p><p><em>Netron is open source and available for Windows, Mac OS, Linux, and web browsers.</em></p><h3>Out of the way tools</h3><h4>Obs</h4><p>Open broadcast software is used for live streaming videos to online streaming services like YouTube. Obs has some features which will be helpful for computer vision task</p><ul><li><strong>Create Database</strong> Obs has a pretty good recording engine which can help us collect data once we connect it with the camera</li><li><strong>Test Camera Inputs</strong> Obs also can get camera streams from your NVR camera’s as well as other methods of inputs such as USB. Since it is plug and view, testing cameras becomes easy</li></ul><h4>Ubuntu Image Viewer</h4><p>This is a nitpick. Ubuntu image viewer displays coordinates of mouse hovering it, which is useful in some situation such as placing a text on a specific part of the image or cropping a exact section of image.</p><h4>VLC effects panel</h4><p>We all are familiar with VLC video player, The first media player we install on a new pc. VLC is packed with plenty of hidden features. VLC’s control panel provides features such as</p><ul><li><strong>Making Short Clips</strong> You can make short version of your long videos by recording just a part of it.</li><li><strong>Image Effects</strong> You can change contrast, brightness etc and see if you can make your data more clearer for details or some other purpose as well. Once you are okay with the effect replicate the same effect in opencv and you can try these effects in just few button clicks, It will save you tons of time trying different methods via opencv.</li></ul><h4>Video Editors</h4><p>Video editors have a good user experience when it comes to taking the important part of the video. This will be helpful for us when there is a long video and we just want to extract the essential part to train our model.</p><h3>Task Dependent tools</h3><p>Tools which is used to do some specific tasks</p><h4>LabelImg</h4><p>LabelImg is a popular annotation tool.</p><p>Image annotation is a process of labeling images with relevant information, such as objects, regions, or landmarks. Image annotation is essential for training computer vision models, which can perform tasks like image classification, object detection, and image segmentation. Image annotation can be done manually by human annotators, or with the help of automated tools that use computer vision algorithms.</p><h4>CUDA</h4><p>An open-source project by NVIDIA that enables GPU-accelerated processing pipelines for image pre- and post-processing. CUDA provides high-performance computer vision and image processing operators that can help you achieve higher throughput. CUDA also offers easy integration with deep learning frameworks like PyTorch and TensorFlow, as well as examples of end-to-end object detection, segmentation, and classification applications.</p><p><a href="https://medium.com/mlearning-ai/the-python-planet-simulation-a474c7817f10">The Python Planet Simulation</a></p><h3>Conclusion</h3><p>Computer vision is a fascinating and powerful field that can help you solve many real-world problems.</p><p>But before you go and start building your own computer vision applications, there are a few things you should keep in mind. Here are some tips and best practices for using computer vision tools effectively:</p><p><strong>Choose the right tool</strong> for the right task. Different tools have different strengths and weaknesses, so you should always evaluate your requirements and goals before picking a tool.</p><p><strong>Learn the basics of computer vision theory</strong>. While computer vision tools can make your life easier, they are not magic. You still need to understand how they work and what they can and cannot do.</p><p><strong>Experiment with different parameters and settings</strong>. Computer vision tools often have many options and parameters that can affect the performance and accuracy of your results. You should always try different combinations and see how they affect your output.</p><p><strong>Evaluate your results </strong>objectively. Computer vision tools can produce impressive results, but they are not perfect. You should always test your results on different datasets and scenarios, and compare them with other methods or benchmarks. You should also use appropriate metrics and criteria to measure the quality and accuracy of your results.</p><p>I hope you enjoyed this blog on computer vision tools and learned something useful along the way. Computer vision is a fun and rewarding field that can open up many possibilities for your projects and career. So don’t be afraid to dive in and start creating amazing computer vision applications!</p><h3>Happy coding! 😎</h3><h4><a href="https://mlearning.substack.com/about">BECOME a WRITER at MLearning.ai</a> // <a href="https://open.substack.com/pub/mlearning/p/ai-factories-guide-next-intelligence-how-to-use?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">AI Factory</a> <a href="https://open.substack.com/pub/mlearning/p/new-career-xr-vr-ar-reality-pro-headset-jobs-3d?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">XR</a> <a href="https://open.substack.com/pub/evartology/p/super-cheap-ai-llm-one-person-startups-examples?r=9hp4d&amp;utm_campaign=post&amp;utm_medium=web">Super Cheap AI</a></h4><p><a href="https://medium.com/mlearning-ai/mlearning-ai-submission-suggestions-b51e2b130bfb">Mlearning.ai Submission Suggestions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c06b652c2b9f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thedeephub/how-to-see-like-a-machine-c06b652c2b9f">How to See Like a Machine</a> was originally published in <a href="https://medium.com/thedeephub">The Deep Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things I wish I knew before I started.]]></title>
            <link>https://pub.towardsai.net/computer-vision-62b6acaf9dba?source=rss-c1c41d2d53fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/62b6acaf9dba</guid>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Enos Jeba]]></dc:creator>
            <pubDate>Sun, 21 May 2023 15:46:17 GMT</pubDate>
            <atom:updated>2024-03-31T05:14:22.024Z</atom:updated>
            <content:encoded><![CDATA[<h3>Things I wish I knew before I started computer vision</h3><p>Python will not save you!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qjNd7ompC_-riAzb4c1fAw.png" /></figure><blockquote>Computer Vision is where you see the world with your eyes and explain it to a computer and make it look at the world the same way that you do.</blockquote><p><strong>Computer vision</strong> is a fascinating and diverse field of research that has applications in many domains. It is the <strong>science of making computers understand and interpret visual information</strong>, such as images, videos, and scenes. Computer vision is special because it combines aspects of different disciplines, such as mathematics, physics, psychology, and engineering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KXw-ocaN4OG9xXnt.png" /></figure><p>Some of the subfields of computer vision are:</p><blockquote><strong>Image processing</strong> the manipulation and enhancement of images, such as filtering, compression, segmentation, and restoration.</blockquote><blockquote><strong>Object recognition</strong> the identification and classification of objects in images or videos, such as faces, cars, animals, or text.</blockquote><blockquote><strong>Scene understanding</strong> the analysis and interpretation of complex scenes, such as indoor or outdoor environments, events, or activities.</blockquote><blockquote><strong>Computer graphics</strong> the creation and rendering of synthetic images or animations, such as 3D models, virtual reality, or augmented reality.</blockquote><blockquote><strong>Machine learning </strong>the use of algorithms and data to learn patterns and make predictions or decisions, such as deep learning, neural networks, or reinforcement learning.</blockquote><p>Computer vision is a <strong>challenging </strong>and <strong>exciting </strong>field that requires <strong>creativity </strong>and <strong>innovation</strong>. It has many <strong>potential benefits for society</strong>, such as improving security, health care, education, entertainment, and more. Computer vision is also a rapidly evolving field that offers<strong> new opportunities</strong> and <strong>challenges </strong>for researchers and practitioners.</p><p><em>The spot where computer vision exactly scratches the itch (Diagram Below) is explained by Michigan Online in one of their class, Watch </em><a href="https://www.youtube.com/watch?v=dJYGatp4SvA&amp;ab_channel=MichiganOnline"><em>here</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RicdLtUt-KVF5lec.jpg" /><figcaption><a href="https://www.youtube.com/watch?v=dJYGatp4SvA&amp;ab_channel=MichiganOnline">Lecture 1: Introduction to Deep Learning for Computer Vision — YouTube</a></figcaption></figure><p>Entering such a field was thrilling. It was like thinking from numerous perspectives at the same time, like going on multiple water rides at the same time.<br><strong>A little about myself I have a bachelor’s degree in computer science, so I have some knowledge of coding and how it works, even though I never practiced coding throughout my undergraduate years since I was too involved with other creative endeavors.</strong> After finishing my bachelor’s degree, I pursued a master’s degree in data science to discover what was new in the field. I had a strong desire to be unique, and this was a new subject at the time, with just a few individuals enrolled, which piqued my interest, so I chose it.</p><p>I was exposed to Computer Vision in the last semester, and part of me believed that was the professional route for me. So, after some time in the field, here are some things I wish I had known.</p><h4>Python may not save you.</h4><p>This is only related to specified usage circumstances. Python was the craze when I first began out, and because I wasn’t into coding much, Python offered simple steps for me to get started. It was simple to grasp, so I stopped investigating other languages and concentrated solely on Python. <em>Again what I am about to say is that this is limited to a few use scenarios.</em></p><p>It was time for deployment after a while of getting my hands dirty by building models and training neural networks using various datasets. I was really looking forward to this stage. I like deployments for some reason; it’s like offering your light to the rest of the world to utilize. I was mistaken about how simple I assumed this would be compared to the other stages. You will need to examine a number of real-world criteria to ensure that your solution does not stop and continues to function properly. The icing on the cake is that computer vision deployment occurs mostly on edge devices. Edge Devices are tiny computers with some GPU memory. Because of their compact factor, it may be placed practically anywhere, making them widely employed in a variety of industries. Because these gadgets are compact, their processing units and memory will be as well. So, assuming you successfully trained on your RTX or Quadro GPU, you must now optimize your solution to work on the edge device.</p><p>Python runs well on this device; nevertheless, C++ or C would give additional optimization options. Nvidia CUDA libraries, as well as other key libraries like openCV and Tensorflow, are developed in C. Using C gives you direct access to memory, allowing you to make use of multi-threading and other optimization capabilities. Python, in my opinion, is still useful for model training/construction owing to its interpretative nature, but when it comes to deployment, C or C++ offers more.</p><h4>An Idea about the Business / Industry domain would help you.</h4><p>This is for the “I want to save the World” part of you. We can never fall short of How many problem solvers we need in this world. If you can look at a problem with your eyes and come up with a computer vision algorithm to solve it, you are a Hero. You can easily sell the solution or make it available to the real world, making a huge difference in people’s lives. Many industries are also stuck with methodologies, and they would surely like your help with computer vision.</p><p>For example, If you want to integrate machine learning into healthcare industry here’s how you would do it!</p><p><a href="https://enosjeba.medium.com/machine-learning-in-health-care-410d9c1bf2f5">Machine Learning in Health Care</a></p><p>Counting people, examining traffic, AR filters, Face Recognition, every algorithm solves a real-world problem and. Computer vision is a somewhat complex field; many real-world problems are yet to be solved, and most part of them will benefit much from the addition of computer vision. If you have just thought about that idea, I would recommend that you pursue it.</p><h4>No one knows the whole thing.</h4><p>It is a field that forms a line across many other fields. As a result, no one can ever fully comprehend how everything works. Everyone has a basic understanding of how the world works and can use that knowledge to address the problem at hand, whereas someone in another part of the world is doing the same thing but with a different difficulty.</p><p>Whatever problem we choose, there is always something new to learn, which brings me to my next point.</p><h4>It may seem like a forever learning</h4><p>At every stage of the project, there is so much to learn. You may be thinking and learning about multiple parameters involved in the real world, simulating a possible blockage for your solution and then finding a patch for it, and then going about learning how exactly things work in the real world to modify your solution to yield a better result. It’s learning, learning, learning. It’s Learning, learning, learning.</p><h4>You need a Phd</h4><p>I’m not sure about this. The current situation does not qualify me to respond to this, but I will certainly update it here, or this may be a chance for you to drop a comment on in and inspire others.<br>I believe that coding and deep learning skills can get you started in your career, but I have seen many job postings that require a PhD, so I included this point.</p><h4>At the end</h4><p>If you enjoy thinking about several topics and combining knowledge from other disciplines to find a solution, this may be the field for you.</p><blockquote>It’s exciting. It’s Awesome. Be prepared to learn more.</blockquote><p><em>If you are inspired and want to get started with computer vision, here are a bunch of tools you should keep.</em></p><p><a href="https://enosjeba.medium.com/how-to-see-like-a-machine-c06b652c2b9f">How to See Like a Machine</a></p><h4><a href="https://mlearning.substack.com/about">BECOME a WRITER at MLearning.ai</a> // <a href="https://open.substack.com/pub/mlearning/p/ai-factories-guide-next-intelligence-how-to-use?r=z7zu8&amp;utm_campaign=post&amp;utm_medium=web">AI Factory</a> // <a href="https://open.substack.com/pub/evartology/p/super-cheap-ai-llm-one-person-startups-examples?r=9hp4d&amp;utm_campaign=post&amp;utm_medium=web">Super Cheap AI.</a></h4><p><a href="https://medium.com/mlearning-ai/mlearning-ai-submission-suggestions-b51e2b130bfb">Mlearning.ai Submission Suggestions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62b6acaf9dba" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/computer-vision-62b6acaf9dba">Things I wish I knew before I started.</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>