Project Info
This project did not submit a demo video on Devpost.
Inspiration
Resistors very small and difficult to read the color bands to determine their resistance. It is especially difficult with those who have difficulty seeing as well as those who are color blind.
What it does
Upload a picture of a resistor, select the resistor, and get the resistance value.
How we built it
We built the application with Next.JS as our frontend framework, Auth0 for authentication, Flask for our backend API, Segment Anything by Meta for object detection and masking, and OpenCV for image manipulation.
Challenges we ran into
Color classification is a difficult problem, and one that might not have a straight-forward implementation to solve. The project was ambitious for a weekend, especially due to our limited knowledge of computer vision.
Accomplishments we're proud of
We are proud to have a website that can mask an object a user selects.
What's next
We hope to have a basic color classifier to eventually begin predictions for resistance values.
Analysis
View
Metric
- 18
- 9
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- FlaskIn code
- JavaScriptIn code
- Next.jsIn code
- PythonIn code
- PyTorchIn code
- ReactIn code
- Tailwind CSSIn code
- TypeScriptIn code
9 of 9 appear in the indexed code.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
55 KB
Source files
34
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
bearcbass/Ohm_Snap
81 files · 14.6 MB · @ 4f58836
Structure
Interface
13 files · 16%Screens, components and styles rendered to the user.
API & routing
1 file · 1%Request entry points: routes, handlers and controllers.
Application logic
17 files · 21%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- Python63%
- TypeScript32%
- Markdown3%
- CSS1%
- Shell1%
- JavaScript0%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
backend/requirements.txt
pypi · 65- asgiref
- blinker
- certifi
- charset-normalizer
- click
- coloredlogs
- contourpy
- cycler
- dnspython
- ecdsa
- filelock
- Flask
- Flask-Cors
- Flask-PyMongo
- flatbuffers
- fonttools
- fsspec
- humanfriendly
- +47 more
frontend/package.json
npm · 19- @auth0/nextjs-auth0
- @tailwindcss/nesting
- @tailwindcss/typography
- next
- onnxruntime-web
- react
- react-dom
- react-refresh
- tailwindcss-debug-screens
- underscore
- +9 more
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.