1673291220
You have at least one image of the person you are looking for and a clue about their name.
You enter this data into EagleEye and it tries to find Instagram, Youtube, Facebook, and Twitter Profiles of this person.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Make sure that you have docker installed Make sure that you use a LINUX distribution as the host
Clone the Repository
$ git clone https://github.com/ThoughtfulDev/EagleEye
$ cd EagleEye
$ sudo docker build -t eagle-eye .
Now create a known
folder and a result
folder anywhere on your PC.
Put the images of the known person in the known folder.
Change the name of the person your are searching for in entry.sh
Start the container. Make sure to edit the paths:
sudo docker run -t --net=host --env="DISPLAY" \
--volume="$HOME/.Xauthority:/root/.Xauthority:rw" \
-v /path/to/known:/EagleEye/known \
-v /path/to/result:/result \
-v /path/to/EagleEye/Repository/entry.sh:/entry.sh \
eagle-eye
The result should now be in /path/to/result
wget https://raw.githubusercontent.com/ThoughtfulDev/EagleEye/master/install.sh && chmod +x install.sh && ./install.sh
For Debian based Distros
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install git python3 python3-pip python3-dev
$ sudo apt install libgtk-3-dev libboost-all-dev build-essential cmake libffi-dev
$ git clone https://github.com/ThoughtfulDev/EagleEye
$ cd EagleEye && sudo pip3 install -r requirements.txt
$ sudo pip3 install --upgrade beautifulsoup4 html5lib spry
For Arch
$ sudo pacman -Syu
$ sudo pacman -S git python python-pip gtk3 boost cmake libffi
$ git clone https://github.com/ThoughtfulDev/EagleEye
$ cd EagleEye && sudo pip3 install -r requirements.txt
$ sudo pip3 install --upgrade beautifulsoup4 html5lib spry
If Firefox is installed, download the latest release of the Geckodriver for you Architecture.
If you get a broken pipe
Error use Geckodriver Version 0.19.1.
Note: If you are using Firefox ESR (like Kali does) please use the Geckodriver Version 0.17.
Make the Geckodriver executable:
$ chmod +x /path/to/geckodriver
Note: The geckodriver
prefers to be in your path so wherever you do set it up you will likely need to setup a link to somewhere in your PATH (or add it to your PATH).
Example:
$ sudo ln -s /path/to/geckodriver /usr/local/bin/geckodriver
Change the value in config.json
to the path of the geckodriver
e.g
{
"DEFAULTS": {
...
},
"WEBDRIVER": {
"ENGINE": "firefox",
"PATH": "/usr/local/bin/geckodriver"
},
"FILTER": [
....
],
...
}
Put at least one Image of the Person you want to find in the known
folder.
Supported Filetypes are: jpg/JPG, jpeg/JPEG, png/PNG, and bmp/BMP.
Then run the program ;)
$ python3 eagle-eye.py
To see a list of all available Options just type
$ python3 eagle-eye.py -h
The ImageRaider Reverse Image Search can take some minutes 1-15 Minutes depending on the count of Images
Author: ThoughtfulDev
Source Code: https://github.com/ThoughtfulDev/EagleEye
License: WTFPL license
1666768257
Python 3.11 is between 10-60% faster than Python 3.10 according to the released notes. Here is everything you need to know from this update.
#python3 #python #codenewbies
Read More >>
https://blog.octachart.com/python-311-is-here-whats-new
1666076710
In this how to generate sitemap using Python code example we have shown the complete drill while using python3 sitemap-generator library. It takes just a few minutes to get done with it. You can copy python source code to generate sitemap and paste it, it will build sitemap for you.
Python Sitemap generator is the best solution if you are not using WordPress as a CMS for your web app. If you are using WordPress you can use a plugin to do that. In any other case use python’s sitemap-generator to do that. We are using Linux terminal for this if you are using windows you can use VS Code processor the drill is not very much different as in both cases the sitemap is generated using Python.
The first step is you need to install sitemap-generator using pip command. Run the following command to install sitemap-generator library. (Make sure you have python3 installed with other dependencies).
#sitemap, #python3 #pythoncode #sourcecode
1649991562
"The Coder's Apprentice" is a course book, written by Pieter Spronck, that is aimed at teaching Python 3 to students and teenagers who are completely new to programming.
From the Preface:
Pieter Spronck wrote:...
In my view, any course program that does not make "computer programming" a required course, is doing its students a disservice, as it is not preparing them for the job market. Actually, I would prefer it if secondary, or even primary schools would incorporate such courses, as programming skills tend to be easier to learn at a younger age. The reason is that they need a particular way of creative thinking, which is harder to acquire when one is already used to solving problems in the reproductive ways that are normally taught at schools.
All students, regardless of their chosen topic, need to learn how to program. Not because we should raise a generation of computer programmers – professional programming is a specialization that only a few people need to be able to do. But the ability to create programs provides students with the skills to think and solve problems like a computer programmer, to gain insight in the possibilities and limitations of computers, and to leverage the power of computers in a particular domain in a uniquely human way.
The goal of this book is to teach anyone how to create useful programs in Python. It should be usable by secondary school students, and university and college students for whom computer programming is not naturally incorporated in their course program. Its aim is to give anyone the means to become proficient in programming, and as such get prepared to perform well in the 21st century job market.
#python #python3 #programming #developer #ebook #book
1649918000
The goal of this book is to teach you to think like a computer scientist. The programming language you will be learning is Python.
Excerpts From Chapter 1:
Jeffrey Elkner wrote:
The goal of this book is to teach you to think like a computer scientist. This way of thinking combines some of the best features of mathematics, engineering, and natural science. Like mathematicians, computer scientists use formal languages to denote ideas (specifically computations). Like engineers, they design things, assembling components into systems and evaluating tradeoffs among alternatives. Like scientists, they observe the behavior of complex systems, form hypotheses, and test predictions.
The single most important skill for a computer scientist is problem solving. Problem solving means the ability to formulate problems, think creatively about solutions, and express a solution clearly and accurately. As it turns out, the process of learning to program is an excellent opportunity to practice problem-solving skills. That’s why this chapter is called, The way of the program.
On one level, you will be learning to program, a useful skill by itself. On another level, you will use programming as a means to an end. As we go along, that end will become clearer.
#computerscientist #python #programming #python3 #developer #ebook #book
1649839778
New video in my GAN (Generative Adversarial Networks) Series
PyTorch BiCycleGAN from scratch - Toward Multimodal Image to Image Translation
https://www.youtube.com/watch?v=iCXruj3slIk&list=PLxqBkZuBynVRyOJs4RWmB_fKlOVe5S8CR&index=17
#computervision #pytorch #deeplearning #deeplearningai #100daysofmlcode #neuralnetworks #machinelearning #datascience #pythonprogramming #python #python3 #researchpapers
1649587160
1649587124
1649587114
1649587103
1649273264
https://www.youtube.com/watch?v=Snqb7Usrauw&list=PLxqBkZuBynVRLzYA6TYNMAXsrCR9s2CNo&index=11
#computervision #pytorch #deeplearning #deeplearningai #100daysofmlcode #neuralnetworks #machinelearning #datascience #pythonprogramming #python #python3 #researchpapers
Over the next 60 days, I will do many videos implementing the most popular GANs from scratch - Stay tuned, and consider subscribing!
1649149359
Do you use Twitter? If so, then you must come across some of the bots that like, retweet, follow, or even reply to your tweets. But have you ever wondered how they are made? Well, it's easy as filling water in a bottle. Haha! It's really not rocket science. So, let's get started and make a bot.
In Python, the twitter bot is just a few lines of code, less than 30.
- tweepy module in Python.
- A twitter account, which you want to make a bot.
- Twitter developer account.
To apply for the developer account on twitter, follow these steps:
Make sure you've logged in to your Twitter account on which you want to make a bot.
Here, I'm using my new account BashWoman to make a bot, which will like, and retweet the hashtag #python3.
And
Else select no, just to keep it simple. Enter all the details you'd do with this bot.
Click Get keys.
You see there are no more than 30 lines in Python. Let's understand each and every line.
import tweepy
import time
To communicate with Twitter API, we need some module, here we are using tweepy. You can install it easily.
pip install tweepy
Once you install the module, write some more code.
# Authenticate to Twitter
CONSUMER_KEY = '<your-consumer-or-API-key-goes-here>'
CONSUMER_SECRET = '<your-consumer-or-API-secret-goes-here>'
ACCESS_KEY = '<your-access-key-goes-here>'
ACESS_SECRET = '<your-access-secret-goes-here>'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACESS_SECRET)
This is used to authenticate your Twitter account. Remember these keys are of your account, don't share them to anyone, else they can access your data. That's why I have made some variables in which I will store the keys.
These keys will be found in your developer account, which you've saved a time ago.
auth variable is created to authenticate the account, Twitter uses OAuth to do this.
And, after that, we will set the tokens.
# Create API object
api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notify=True)
This class provides a wrapper for the API as provided by Twitter. If you stuck somewhere, you can always refer to the tweepy documentation.
user = api.me()
search = '#python3'
numTweet = 500
for tweet in tweepy.Cursor(api.search, search).items(numTweet):
try:
print('Tweet Liked')
tweet.favorite()
print("Retweet done")
tweet.retweet()
time.sleep(10)
except tweepy.TweepError as e:
print(e.reason)
except StopIteration:
break
Finally, we will tell the program to look for the keyword #python3 in a tweet and the number of tweets that will be processed once in a day. If you want to like, you can use tweepy.favorite() , and for retweet tweepy.retweet(). The reason, I'm using sleep is, twitter has some guidelines, you must follow otherwise, your account will be restricted. There is a limit for liking the number of tweets. If it gives some error, we can use tweepy.TweepError so that we know, what went wrong.
Now, it's time for the deployment. You can use any platform, I have used Render.
After creating an account on this, create a cron job, you can schedule the time, I prefer about 10 to 15 mins. It means your bot will run every 10 to 15 mins so that it won't violate the Twitter guidelines and your account will be safe and not get restricted.
Here's my bot.
It's time to build your own bot. All the best.
Author: Kunal-Diwan
Download Link: Download The Source Code
Official Website: https://github.com/Kunal-Diwan/TwitterBot
License: AGPL-3.0 License