-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alg_roi.jpg store into memory directly as JPG #1799
Comments
Maybe this could be done together with #1187 |
As far as i understand, the framebuffers are directly JPG. |
These are my ideas: Advantages:
I provide a draft the next days, then you can test and have a look to the proposal. #1187: This means some text needs to be included in the image, right? Do you have an idea / library how to include this? |
The image manipulation is done by setting single pixels in an image array (CImageBasis::setPixelColor). Whatever element you'd like to include you have to program it pixel by pixel. As long there is no library, this could be a lot of work. As far as I can see right now there are only basic elements like line, rectangle, circle, elipse. A text library would be great... |
but a text library again adds RAM usage, drawing a simple icon might be more efficient |
If you want, I can create icons for those 2 cases |
Yes, an overlay on the UI would be ok too, but is tricky to implement. The Web UI only works with polling, which means that the status information might not get loaded at the same time as the image. Also one could pull the image separately and eg. show it in Homeassistant. Then we would miss the icons |
The image on the webinterface is also only updated with polling (e.g. page refresh). With the refresh of the page or automatic refresh after the specified time the status text is going to be updated, as well (like it's done already) |
Writing text to the image: I use |
doing it directly on the image would save us the hassle with the UI only partially working//updating! I would be happy to provide some drawing instructions |
For sure you can provide some drawings if you want :-) |
@Slider0007 During the step |
@caco3: Actually, in the step "Take Image" it starts with a black image and then you see the image building up line by line, but this takes only a few secs before it switches to alignment step. Therefore this "image capture process" could be skipped for sure. I was also thinking about this during my coding. Providing an alternative image during "Take Image" step would be an option, also to avoid the black screen at the beginning of the process. What is also missing is the visualization when flow is not started yet. Also for this we could show an indication image which is loaded from SD. Possible steps:
What do you think? |
I like your proposal! Just seeing a lack picture can really be confusing, there where already a few questions because of this. |
The Feature
Store alg_roi.jpg into memory directly as JPG
The text was updated successfully, but these errors were encountered: