jim mccormack
Published © MIT

OpenCV Destroys ChatGPT4 Vision

We use our tried-and-true OpenCV library to best the multimillion-dollar ChatGPT4 Vision and prove that newer is not always better!

IntermediateFull instructions provided6 hours205
OpenCV Destroys ChatGPT4 Vision

Things used in this project

Software apps and online services

OpenCV
OpenCV
This projects OpenCV and a number of common python libraries. Be sure to visit the GitHub repo to review the code and import statements for libraries required. A quick summary is presented below: # Import necessary libraries import cv2 # OpenCV for image processing from PIL import ImageOps # PIL for image operations like cropping and padding import numpy as np # NumPy for numerical operations and array handling import gradio as gr # Gradio to create a web interface for the application
Python

Story

Read more

Schematics

Pip Counter flow chart

Please see the GitHub repo link for complete details in the readme file

Pipcounter

Attached is a flow chart for the application logic.

Code

An application we call the "Pipcounter" to count your dominoes Pips from a picture.

An elegant and concise python program to count the pips on your dominoes for scoring Run the code and be sure to try the sample images to test it. This program works best with a modern cell phone camera with images taken from directly over your dominoes. Hi res photos and decent light work best. Be sure to watch the video and ask any questions in the comments section (https://github.com/jjmlovesgit/pipcounter/assets/47751509/8b3369d0-6b61-419e-9650-968547303885) YouTube Video Link: https://youtu.be/0Kgm_aLunAo

pipcounter

An application to count pips from images off you phone to help you keep score in dominoes. Please see GitHub and the readme for details.

Credits

jim mccormack

jim mccormack

2 projects • 1 follower

Comments