How asifahmedakash/color_recognition_unity works
This appears to be a Unity application combining image-based digit prediction with AR and color-selection features. The clearest evidenced runtime is the Python ZeroMQ prediction server: it receives a 28×28 float image, runs a loaded Keras model, and returns prediction bytes. The tree also shows Unity request, pixel-handling, AR, color-picker, and graph components, but their source was not excerpted and the README is empty. Accordingly, links involving those components are marked dashed and unevidenced rather than asserted as verified calls.
Main entry points: main.py Prediction server · PredictionClient.cs Prediction client · PredictionRequester.cs Prediction requester · AnchorCreator.cs AR anchor creation
Components 14
Digit prediction
- Prediction server
PythonServer/main.py - Keras model
PythonServer/model.h5
Unity client
- Prediction client
Assets/Scripts/PredictionClient.cs - Prediction requester
Assets/Scripts/PredictionRequester.cs - Pixel handler
Assets/Scripts/PixelHandler.cs - Pixels handler
Assets/Scripts/PixelsHandler.cs
AR features
- AR anchor creation
Assets/ExampleAssets/Scripts/AnchorCreator.cs - AR plane visualizer
Assets/ExampleAssets/Scripts/ARFeatheredPlaneMeshVisualizer.cs
Visual tools
- Color picker
Assets/FlexibleColorPicker/Scripts/FlexibleColorPicker.cs - Color extraction
Assets/ColorThief.cs - Color drawing
Assets/DrawColor.cs - Graph window
Assets/WindowGraph.cs
Other components
- App user
- ZeroMQ client
Connections 14
- App user → Prediction client: uses
- Prediction client → Prediction requester: dispatches
- Prediction requester → Pixel handler: uses pixels
- Prediction requester → Pixels handler: uses pixels
- Prediction client → Prediction server: requests prediction
- Prediction server → Keras model: loads
PythonServer/main.py - ZeroMQ client → Prediction server: sends image
- Prediction server → ZeroMQ client: returns prediction
- App user → AR anchor creation: uses AR
- AR anchor creation → AR plane visualizer: creates scene content
- App user → Color picker: selects color
- App user → Color extraction: uses extraction
- App user → Color drawing: uses drawing
- App user → Graph window: views graph