Skip to main content

Posts

Installing Tensorflow and Open-CV on Raspberry Pi

First, you have to install the latest version of Bull-Eye OS from Raspbian's official site.  (64-bit version) I'm using Raspberry Pi 4B with 4 Gigs of Ram. ------------------------------------------- There are a bunch of ways of installing OpenCV and Tensorflow on Raspberry Pi and I've mentioned the most effective ways which worked for me. ------------------------------------------- On your PC open the following links: tensor flow link: https://github.com/lhelontra/tensorflow-on-arm/releases tensor flow: for 3.9.2 :  https://github.com/PINTO0309/Tensorflow-bin/blob/main/previous_versions/download_tensorflow-2.8.0-cp39-none-linux_aarch64_numpy1221.sh ------------------------------------------- You have to add the following lines to the bash file of the Raspberry Pi: # virtualenv and virtualenvwrapper export WORKON_HOME=$HOME/.virtualenvs export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 source /usr/local/bin/virtualenvwrapper.sh ------------------------------------------- The...
Recent posts

Adding Arduino Library in Proteus 8 or later

Adding Arduino Library in Proteus Proteus  doesn't come up with  Arduino Libraries by default . We are using  Arduino Uno  in this project, and we'll see how to manually install Arduino libraries in  Proteus Professional .  You can use the path if it works for you. In my case, it works.  C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\LIBRARY If it doesn't work, then you have to follow a few steps. All the required files can be downloaded using the link given at the end of the blog. So don't worry about the files. First, you have to download the files and paste  Arduino Library files  into the proteus library folder. Your folder might be installed in the  Programs  folder by default. But in  Proteus 8.9 , there is no library folder there.  ProgramData  folder contains the library folder of  Proteus Professional .  That's the folder in which you'll find your proteus library folder. In my case, it'...

Car Parking System using Arduino

This blog will show you how to design and create a Car Parking System using a Seven Segment display interfaced with Arduino Uno . You just need some components, and I assure you this project is gonna be fun! Components Needed Bread Board Jumper Wires Resistors (1 ohm) Arduino UNO IR-Sensors (2x) 7-Segment Display (Common-Cathode) Adding Arduino Library Proteus doesn't come up with Arduino Libraries . We are using Arduino Uno in this project, so manually installing Arduino libraries in Proteus Professional .  You can use the path if it works for you. In my case, it works.  C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\LIBRARY If it doesn't work, then you have to follow a few steps. All the required files can be downloaded using the link given at the end of the blog. So don't worry about the files. First, you have to download the files and paste Arduino Library files into the proteus library folder. Your folder might be installed in the  Programs  fo...

Hangman Game in Python

Hangman Game in python is a word guessing game written in the Python programming language . It's all about guessing letters (A-Z) to form the words. If the player assumes the correct letter within the word, the letter appears at its proper position. The user has to guess the right word until a man is hung, then the game is over.   Source Code import random def hangman(word): s = ["", "________ ", "| | ", "| | ", "| 0 ", "| /|\ ", "| / \ ", "| "] w = 0 a = list(word) b = ["__"] * len(word) win = False print("----Welcome to Hangman----\n") while w < len(s) - 1: char = input("\nGuess a letter:") if char in a: cind = a.index(char) b[cind] = char ...