This file contains 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
n = 100 # Suppose there is 100 known people | |
known_face_encodings = [] | |
for num in range(1, n + 1): | |
image_file = f"known_person_{num}.jpg" | |
# Load each known image | |
image_of_person = face_recognition.load_image_file(image_file) | |
# Get the face encoding of each person. This can fail if no one is found in the photo | |
face_encoding = face_recognition.face_encodings(image_of_person)[0] | |
# Create a list of all known face encodings | |
known_face_encodings.append(face_encoding) |
This file contains 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
⇒ npm ls -g --depth 0 | |
/Users/admin/.nvm/versions/node/v10.16.3/lib | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] -> /Users/admin/Code/pdf-viewer | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] -> /Users/admin/Code/data-enhancements |
This file contains 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
⇒ npm ls --depth 0 | |
[email protected] /Users/admin/Code/WorkSpace/react-app-es6-jest | |
├── @babel/[email protected] | |
├── @babel/[email protected] | |
├── @babel/[email protected] | |
├── @babel/[email protected] | |
├── @babel/[email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] |
This file contains 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
⇒ npm ls -g --depth 0 | |
/Users/admin/.nvm/versions/node/v10.16.3/lib | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
└── [email protected] |
This file contains 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
⇒ npm outdated | |
Package Current Wanted Latest Location | |
@babel/cli 7.7.4 7.8.4 7.8.4 react-app-es6-jest | |
@babel/core 7.7.4 7.8.4 7.8.4 react-app-es6-jest | |
@babel/node 7.7.4 7.8.4 7.8.4 react-app-es6-jest | |
@babel/preset-env 7.7.4 7.8.4 7.8.4 react-app-es6-jest | |
@babel/preset-react 7.7.4 7.8.3 7.8.3 react-app-es6-jest | |
concurrently 5.0.0 5.1.0 5.1.0 react-app-es6-jest | |
core-js 3.4.2 3.6.4 3.6.4 react-app-es6-jest | |
css-loader 3.2.1 3.4.2 3.4.2 react-app-es6-jest |
This file contains 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
⇒ npm run | |
Lifecycle scripts included in react-app-es6-jest: | |
prestart | |
npm run build:configuration | |
start | |
concurrently "npm run start:server" "npm run start:client" | |
test | |
echo "Error: no test specified" && exit 1 | |
available via `npm run-script`: |
This file contains 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
⇒ npm view express | |
[email protected] | MIT | deps: 30 | versions: 263 | |
Fast, unopinionated, minimalist web framework | |
http://expressjs.com/ | |
keywords: express, framework, sinatra, web, rest, restful, router, app, api | |
dist | |
.tarball: https://artifactory.corp.mendeley.com:443/artifactory/api/npm/node-all/express/-/express-4.17.1.tgz |
This file contains 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
⇒ gulp clean && gulp build | |
fs.js:27 | |
const { Math, Object } = primordials; | |
^ | |
ReferenceError: primordials is not defined | |
at fs.js:27:26 | |
at req_ (/Users/admin/Code/my-app/node_modules/natives/index.js:143:24) | |
at Object.req [as require] (/Users/admin/Code/my-app/node_modules/natives/index.js:55:10) | |
at Object.<anonymous> (/Users/admin/Code/my-app/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37) | |
at Module._compile (internal/modules/cjs/loader.js:955:30) |
This file contains 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
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
context: __dirname, | |
devtool: debug ? "inline-sourcemap" : false, | |
entry: "./js/scripts.js", | |
output: { | |
path: __dirname + "/js", | |
filename: "scripts.min.js" |
NewerOlder