awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jwagner avatar

jwagner/smartcrop.js

0
View on GitHub↗
12,952 stars·573 forks·JavaScript·MIT·18 views29a.ch/2014/04/03/smartcrop-content-aware-image-cropping↗

Smartcrop.js

smartcrop.js is a JavaScript image processing tool and library designed for content-aware image cropping. It provides a face-aware cropping algorithm that calculates optimal crop coordinates to preserve the most important visual content within an image.

The project prioritizes human faces to ensure people remain the central focus of the crop. It utilizes a content-aware approach to determine the best coordinates for a target width and height, allowing for dynamic resizing across different screen sizes and aspect ratios.

The toolset includes a command line interface for automating the resizing and bulk cropping of local image files. These capabilities are supported by an environment-agnostic runtime that allows the logic to function across browsers, Node.js, and command line environments.

Features

  • Smart Cropping - Automatically centers image crops on detected human faces to ensure they remain the primary focus.
  • Saliency Models - Analyzes image contrast and edge density to identify visually significant regions for optimal framing.
  • Face Detection - Integrates face detection to identify and prioritize human faces as the central focus of crops.
  • Content-Aware Cropping - Determines the best crop coordinates for a target width and height to preserve the most important visual content.
  • Dynamic Cropping Windows - Calculates optimal cropping coordinates to maintain subject framing across various screen sizes and aspect ratios.
  • Image Cropping Tools - Provides a command line interface for performing content-aware resizing and cropping of local files.
  • CLI Interfaces - Provides a command line interface for automating content-aware image resizing and bulk cropping.
  • Image Processing - Offers a suite of image cropping tools that function across browser, Node.js, and CLI environments.
  • Image Processing Automation - Enables automated batch resizing and cropping of large sets of image files via CLI or scripts.
  • Environment Abstraction Layers - Implements an abstraction layer that allows the same cropping logic to run in browsers, Node.js, and CLI environments.
  • Image Processing - Content-aware image cropping utility.

Star history

Star history chart for jwagner/smartcrop.jsStar history chart for jwagner/smartcrop.js

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Smartcrop.js

Similar open-source projects, ranked by how many features they share with Smartcrop.js.
  • thumbor/thumborthumbor avatar

    thumbor/thumbor

    10,501View on GitHub↗

    Thumbor is a dynamic image processing service and proxy server that resizes, crops, and filters images on demand via URL parameters. It functions as a URL-based image manipulator that generates specific image versions from source assets to optimize web delivery. The system includes a smart cropping engine that uses facial feature detection and computer vision to automatically center thumbnails on the most relevant visual content. To prevent unauthorized parameter tampering and malicious requests, it employs signature-based request validation and domain-based source whitelisting. Broad capabi

    Pythonhacktoberfest
    View on GitHub↗10,501
  • h2non/imaginaryh2non avatar

    h2non/imaginary

    6,017View on GitHub↗

    Imaginary is a self-hosted HTTP server for image processing that applies transformations like resizing, cropping, rotating, and format conversion through URL parameters. It operates as a stateless request-response pipeline, processing images fetched from remote URLs or served from a local directory without requiring client-side dependencies. The server distinguishes itself through its security and access control capabilities, offering optional API key validation, HMAC-signed URL verification, and remote origin whitelisting to restrict which image sources are permitted. It also provides a heal

    Gocrop-imagedockergif
    View on GitHub↗6,017
  • hybridgroup/gocvhybridgroup avatar

    hybridgroup/gocv

    7,463View on GitHub↗

    GoCV is a computer vision library and Go language binding for OpenCV. It serves as an image processing toolkit and deep learning inference engine, providing programmatic access to a wide range of algorithms for image manipulation, object detection, and video analysis. The project differentiates itself through high-performance native bindings and hardware acceleration. It utilizes a foreign function interface to map Go calls to C++ functions and includes a hardware-agnostic backend dispatch to route neural network tasks to computation engines such as CUDA and OpenVINO. The library covers a br

    Go
    View on GitHub↗7,463
  • justadudewhohacks/opencv4nodejsjustadudewhohacks avatar

    justadudewhohacks/opencv4nodejs

    5,045View on GitHub↗

    opencv4nodejs is a set of JavaScript wrappers and a C++ native addon that provides Node.js bindings for the OpenCV library. It functions as a computer vision library and image processing framework, exposing high-performance C++ algorithms to a JavaScript environment. The project enables the execution of vision algorithms for detecting faces, tracking objects, and analyzing visual data using deep neural networks. It includes capabilities for data pattern classification, text pattern recognition, and the identification of facial landmarks and gestures. The framework covers a broad capability s

    C++asynccvface-detection
    View on GitHub↗5,045
See all 30 alternatives to Smartcrop.js→

Frequently asked questions

What does jwagner/smartcrop.js do?

smartcrop.js is a JavaScript image processing tool and library designed for content-aware image cropping. It provides a face-aware cropping algorithm that calculates optimal crop coordinates to preserve the most important visual content within an image.

What are the main features of jwagner/smartcrop.js?

The main features of jwagner/smartcrop.js are: Smart Cropping, Saliency Models, Face Detection, Content-Aware Cropping, Dynamic Cropping Windows, Image Cropping Tools, CLI Interfaces, Image Processing.

What are some open-source alternatives to jwagner/smartcrop.js?

Open-source alternatives to jwagner/smartcrop.js include: thumbor/thumbor — Thumbor is a dynamic image processing service and proxy server that resizes, crops, and filters images on demand via… h2non/imaginary — Imaginary is a self-hosted HTTP server for image processing that applies transformations like resizing, cropping,… hybridgroup/gocv — GoCV is a computer vision library and Go language binding for OpenCV. It serves as an image processing toolkit and… justadudewhohacks/opencv4nodejs — opencv4nodejs is a set of JavaScript wrappers and a C++ native addon that provides Node.js bindings for the OpenCV… esimov/caire — Caire is a command-line image processing engine designed for content-aware resizing and batch manipulation. It… yalantis/ucrop — uCrop is an Android library designed for cropping, rotating, and scaling images within mobile applications. It…