Skip to content
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

Investigate text overlay on preview #16

Closed
waveform80 opened this issue Oct 30, 2013 · 12 comments
Closed

Investigate text overlay on preview #16

waveform80 opened this issue Oct 30, 2013 · 12 comments
Assignees
Milestone

Comments

@waveform80
Copy link
Owner

There's been some work on this with OpenGL/ES on the Pi forums. See if you can dig out the post again for investigation

@ghost ghost assigned waveform80 Oct 30, 2013
@waveform80
Copy link
Owner Author

Seems like there's been some significant progress on the MMAL side of things according to this forum post. Must investigate and see if this can be used for text (or any other?) overlay

@ducky007
Copy link

ducky007 commented Jan 5, 2014

I'd love to see an easy way via PiCamera to be able to overlay at least text over the live preview.

@martinohanlon
Copy link

I would second this. It would be really useful to be able to overlay an
image onto the camera output. Images are great for data overlay add they
can be anything, including text.
On 5 Jan 2014 20:05, "ducky007" notifications@github.com wrote:

I'd love to see an easy way via PiCamera to be able to overlay at least
text over the live preview.


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-31613921
.

@waveform80
Copy link
Owner Author

Text is certainly my initial goal (I'd like it for my picroscopy project), and/or rudimentary graphics - unfortunately I can say that this definitely won't be in the 1.0 release this month. The main reason is that my OpenGL/ES knowledge is basically nil so I'm going to have to do a bit of reading before tackling this one (hence the lack of a milestone on the ticket!). Still, it's definitely up there on the todo list!

@martinohanlon
Copy link

This definitely feels like a 1.1+ piece of functionality. It might be
worth calling out the community to see if anyone would be interested in
picking this up, there are a lot of guys who have experience on OpenGL/ES
and a lot of work has already been done.

On Mon, Jan 6, 2014 at 1:15 AM, Dave Jones notifications@github.com wrote:

Text is certainly my initial goal (I'd like it for my picroscopy project),
and/or rudimentary graphics - unfortunately I can say that this definitely
won't be in the 1.0 release this month. The main reason is that my
OpenGL/ES knowledge is basically nil so I'm going to have to do a bit of
reading before tackling this one (hence the lack of a milestone on the
ticket!). Still, it's definitely up there on the todo list!


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-31621692
.

Blog - www.stuffaboutcode.com

Twitter - @martinohanlon
http://twitter.com/intent/user?screen_name=martinohanlon

@fedes82
Copy link

fedes82 commented Jan 20, 2014

hi. has been any improvment in the add of this functionality? would like to help, but i have no knowledge about opengl and such and it seem to be quite complex to learn. Is not that i wouldn't like to. is there any hope of this getting in the next release?, if so, is there any aproximate date of when it would be released?, I'm asking becouse I'm working on a proyect that would get sensitive better with this working.
Thanks for your work!, this module is really easy to use and really helpful too.
ps: sorry my english

@waveform80
Copy link
Owner Author

At the moment, I haven't had any time to look into this. I can say it definitely won't be in the next release, because I'm planning to make a release this week with the fix for #40 (which is a sufficiently nasty bug that it warrants a reasonably swift release to fix it). At the moment, I can't provide any particular estimate for when I'll have time to start learning about this stuff - perhaps next month? But how long it'll take to implement after that, I couldn't say.

waveform80 added a commit that referenced this issue Feb 2, 2014
Still no idea exactly what this does, but hopefully it'll come in useful
when I start tackling #16
@waveform80
Copy link
Owner Author

Keep in mind this forum post from 6by9 - handy info!

@waveform80
Copy link
Owner Author

Another forum post with useful info! Can we get this in for 1.7 this week?

@waveform80 waveform80 added this to the 1.7 milestone Aug 5, 2014
@martinohanlon
Copy link

This would definitely be useful, if we (i.e. you) can get it in the next release it would be great.

waveform80 added a commit that referenced this issue Aug 7, 2014
and update the date for the planned release tomorrow
waveform80 added a commit that referenced this issue Aug 7, 2014
@waveform80
Copy link
Owner Author

The stuff from 6by9's forum post about extra semi-transparent preview layers is proving very interesting. I've now got a prototype working which allows an arbitrary numpy array to specify the content of a preview overlay! The problem is figuring out a nice pythonic API for this. I think for now, getting the text annotation in is a big enough win for 1.7 so I'll open another ticket for the arbitrary overlays and target it for 1.8

@martinohanlon
Copy link

Very exciting. Im itching to get an overview onto the video on file. I'll have a go with the text overlay as soon as I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants