nude.min.js js裸体图片检测插件

nude.min.js js裸体图片检测插件

nude.min.js js裸体图片检测插件

第一步引入bfwone

第二步执行插件

示例如下

<!DOCTYPE html>
<html>
<head>
 <meta charset="UTF-8">
    <title>BFW NEW PAGE</title>
    <style>
        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
            margin: 0;
            padding: 0;
        }
        table {
            border-collapse: collapse;
            border-spacing: 0;
        }
        fieldset,img {
            border: 0;
        }
        address,caption,cite,code,dfn,em,strong,th,var {
            font-style: normal;
            font-weight: normal;
        }
        ol,ul {
            list-style: none;
        }
        caption,th {
            text-align: left;
        }
        h1,h2,h3,h4,h5,h6 {
            font-size: 100%;
            font-weight: normal;
        }
        q:before,q:after {
            content: '';
        }
        abbr,acronym {
            border: 0;
        }
        /* end style reset */

        body {
            font-family: Arial;
        }
        .btn {
            margin-top: 10px;
            padding: 10px;
            padding-left: 20px;
            padding-right: 20px;
            color: white;
            -moz-border-radius: 20px;
            -webkit-border-radius: 20px;
            background-color: #df0019;
            width: 100px;
            cursor: pointer;
            text-align: center;
        }

        .btn:hover {
            background-color: #de3f51;
        }

        .entry {
            width: 510px;
            padding-bottom: 20px;
            padding-top: 20px;
        }

        #wrapper {
            position: relative;
            width: 500px;
            margin: auto;
            background: #e1e0e0;
            padding: 10px;
        }

        h1 {
            margin-top: 20px;
            font-size: 36px;
            text-decoration: underline;
        }
    </style>
    <script id="bfwone" data="dep=nude.min&err=0" type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/bfwone.js"></script>

      <script type="text/javascript">
        bready(function() {
            use(["noworker.nude.min"], function() {
             
            });
        });
    </script>

</head>
<body>
    <div id="wrapper">
        <h1>点击扫描图片按钮识别是否落照</h1>
        <div class="entry">
            <img id="testImage" src="../asset/man.png" width="500" height="375" alt="" />
            <div class="btn" onclick="nude.load('testImage');nude.scan(function(result){ if(!result) document.getElementById('result1').innerHTML='非落照!'; });">
                扫描图片
            </div>
            <div style="float:right;margin-top:-20px;" id="result1"></div>
        </div>
       
    </div>


</body>
</html>


官网 https://www.patrick-wied.at/static/nudejs/

立即下载nude.min.js查看所有js插件

网友评论0

程序员在线工具箱