-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (46 loc) · 2.57 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<title>Image Anonymization API sample</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
<script src="./index.js"></script>
</head>
<body>
<main class="container">
<article style="margin-top: 0px">
<h3 style="text-align: center;">Image Anonymization API sample</h3>
<p>This API detects potential sensitive objects/areas and hide it.</p>
<div style="text-align: center;">
<p>
<a href="mailto:hello@api4.ai"><img src="https://img.shields.io/badge/Send%20email-81b549?logo=googlechat&logoColor=white"></a>
<a target="_blank" href="https://api4.ai/apis/img-anonymization?utm_source=img_anonymization_example_repo&utm_medium=page&utm_campaign=examples"><img src="https://img.shields.io/badge/api4.ai%20platform-fee33c?logo=icloud&logoColor=black"></a>
<a href="https://t.me/a4a_img_anonymization_bot"><img src="https://img.shields.io/badge/-Telegram%20demo-white?logo=telegram"></a>
<a href="https://rapidapi.com/api4ai-api4ai-default/api/image-anonymization/details"><img src="https://img.shields.io/badge/Subscribe%20to%20API-blue?logo=octopusdeploy&logoColor=white"></a>
</p>
<div>
<a target="_blank" href="https://www.instagram.com/api4ai"><img src="https://img.shields.io/badge/instagram--blue?style=social&logo=instagram"/></a>
<a target="_blank" href="https://www.facebook.com/api4ai.solutions/"><img src="https://img.shields.io/badge/facebook--blue?style=social&logo=facebook"/></a>
<a target="_blank" href="https://twitter.com/Api4Ai"><img src="https://img.shields.io/badge/twitter--blue?style=social&logo=twitter"/></a>
<a target="_blank" href="https://www.linkedin.com/company/api4ai"><img src="https://img.shields.io/badge/linkedin--blue?style=social&logo=linkedin"/></a>
</div>
</div>
</article>
<label for="file">Select image to upload
<input type="file" id="file" name="file">
</label>
<h4 id="spinner" style="text-align: center;" aria-busy="true" hidden>Processing</h4>
<section id="sectionParsedImage" hidden>
<label for="result-image">💬 Result image:
<img id="result-image">
</label>
</section>
<section id="sectionParsedObjects" hidden>
<label for="parsedObjects">💬 Bounding boxes of the hidden objects:
<pre id="parsedObjects" style="padding: 10px;"></pre>
</label>
</section>
</main>
</body>
</html>