Comments (2)
Ali, this is the issue I spoke to you about.
The Parameter classes are still in continual evolution, but with a proper design, it will be fairly easy to add to them as they grow.
Each module has its own Parameter class, all of which are read/write accessible from Menu.cpp as Core::Params _params;.
Within this, you have the following hierarchy of module parameters accessible with these functions.
- GetCaptureParams();
- GetVisionParams();
- GetDepthObstacleParams();
- GetTrafficLightParams();
- GetStopSignParams();
- GetControlParams();
The basic idea is composed of the following steps/implementations.
- A text file format that stores parameters separated by Module (i.e. 1 header per module, with all its parameters below it in the format parameter_name=123).
- Class that takes a pointer to Core::Params and populates it with parameters of all submodules.
- Function that generates a stock params file with default if it doesn't exist, and adds missing/invalid entries to an existing file.
- Function that parses the text file and writes to the Core::Params class.
Optional:
- Function that saves the parameters in memory to file (WRITE mode).
- Function that refreshes the parameters in runtime (if text file was modified by user).
from blindaid.
Using command line argument parameters instead.
from blindaid.
Related Issues (20)
- Integrate Unit Testing Framework into Project. HOT 1
- Investigate the use of Deep/Machine Learning for Traffic Light Detection. HOT 2
- Write Unit Tests for various Modules. HOT 1
- Implement Framework to store Test Image with Expected Detections.
- Look into procedure to port code to Embedded Platform. HOT 1
- Implement mapping function from nearest pixel intensity value to glove control value. HOT 2
- Implement proper config file loading/validating mechanic that creates new file if nonexistant or invalid. HOT 1
- Implement Record module that saves color and depth image streams to disk.
- Add detection of Green and Yellow traffic lights. HOT 1
- Implement Consecutive Counter for Vision Detections. HOT 2
- Design Pixel Intensity to Arduino Control Value Mapping Function.
- Convert Capture/Control Module Base Classes to Factory Pattern.
- Add New Control Parameters to Customize the Commands Sent to the Glove. HOT 1
- Decide on and Implement Functionality of 6th Vibrator. HOT 1
- Implement Audio Feedback for Traffic Light Detection. HOT 1
- Fix Persistence of Parameters when Running Multiple Modes without Restarting.
- Gradual memory leak in Realsense SDK.
- Bluetooth CSerial COM port class not working with Asus BT400 USB module.
- Capture test images/videos of typical/challenging detection scenarios. HOT 1
- Improve Display Module persistence and user friendliness. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blindaid.