EveryDev.ai
Subscribe
Home
Tools

4,082+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. AffNet
    AffNet icon

    AffNet

    AI Development Libraries

    CNN-based affine shape estimator implemented in PyTorch for learning discriminative affine regions via discriminability, as presented at ECCV 2018.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Freely available under the MIT License. Clone, use, modify, and distribute at no cost.

    Engagement

    Available On

    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Development LibrariesAcademic ResearchImage

    Alternatives

    LabelMeDiffusionBlocksPerception Models
    Developer
    Dmytro MishkinDmytro Mishkin is a computer vision researcher who develops…

    Listed Sep 2026

    About AffNet

    AffNet is a CNN-based affine shape estimator implemented in PyTorch, released alongside the ECCV 2018 paper "Repeatability Is Not Enough: Learning Discriminative Affine Regions via Discriminability" by Dmytro Mishkin, Filip Radenovic, and Jiri Matas. The project provides code, pre-trained weights, and usage examples for estimating affine shapes of local image features, and is available under the MIT License on GitHub.

    What It Is

    AffNet is a deep learning model that learns to estimate the affine shape of local image regions, replacing classical iterative methods like Baumberg iterations with a neural network approach. It is designed to work alongside local feature detectors (such as Hessian-Affine) and descriptors (such as HardNet++) to improve image matching and retrieval performance. The core contribution is training the network for discriminability rather than repeatability alone, which the authors argue leads to better correspondences in practice.

    Performance on Image Retrieval

    The repository benchmarks AffNet against classical baselines on the Oxford5k dataset using mean Average Precision (mAP). According to the README, combining HesAffNet with HardNet++ achieves mAP scores of 68.3 (BoW), 77.8 (BoW + SV), 89.0 (BoW + SV + QE), and 89.5 (HQE + MA), outperforming HesAff + RootSIFT and HesAff + HardNet++ across all evaluation settings. The README also states that AffNet generates up to twice more correspondences compared to Baumberg iterations.

    Architecture and Usage

    AffNet is a convolutional neural network trained in PyTorch. The repository includes:

    • Pre-trained model weights (AffNet.pth) in the pretrained folder
    • Example scripts for estimating affine shape on patch-column files in HPatches format
    • A PyTorch implementation of Hessian-Affine using AffNet for region detection
    • Jupyter notebooks for reproducing paper figures and a WBS (Wide Baseline Stereo) demo
    • Output in Oxford affine format compatible with standard benchmarks

    The input/output interface supports grayscale patch images and produces affine frame parameters (a11, a21, a22) or Oxford affine ellipse format.

    Update: PyTorch 1.4 Branch

    The master branch corresponds to the original ECCV paper results, targeting Python 2.7 and PyTorch 0.4.0. A separate branch (pytorch1-4_python3) is available for users running Python 3.7 and PyTorch 1.4.0, making the codebase accessible on more modern environments. The repository was last pushed to in April 2025, indicating ongoing maintenance activity.

    Audience and Deployment

    AffNet targets computer vision researchers and practitioners working on image matching, image retrieval, and local feature pipelines. It is deployed as source code cloned from GitHub, with a shell script (run_me.sh) to download datasets and begin training. The project is cited in academic work and is intended for use as a component within larger feature extraction and matching pipelines.

    AffNet - 1

    Community Discussions

    Be the first to start a conversation about AffNet

    Share your experience with AffNet, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Freely available under the MIT License. Clone, use, modify, and distribute at no cost.

    • Full source code access
    • Pre-trained model weights
    • Training scripts
    • Usage examples and notebooks
    • MIT License

    Capabilities

    Key Features

    • CNN-based affine shape estimation
    • Pre-trained AffNet.pth model weights
    • PyTorch implementation of Hessian-Affine detector
    • HPatches format patch input support
    • Oxford affine ellipse format output
    • Jupyter notebook examples for paper figure reproduction
    • WBS (Wide Baseline Stereo) demo notebook
    • Comparison with Baumberg iterations
    • Dataset download and training scripts
    • Python 3.7 / PyTorch 1.4 compatible branch

    Integrations

    PyTorch
    HardNet++
    HesAff
    HPatches benchmark
    Oxford affine benchmark
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate AffNet and help others make informed decisions.

    Developer

    Dmytro Mishkin

    Dmytro Mishkin is a computer vision researcher who develops open-source tools and models for local feature detection, image matching, and image retrieval. He maintains the AffNet repository and related projects on GitHub under the handle ducha-aiki. His work focuses on deep learning approaches to classical computer vision problems, with publications at venues such as ECCV.

    Read more about Dmytro Mishkin
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    LabelMe icon

    LabelMe

    An open-source image annotation tool with AI-assisted segmentation (SAM2, SAM3, YOLO-World) that runs fully offline on Windows, macOS, and Linux.

    DiffusionBlocks icon

    DiffusionBlocks

    A principled framework for block-wise neural network training via diffusion interpretation, reducing memory requirements proportionally while maintaining competitive performance across transformer architectures.

    Perception Models icon

    Perception Models

    Meta FAIR's open-source repository of state-of-the-art vision, video, and audio encoders (Perception Encoder) and a multimodal language model (PerceptionLM) for image, video, and audio understanding.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    329 tools

    Academic Research

    AI tools designed specifically for academic and scientific research.

    70 tools

    Image

    AI tools that generate or edit still images — illustrations, photos, logos, icons, and graphics — from text prompts, references, or existing images.

    83 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions