Skip to content

Repository files navigation

Textract Logo

A standalone desktop application for easy texture extraction & deskewing from images.

Watch the Trailer Release

Overview

Textract allows you to load images, mark sections to extract (such as signage, product labels, or building), apply a perspective warp and pack the flattened output into custom texture atlas or export them individually.

Textract In Action

Key Features

  • Dual-Pane Interactive Workspace:
    • Mark Canvas (Left): Load source images and mark sections to extract.
    • Atlas Canvas (Right): Arrange extracted textures into an atlas or to export individually.
  • Perspective Correction: - Extremely fast using imageproc and rayon for parallelism.
  • Grid Snapping - With custom grid sizes.
  • Atlas Export: Arrange your textures into a single atlas for export.
  • Individual Export: Export textures individually.
  • Auto Updater: Simple one-click updater to get the latest features and fixes.

How It Works

graph LR
    A[1. Load Images] --> B[2. Place Marks]
    B --> C[3. Extract]
    C --> D[4. Export]
Loading
  1. Load Images: Load PNG, JPG, JPEG, or BMP files.
  2. Place Marks: Hold Ctrl and click four points to form a rect around your target texture.
  3. Extract: Hit Shift + R or click the Convert button.
  4. Export: Position the extracted textures on the Atlas Canvas and export!

🎹 Controls

Textract is designed for speed. Below is a cheat sheet of shortcuts:

General & Navigation

Action Key / Gesture
Pan Canvas Scroll wheel click + Drag or Drag Stage
Zoom Stage Scroll Wheel
Context Menu Right Click
Select All Ctrl + A
Delete Image Delete (with image selected)

Mark Canvas (Left Panel)

Action Key / Shortcut
Load Images Shift + A
Add Mark Point Ctrl + Left Click (on image)
Reset Point Selection Right Click (while marking)
Process/Convert Shift + R
Remove Mark Alt + Left Click (on mark)

Atlas Canvas (Right Panel)

Action Key / Shortcut
Export Atlas Ctrl + E
Export Selected Ctrl + S

🛠️ Stack

About

An application to extract textures from photos.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages