### NudeNet Node.js Example Console Output Source: https://github.com/vladmandic/nudenet/blob/main/README.md Shows the console output from running the NudeNet Node.js example script (`src/nudenet.js`) with an image input, including initialization details, model loading, image processing, the resulting detection object, and output file creation. ```Console Output 2021-10-20 11:11:11 INFO: nudenet version 0.0.1 2021-10-20 11:11:11 INFO: User: vlado Platform: linux Arch: x64 Node: v16.8.0 2021-10-20 11:11:11 INFO: tfjs version: 3.9.0 backend: tensorflow 2021-10-20 11:11:11 INFO: options: { debug: true, modelPath: 'file://model/model.json', minScore: 0.3, maxResults: 50, iouThreshold: 0.5, outputNodes: [ 'output1', 'output2', 'output3' ], blurNude: true, blurRadius: 25 } 2021-10-20 11:11:11 STATE: loaded graph model: file://model/model.json 2021-10-20 11:11:11 INFO: loaded image: samples/nude.jpg width: 801 height: 1112 2021-10-20 11:11:13 DATA: result: { input: { file: 'samples/nude.jpg', width: 801, height: 1112 }, person: true, sexy: true, nude: true, parts: [ { score: 0.8839950561523438, id: 3, class: 'exposed belly', box: [ 194, 639, 244, 221 ] }, { score: 0.7332422137260437, id: 11, class: 'exposed breast', box: [ 371, 450, 142, 154 ] }, { score: 0.566450834274292, id: 6, class: 'female face', box: [ 282, 164, 169, 155 ] }, { score: 0.5646520256996155, id: 11, class: 'exposed breast', box: [ 202, 430, 134, 156 ] }, { score: 0.5579367876052856, id: 12, class: 'vagina', box: [ 187, 908, 92, 96 ] } ] } 2021-10-20 11:11:13 STATE: created output image: samples/nude-out.jpg 2021-10-20 11:11:13 STATE: done: model:file://model/model.json input:samples/nude.jpg output:samples/nude-out.jpg objects: 5 ``` -------------------------------- ### NudeNet Model Class Labels (JavaScript) Source: https://github.com/vladmandic/nudenet/blob/main/README.md Lists the object class labels recognized by the NudeNet models, separated into 'base' and 'default' variations, indicating the types of body parts and states (e.g., exposed) the models can detect. ```JavaScript classes: { // classes labels base: [ // base model variation 'exposed belly', 'exposed buttocks', 'exposed breasts', 'exposed vagina', 'exposed penis', 'male breast', ], default: [ // default model variation 'exposed anus', 'exposed armpits', 'belly', 'exposed belly', 'buttocks', 'exposed buttocks', 'female face', 'male face', 'feet', 'exposed feet', 'breast', 'exposed breast', 'vagina', 'exposed vagina', 'male breast', 'exposed penis', ], }, ``` -------------------------------- ### NudeNet Output Object Structure (JavaScript) Source: https://github.com/vladmandic/nudenet/blob/main/README.md Defines the structure of the JavaScript object returned by the NudeNet detection process, detailing input image information, boolean flags for person, sexy, and nude detection, and an array of detected body parts with scores and bounding boxes. ```JavaScript { input: { file: String, width: Number, height: Number, }, person: Boolean, // is person detected? sexy: Boolean, // is person considered sexy? nude: Boolean, // is person considered nude? parts: Array<{ score: Number, // confidence in detection id: Number, class: String, // label for body part box: Number[], // [x, y, width, height] }>, } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.