Skip to content

SarahKay99/Image-Labeller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image Labeller

A simple Python app to annotate images in the DarkNet format.

Use Pygame 1.9.5 or it will not work.


HOW TO USE IMAGE-LABELLER:

STEP 1: Download Python 3.9 or 3.7

Update Python or uninstall + reinstall, if you already have it installed. If not, go to the Python website and download the correct version for your computer. https://www.python.org/downloads/release/python-390/

STEP 2: Make sure you're using Pygame 1.9.5

In Command Prompt (CMD), type python and then import pygame:

> python

>>> import pygame
>>> pygame 2.0.0 (SDL 2.0.12, python 3.9.0)
Hello from the pygame community. https://www.pygame.org/contribute.html

The version should print. If you get an error, install Pygame with pip or conda.

If you have the latest version of Pygame, it will be 2.0.0+. This is bad.

Right now you can only change the PyGame version this project uses with PyCharm.

Install PyCharm Community Edition if you don't have it. https://www.jetbrains.com/pycharm/download/

Go to File --> Settings.

Pycharm 1

Go to Project --> Project Interpreter and change PyGame's version to 1.9.5.

Pycharm 2

STEP 3: Put your data address into the code.

At lines 1002 and 1004 in show_imgs.py, edit the strings to read your addresses:

EditCode

STEP 4: Run the program in PyCharm

Ensure its set to show_imgs.py and press play.

Pycharm 3

WARNING: Running from CMD

> cd Image-Labeller
> python show_imgs.py

Will run with the wrong version of PyGame (Pygame 2.0.0)


I'm aware it's not in the best shape yet, but hopefully you get something out of it!


Buy me a coffee! I accept payment in many cryptos

  • OCEAN (ERC20 Token): 0x0C39971Ed42a2A1Fe33B3602255773F64D0B420b
  • ETH: 0x0C39971Ed42a2A1Fe33B3602255773F64D0B420b
  • DOT: 13rE2D1feUgttDNx43VsUV1wnPjUZMhyu9Moe7Bm6sPCiKeF
  • XLM: GD5E6WEKWSVYKPDQUXRTH7M45NXFJMDTPX4FOY442W64NPEG3MFUQZH6
  • ATOM: cosmos1cx8ta66aesry3vn6wvdx0hclh9z4gpzgcjrf83
  • KSM: FRYYC6UR4SMCLBss7FvEHYo5N24fiy2H2U4sUUN2aaBH8ir
  • ADA: addr1q8zz3j9tq73kdf5rvy9jf0eaqxufea06rmm2y2uh55fjkgzckv86rrv9grdpsjdxgte9fn920ktgrkl95ujyq8f8mlwsuyc99t
  • EOS: SarahKay1999-EOS596Q5cS1AuVcWWsUpK1NDZLdMyeQe1NEGBL7bqL446xcEm9KE8
  • BTC: 32nx9m8eQKH8KKdpNVPewQZmERCNsi4pMq

About

A simple Python app to annotate images in the DarkNet format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages