Downloads · 30 days
17
20% of all-time downloads
JibayAi/Jibay_NSFW_1
Jibay_NSFW_1 is a image-to-text model from JibayAi. Use it when you need a caption or text from an image. It is set up for imagick & GD. The card lists the license as mit.
Downloads · 30 days
17
20% of all-time downloads
All-time downloads
83
Public
Repo size
—
Likes
1
Public
Click a slice to open those files.
.php101 KB · 84%
From the Hugging Face model README
Developed by the Jibay Team
🌐 Website: https://jibay.ir
</div>Jibay NSFW-1 is an extremely lightweight, high-speed, open-source image moderation engine written entirely in PHP.
Its purpose is to detect inappropriate (NSFW / Explicit / Adult) images and automatically identify them for moderation systems.
Unlike AI models that require GPUs and gigabytes of memory, this project runs completely on CPU and works on almost every PHP hosting environment.
It is designed to work from:
No GPU is required.
No Python is required.
No Machine Learning libraries are required.
Simply upload the files and start using it.
Unlike deep learning models, Jibay NSFW-1 uses an advanced image analysis engine based on computer vision and statistical image processing.
The engine analyzes many characteristics of an image including:
All of these signals are combined into a confidence score that determines whether an image is likely to contain explicit content.
Simply upload all project files to your server.
Requirements:
No additional installation is required.
Example endpoint:
https://your-domain.com/index.php?url=https://example.com/image.jpg
GET /index.php?url=https://example.com/photo.jpg
{
"success": true,
"explicit": false,
"score": 0.12,
"confidence": "Very High",
"processed_image": "storage/moderated/moderated_8c2ab4.jpg"
}
{
"success": true,
"explicit": true,
"score": 0.94,
"confidence": "Very High",
"processed_image": "storage/moderated/moderated_d912ff.jpg"
}
Invalid URL
{
"success": false,
"code": "INVALID_URL",
"message": "A valid image URL is required."
}
Image Too Large
{
"success": false,
"code": "IMAGE_TOO_LARGE",
"message": "The remote image exceeds the configured size limit."
}
Unsupported Format
{
"success": false,
"code": "UNSUPPORTED_IMAGE_FORMAT",
"message": "The image format is not supported."
}
Download Failed
{
"success": false,
"code": "DOWNLOAD_FAILED",
"message": "The remote image could not be downloaded."
}
project/
├── index.php
├── config.json
├── storage/
│ └── moderated/
├── tokens.json
└── README.md
Runs on:
No graphics card is needed.
Memory consumption is extremely low.
Startup time is almost instant.
This is Version 1 of the engine.
Although it performs very well, no image moderation system is 100% perfect.
Some images may occasionally be classified incorrectly.
We strongly recommend manual review for sensitive applications.
Future versions will improve accuracy even further.
This project is released under the MIT License.
Everyone is free to:
However, keeping the name "Jibay" somewhere in the project or credits is mandatory.
Developed with ❤️ by
Website:
Jibay NSFW-1 یک موتور بسیار سبک، سریع و متنباز برای تشخیص تصاویر نامناسب (NSFW) است که به طور کامل با زبان PHP توسعه داده شده است.
هدف این پروژه شناسایی تصاویر مستهجن، بزرگسال، نامناسب و محتوای حساس جهت استفاده در سیستمهای مدیریت محتوا، شبکههای اجتماعی، انجمنها، سایتها و APIها میباشد.
برخلاف مدلهای هوش مصنوعی که به کارت گرافیک و چندین گیگابایت حافظه نیاز دارند، این پروژه تنها با پردازنده (CPU) اجرا میشود.
این پروژه روی تقریباً هر نوع هاستی اجرا میشود.
از ضعیفترین هاست اشتراکی گرفته تا قویترین سرورها.
بدون نیاز به کارت گرافیک.
بدون نیاز به Python.
بدون نیاز به TensorFlow.
بدون نیاز به PyTorch.
فقط فایلها را آپلود کنید و اجرا نمایید.
این پروژه از مدلهای هوش مصنوعی استفاده نمیکند.
در عوض با استفاده از مجموعهای از الگوریتمهای پردازش تصویر، بینایی ماشین و تحلیل آماری، ویژگیهای مختلف تصویر را بررسی میکند.
از جمله:
در پایان تمامی این سیگنالها با هم ترکیب شده و نتیجه نهایی تولید میشود.
کافی است فایلهای پروژه را روی هاست یا سرور خود آپلود نمایید.
پیشنیازها:
هیچ نصب دیگری نیاز نیست.
https://your-domain.com/index.php?url=https://example.com/image.jpg
{
"success": true,
"explicit": false,
"score": 0.18,
"confidence": "Very High",
"processed_image": "storage/moderated/moderated_xxx.jpg"
}
{
"success": true,
"explicit": true,
"score": 0.96,
"confidence": "Very High",
"processed_image": "storage/moderated/moderated_xxx.jpg"
}
آدرس نامعتبر
{
"success": false,
"code": "INVALID_URL",
"message": "A valid image URL is required."
}
تصویر بیش از حد بزرگ
{
"success": false,
"code": "IMAGE_TOO_LARGE",
"message": "The remote image exceeds the configured size limit."
}
فرمت پشتیبانی نمیشود
{
"success": false,
"code": "UNSUPPORTED_IMAGE_FORMAT",
"message": "The image format is not supported."
}
دانلود تصویر ناموفق
{
"success": false,
"code": "DOWNLOAD_FAILED",
"message": "The remote image could not be downloaded."
}
project/
├── index.php
├── config.json
├── storage/
│ └── moderated/
├── tokens.json
└── README.md
این پروژه روی موارد زیر اجرا میشود:
نیازی به کارت گرافیک ندارد.
مصرف حافظه بسیار پایین است.
سرعت پردازش بسیار بالا است.
این پروژه نسخه اول موتور Jibay NSFW-1 است.
اگرچه دقت بسیار بالایی دارد، اما هیچ سیستم تشخیص تصویر در دنیا ۱۰۰٪ بدون خطا نیست.
در برخی تصاویر ممکن است نتیجه اشتباه تولید شود.
برای کاربردهای بسیار حساس، بررسی دستی نیز توصیه میشود.
نسخههای بعدی دقت بیشتری خواهند داشت.
این پروژه تحت مجوز MIT منتشر شده است.
شما آزاد هستید:
تنها شرط استفاده، حفظ نام "Jibay" در پروژه، مستندات یا بخش اعتبار (Credits) است.
ساخته شده با ❤️ توسط
وبسایت رسمی: