Skip to main content

Fast Image Annotation Tool, Free image labeling tool for deep learning

Project description

FIAT 0.7 (Fast Image Annotation Tool)

FIAT is a free image labeling tool developed in C# WPF based on Visual Studio 2022
The current version supports labeling classification datasets and provides a PyTorch dataset loader.

Development Environment

  • Visual Studio 2022
  • Microsoft .NET 6

Download

Reference

DEMO

  • Classification

Menu

Shortcut Key

  • F1~F12 : Label the image with the target label at that index
  • Ctrl + S : Save all label information
  • Ctrl + O : Open image folder
  • Up : Previous image
  • Down : Next image

PyTorch training loop example

import torch
import torch.nn as nn

from torch.utils.data import DataLoader

from util.FIATClassificationDataset import FIATClassificationDataset


batch_size = 1
training_epochs = 1

datasets = FIATClassificationDataset('C://Github//FIAT//example_dataset//food//',   #FIAT dataset path
                                     label_height=224,  #image height
                                     label_width=224,   #image width
                                     isColor=True,      #color load flag
                                     isNorm=False)      #0~1 normalization flag

data_loader = DataLoader(datasets, batch_size=batch_size, shuffle=True)

for epoch in range(training_epochs):
    avg_cost = 0
    avg_acc = 0
    total_batch = len(data_loader)

    for x_input, y_input in data_loader:
        print('x_input shape = ', x_input.shape)
        print('y_input shape = ', y_input.shape)

print('Training loop finished')
C:\Python\python.exe C:/Github/FIAT/python/torch_classification_FIATC_test.py
{'Color': '#FFFF0000', 'Name': 'Bread'}
{'Color': '#FF008000', 'Name': 'Pizza'}
{'Color': '#FFFFFFFF', 'Name': 'Hamburger'}
{'Color': '#FFF79646', 'Name': 'Chicken'}
x_input shape =  torch.Size([1, 3, 224, 224])
y_input shape =  torch.Size([1, 4])
x_input shape =  torch.Size([1, 3, 224, 224])
y_input shape =  torch.Size([1, 4])

Strcture

Classification

  • __target_info.json

    • File containing representative label information
  • (each file).json

    • A file containing user-labeled information about an image.

TOP

The MIT License (MIT)

Copyright (c) 2022-present FIAT Development Team

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

TOP

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fiat_tool-0.7.0.5-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file fiat_tool-0.7.0.5-py3-none-any.whl.

File metadata

  • Download URL: fiat_tool-0.7.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.8rc1

File hashes

Hashes for fiat_tool-0.7.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1f95d53b1a76e769f43629a7b9ca060c5fba7a4ec37b0a5af845755fd108f798
MD5 660d20c981b6b12b194c956adf83f311
BLAKE2b-256 dfd47a8f23b512c0d13f34978641dd8135e683fd1ee45f1cd1875ebb63cb7d72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page