- Run the following command to generate a key.
$ ssh-keygen
You'll be asked to enter passphrase. You can leave that empty.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
FaceSearch: Searches for faces in a given image using OpenCV and the Google Reverse Image Search engine.
OR
2. First clone this repo. Now, to install the dependencies and create the alias for FaceSearch, run the install.sh
.
#Generate root password | |
import random, string | |
password = ''.join(random.choice(string.ascii_letters + string.digits) for i in range(20)) | |
#Download ngrok | |
! wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
! unzip -qq -n ngrok-stable-linux-amd64.zip | |
#Setup sshd | |
! apt-get install -qq -o=Dpkg::Use-Pty=0 openssh-server pwgen > /dev/null | |
#Set root password |
import cv2 | |
import numpy as np | |
image_path = 'path/to/image' # Path to the input image | |
bgcolor = [255, 255, 255] # BGR value of background color. | |
img = cv2.imread(image_path) | |
img = cv2.cvtColor(img, cv2.COLOR_BGR2BGRA) | |
img[np.all(img == bgcolor + [255], axis=2)] = [0,0,0,0] |
This summer has been awesome contributing to AOSSIE working with awesome mentors. Got to develop my skillset further by a level in the field of web technology.
I contributed to the Carbon Footprint project. Project URL : https://gitlab.com/aossie/CarbonFootprint
Carbon Footprint is an extension for all browsers which displays carbon footprint information in multiple maps, flights, trains, buses services.
The goals I completed during GSoC are :-
import cv2 | |
image = cv2.imread('test.jpg') | |
overlay = image.copy() | |
x, y, w, h = 10, 10, 10, 10 # Rectangle parameters | |
cv2.rectangle(overlay, (x, y), (x+w, y+h), (0, 200, 0), -1) # A filled rectangle | |
alpha = 0.4 # Transparency factor. |