Classicdude1's Posts
Nairaland Forum › Classicdude1's Profile › Classicdude1's Posts
Do you know OpenCV, Machine Learning and Image Processing and you find it difficult to come up with cool amazing projects? Today’s guest, Dibakar Saha(a.k.a EvilPort) talks about his image processing and machine learning projects. Basically, he is a beginner in Python with experience in Image Processing and a little bit in machine learning. He has designed a very simple classification programs like spam detection and sentiment analysis using machine learning in Python. Using image processing he has also designed a very simple gesture recognition system. He has also designed a gesture-driven keyboard. And presently he is working on an app that he calls NFS Most Wanted 2013 Remote, that can control the cars in the game using your phone’s accelerometer. In this interview, EvilPort was able to share his programming experience, he gave an insight of how he overcame the difficulty of coming up with amazing projects, and less I forget; He also revealed some tips that will help a lot of programmers out there, especially the newbies. below is the link to the post. https://coolpythoncodes.com/image-processing-projects-using-python/ Here are demo videos of his projects. https://www.youtube.com/watch?v=Yv-3u5VXOQ4 https://www.youtube.com/watch?v=idDlAN4Fvnw https://www.youtube.com/watch?v=Y_cCCBfsAFE https://www.youtube.com/watch?v=tUEILQhkzAY |
Here are photos of projects done by Michael Tesař. To learn more go to the link below. http://coolpythoncodes.com/interview-michael-tesar/
|
Knowing Artificial intelligence, Machine learning and data science is great. But coming up with useful projects can be a bit tough. Today’s guest, Michael Tesař, has done a lot of projects and he shares some of them with me. my favourite is the colour recognizer program he wrote. This program identifies the colour of objects placed near the webcam. Here's a description of the project: This is my neuronal network playground. I began to learn some machine learning libraries for Python and I wanted to do some meaningful project. I mean, we all start with Iris flower and Mnist dataset. I desired to do as much as I could do by myself to understand what is under the hood in those example codes. ColorRecognizer has only one goal, to identify the colour presented to a web camera. I use Python 3.6, OpenCV2 and Scikit-learn library under the macOS 10.13. Idea is to connect web camera to GUI with OpenCV2 which is essentially pretty simple and straightforward. Then I calculate an average value for R, G, and B for my screen (height x width). One hook is that OpenCV2 uses BGR format, so you have to keep that in mind. Each time you run the program, a new session is started with training dataset and trained model loaded into the system. If you run it for the first time it will automatically build it for you. Maybe you’re asking, how does the computer know which colour is which? This is up to the user to teach it (since it is machine learning). You have to annotate some frames with the colour. The user can do it by pressing keyboard (k for black, w for white, r for red etc.). I have run about 1500 training sets and each time you close the app you also save your classification model and your annotation. It means it is basically smarter with every new session (in case you show something new to the computer). Even though I use a very elementary algorithm called Decision Tree Model, you can see on demo video that is quite accurate when the screen is filled with some colour. Here is a demo of the project below: https://www.youtube.com/watch?v=TWWwcGvJ_u0 Currently, I am working on a new deep learning version to learn a bit from image processing with TensorFlow. This time I won’t compute the mean of R, G, and B value – eventually, the computer would learn by itself (i.e. we will only care about the main colour on screen). It has its own limits in adding new colours. Every time you have to teach it manually. I mean, you have to tell it that we have a new colour, its name and show some samples. Since I use usual web camera, I cannot recognize smaller nuances in colours due to lighting, brightness and saturation setup. It still has some problem to recognize red from orange in bad lighting. So if you want to find out how Michael Tesař overcame the challenge of coming up with smart projects I suggest you read more here. http://coolpythoncodes.com/interview-michael-tesar/ |
When it comes to Python books for people with little or no programming experience I recommend: Python_tutorial from Tutorials point. It is where you can learn Python from scratch. Their PDF book is free to download and I provided the link to download it in this post. The book is based on Python version 2.X and there are no much projects to practice. It just teaches the basics of Python and if you are devoted you will learn Python version 2.X syntax quickly. Fundamentals of Python: First Programs is another great book but it is still based on Python version 2.X. I prefer this book to Python_tutorial because it has projects you can practice. I recommend you read the two books side by side. Starting Out with Python- Second Edition is for Python version 3.X. I recommend you start learning the latest version of Python version which is Python 3.6. This book is really great and I recommend you get it. Here is a bonus book, Automate the Boring Stuff with Python is a book by Al Sweigart. In Automate the Boring Stuff with Python, you’ll learn how to use Python to write programs that do in minutes what would take you hours to do by hand. It is a great book. For more recommendation go to http://coolpythoncodes.com/best-python-books/ |
Knowing data science/programming is great, but getting a job at it can be quite a challenge. Today I have a special guest(Michael Galarnyk) and he is going to reveal proven techniques and strategies of getting data science jobs even when you are nobody in the industry. If you are tired of Fiveer http://coolpythoncodes.com/first-data-science-job/ |
You already know that one of the ways of improving your skills as a programmer is to contribute to open source projects. But how do you contribute to open source projects even when you are not an experienced programmer? What is also the best way to handle bugs in an open source project? Well, that’s exactly what I’m going to share with you in today’s interview blog post and much more. Today’s guest is Julien Danjou, and he has contributed to the largest open source project in Python( OpenStack). He is also the author of the book, The Hacker’s Guide to Python. Here is a piece of the interview: Godson: What do you mean when you say you hack with Python? Julien Danjou: Unfortunately, most people refer to hacking as the activity of some bad guys trying to get access to whatever they’re not supposed to see. In the book title, I mean “hacking” as the elegant way of writing code and making things worse smoothly even when you were not expecting to make it. Godson: How can a programmer without much experience contribute to open source projects? Julien Danjou: The best way to start is to try to fix something that irritates you in some way. It might be a bug, it might be a missing feature. Start small. Don’t try big things first or you could be discouraged. Never stop. Also, don’t plunge right away in the community and start poking random people or spam them with questions. Do your homework, and listen Do your homework, and listen to the community for a while to get a sense of how things are going. That can be joining IRC and lurking or following the mailing lists for example. Big open source community dedicate programs to help you become engaged. It might be worth a try. Generic programs like Outreachy or Google Summer of Code are a great way to start if you don’t feel confident enough to jump by your own means in a community. Godson: How does a team of programmers handle bugs in a large open source project? Julien Danjou: I wish there was some magic recipe, but I don’t think it’s the case. What you want is to have a place where your users can feel safe reporting bugs. Include a template so they don’t forget any details: how to reproduce the bugs, what they expected, etc. The worst thing is to have users reporting “That does not work.” with no details. It’s a waste of time. What you want is to have a place where your users can feel safe reporting bugs. Include a template so they don’t forget any details: how to reproduce the bugs, what they expected, etc. The worst thing is to have users reporting “That does not work.” with no details. It’s a waste of time. What tool to use to log all of that really depends on the team size and culture. Once that works, the actual fixing of bug doesn’t follow any rule. Most developers fix the bug they encounter or the ones that are the most critical for users. Smaller problems might not be fixed for a long time. To read more, kindly follow this link: http://coolpythoncodes.com/julien-danjou/ |
Meet 15-year-old Nigerian youngest app developer Chiziaruhoma Ogbonda. He has developed 3 apps which are on the google app store. Chiziaruhoma Ogbonda is currently preparing for his Post UTME and we wish him success. Here are some screenshots of his work. To read more about him, go to the link below. http://coolpythoncodes.com/meet-nigerian-youngest-app-developer-chiziaruhoma-ogbonda/
|
We all hate when we have to stay up all night or work for days just to find bugs in our code. This is very annoying.� So what's the best way to debug? I talked to Patrick Triest, and he shared how he handles bugs to meet up deadlines. The first is to avoid the “I’ll do the hacky solution now and fix it later” mentality. It is always much more time-efficient to do it right the first time, since the hacky solutions rarely get fixed “later”, and are likely to cause major issues (in the form of bugs, poor performance, and developer productivity) down the road. The second piece of advice is to utilize TDD (test-driven-development) or BDD (behavior-driven-development). Including a test suite with your code (and ideally writing tests *before* writing the code itself), is a great way to catch bugs early on, and will provide some assurance that future code updates don’t break existing functionality. The third piece of advice is “take your time”. Make sure that you understand the code you are writing. Do thorough research instead of making guesses on the correct way to do something. Don’t be afraid to take a few hours to refactor your code structure. And the final tip is: Always add comments. An hour spent polishing your code today can save multiple days of work in six months. What's your take? |
Today, you will meet someone that knows so many computer programming languages. From Atari BASIC, Modula-2, Fortran, Cobol, Ada to the modern ones like Python, Java, Perl, PHP etc. Guess what, He started when he was 8 years old and by 10, he was coding games. Clifford John Hill is a father, husband, software developer, and a geek in programming. Cliff, like Margaret Hamilton, is an inspiration to computer programmers. Discovers how he still remembers the syntax of different programming languages. http://coolpythoncodes.com/many-computer-programming-languages/ |
I love this kid... See his english. |
you can learn Python at www.coolpythoncodes.com |
This is nice |
Do you know that, One great thing about being a programmer is that there are plenty of opportunities to make money remotely, from anywhere in the world. But How can you find those opportunity to travel around the world and still make money? Don't bother to ask or ponder again. Patrick Triest, a digital nomad will tell you how you can travel the world and still make money as a programmer. Find out how to work remotely as a programmer via the link below. http://coolpythoncodes.com/digital-nomad-patrick-triest/
|
Please if you are good or learning Python Turtle graphics, Here's a simple repo on github. Free feel to contribute https://github.com/Classicdude1/control-turtle-with-keyboard |
SetrakusRa:Thanks boss. |
ZestAri:Yeah... Python is very famous. easy to learn and you can write complex programs with it. |
Okay Sir |
Please, I want you to review my Python Blog.... Please tell me what I can do to improve the blog. www.coolpythoncodes.com |
I also prepared some awesome Python tutorials at www.coolpythoncodes.com |
When it comes to Python books for people with little or no programming experience I recommend: Python_tutorial from Tutorials point. It is where you can learn Python from scratch. Their PDF book is free to download and I provided the link to download it in this post. The book is based on Python version 2.X and there are no much projects to practice. It just teaches the basics of Python and if you are devoted you will learn Python version 2.X syntax quickly. Fundamentals of Python: First Programs is another great book but it is still based on Python version 2.X. I prefer this book to Python_tutorial because it has projects you can practice. I recommend you read the two books side by side. Starting Out with Python- Second Edition is for Python version 3.X. I recommend you start learning the latest version of Python version which is Python 3.6. This book is really great and I recommend you get it. [b]Here is a bonus book, [/b]Automate the Boring Stuff with Python is a book by Al Sweigart. In Automate the Boring Stuff with Python, you’ll learn how to use Python to write programs that do in minutes what would take you hours to do by hand. It is a great book. I love the book a lot because it shows you fun things to do with Python. So my Top recommendation are: Automate the Boring Stuff with Python Starting Out with Python Fundamentals of Python: First Programs Python_tutorial from Tutorials point For engineering students, I recommend NUMERICAL METHODS IN ENGINEERING WITH PYTHON 3 The book is an introduction to numerical methods for engineering students. It covers the usual topics like: solution of equations interpolation and data fitting solution of differential equations eigenvalue problems, and optimization Here’s the best part: The algorithms are implemented in Python 3. For more Python books check the link below: http://coolpythoncodes.com/best-python-books/ Cheers!!!… |
I also accept guest post - www.coolpythoncodes.com |
Nobody taught me Python. I read a lot of books and I even teach Python on www.coolpythoncodes.com |
Learn how to do awesome artworks with Python. The source code and tutorial is available at: http://coolpythoncodes.com/python-turtle/ Here are some screenshots of what you will learn to do.
|
Thanks boss. I actually do tutorials with Qpython. |
I went to work and saw this big alligator.
|
Wow...first time am hearing of this. |
You can run Python code on your android device using a script engine. QPython helps Python programmers program with their android phone. You can also develop android applications. QPython has a Python console where you can type your code to the interpreter directly. QPython has an editor so you can write your code, save it and run it within your android. Here's a video tutorial on how to download, install Qpython to write Python programs on your android device. https://m.youtube.com/watch?v=IZkiiaEZVJo In fact, Qpython recently released a beta update of Qpython. On Facebookupdate, search for 'Qpython' page and follow the link to get the lastest update. Note: This update is a trial version so you may experience bugs.
|