Skip to content

foobar167/junkyard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foobar's junkyard

Chaotic collection of test files, probes, hacks and ideas.

  1. Manual image annotation with polygons

Manual image annotation opens image where user can select polygon areas around the objects of interest. After selecting region of interest user presses menu button and program cuts rectangular images from selected polygons with a scanning window.

Manual image annotation with polygons

  1. Manual image annotation with rectangles

Manual image annotation creates rectangular images with selected areas of interest (ROI). User opens image and selects rectangular areas of interest. After selecting rectangles and pressing menu button program cuts rectangle images from the bigger image.

Manual image annotation with rectangles

  1. Image viewer

Image viewer shows image and prints coordinates of the rectangular area in the console.

Image viewer

  1. Advanced zoom

Advanced zoom for images of various formats and sizes from small to huge up to several GB.

Advanced zoom

  1. C extension for Python

C language extension for Python language by example of co-occurrence matrix calculation.

  1. OpenCV + Tkinter snapshot GUI

Take shapshot using webcamera, OpenCV and Tkinter. Example is well documented and has many comments inside.

OpenCV + Tkinter snapshot GUI

  1. OpenCV features

Demo of various OpenCV features. Application is tested for Windows OS and requires webcamera.

OpenCV features

  1. Multilanguage for Python

How-to implement multilanguage for Python.

  1. Dynamic menu

Example of the dynamic menu for Tkinter GUI.

  1. Rolling window for 2D array

Example of the rolling window for 2D array. It has zero Python cycles inside, so the speed is the same as in C programming language.

  1. SIFT object tracking

Example of the objects tracking using SIFT algorithm. SIFT algorithm is free of charge for non-commercial projects.

  1. Open GUI: python sift_tracking.py.
  2. Place object in front of webcamera, so it take all visible space.
  3. Press "Snapshot!" button. Application will make snapshort of the object to track.
  4. After taking snapshort there will be blue rectangle around tracking object and green lines connecting specian points of the image.

Rectangular objects, like books, are tracked better than faces.

SIFT object tracking

  1. Tkinter progressbar

Example of the Tkinter progressbar GUI.

Tkinter progressbar