This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import face_recognition | |
| import numpy as np | |
| from PIL import Image, ImageDraw | |
| # Load a sample picture and learn how to recognize it. | |
| known_image = face_recognition.load_image_file("toby.jpg") | |
| encoding = face_recognition.face_encodings(known_image)[0] | |
| # Load an image with unknown faces | |
| unknown_image = face_recognition.load_image_file("office.jpg") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| import face_recognition | |
| # Load the jpg file into a numpy array | |
| image = face_recognition.load_image_file("office.jpg") | |
| # Find all the faces in the image using the default HOG-based model. | |
| # This method is fairly accurate, but not as accurate as the CNN model and not GPU accelerated. | |
| # See also: find_faces_in_picture_cnn.py | |
| face_locations = face_recognition.face_locations(image) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sorted | first | second | third | ... | antepenultimate | penultimate | last | |
|---|---|---|---|---|---|---|---|---|
| RANDOM | QUICK | SHELL | MERGE | ... | SELECTION | COCKTAIL | BUBBLE | |
| UNIQUE | QUICK | SHELL | MERGE | ... | SELECTION | COCKTAIL | BUBBLE | |
| REVERSED | QUICK | SHELL | MERGE | ... | INSERTION | BUBBLE | COCKTAIL | |
| ALMOST | INSERTION | COCKTAIL | QUICK | ... | HEAT | BUBBLE | SELECTION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ReadMe File - For Django Project + VS Code | |
| # Tutorial: https://medium.com/jungletronics/django-mtv-in-vs-code-a5953b09a4fd | |
| Django version 4.0 | |
| Python 3.9.7 | |
| How to use (On Terminal): | |
| 1- Activate your djangoEnv -> djangoEnv\Scripts\activate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "python.pythonPath": "C:/Users/giljr/Desktop/django_projects/djangoEnv", | |
| "code-runner.executorMap": { | |
| "python": "C:/Users/giljr/Desktop/django_projects/djangoEnv", | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "window.zoomLevel": 2, | |
| "editor.fontSize": 12, | |
| "emmet.triggerExpansionOnTab": true, | |
| "files.associations": {"*html":"html"}, | |
| "code-runner.ignoreSelection": true, | |
| "code-runner.runInTerminal": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| /* This program uses pointer, malloc and structs :) */ | |
| int main(int argc, char *argv[]) { | |
| /* Declaration of the structure to hold anniversaries data */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| int SequentialSearch(int vec[], int sought); | |
| #define VECTORSIZE 10 | |
| int main() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #define VECTORSIZE 10 | |
| void quicksort(int vet[], int p, int u); | |
| int partition(int vet[], int p, int u); | |
| void swap(int vet[], int i, int j); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| void BubbleSort(int vec[]); | |
| #define VECTORSIZE 10 | |
| int main() | |
| { |