Skip to content

foobar167/junkyard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python collection of tests, probes, hacks and ideas

  1. PyTorch Tutorial
  2. Object tracking
  3. Python notes and links to interesting places
  4. Image Processing with Python
  5. General object classifier
  6. OpenCV Filtering GUI
  7. Sending emails with Python
  8. Manual image annotation with polygons
  9. Manual image annotation with rectangles
  10. Image viewer
  11. Advanced zoom
  12. C extension for Python
  13. OpenCV + Tkinter snapshot GUI
  14. OpenCV features
  15. Multilanguage for Python
  16. Dynamic menu
  17. Rolling window on NumPy arrays
  18. Tkinter progressbar

Python scripts for Google Coral USB Accelerator.

Google Coral USB Accelerator


PyTorch tutorial with Aladdin Persson in Google CoLab. In this folder are Jupyter *.ipynb copies. Here is the online CoLab replica of this original course.

Aladdin Persson logo


Object tracking using OpenCV feature detectors (detectors) and descriptor extractors (descriptors) algorithms with GUI for fun, tests and education.

Snapshot from application

Previous simple script is here SIFT object tracking. SIFT algorithm became free since March 2020.


Bookmarks to remember and re-visit.


My replica of this original course: Image Processing with Python.

Image Processing with Python


Classifies 3 types of bears: bronw, black and teddy bear.

Bear classifier

Object classifier is based on:

  • Python and fast.ai for model training through deep learning;
  • Render cloud provider to deploy your code in web.
  • Flutter mobile development framework with a single code base for Android and iOS applications;
  • Firebase for Google Analytics.

And consists of 3 components:

  1. model training script - Jupyter (Colab) script to train a classification model.
  2. web app - starter project to deploy a trained classification model to the web.
  3. mobile app - mobile application which connect your web app with mobile phone (tested for Android).

OpenCV Filtering GUI is a set of various realtime filters to process images from the webcam. This GUI is based on the previous OpenCV features demo with enhanced Tkinter controls for user-friendly OpenCV real-time filters demonstration.

OpenCV Filtering GUI


Sending emails with Python.

Sending emails with Python


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


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


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

Image viewer


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

Advanced zoom


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


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

OpenCV + Tkinter snapshot GUI


Demo of various OpenCV features. Application is tested for Windows OS and requires webcam. There is a newer version with GUI.

OpenCV features


How-to implement multilanguage for Python.


Example of the dynamic menu for Tkinter GUI.


General examples for 1D, 2D, 3D and MD rolling window arrays in the on-line CoLab notebook.

It has zero Python cycles inside, so the speed is the same as in C programming language.

Rolling window on NumPy arrays

My previous examples of the rolling window for 2D array are here and here.


Example of the Tkinter progressbar GUI.

Tkinter progressbar