Discuss Scratch

JonathanSchaffer
Scratcher
1000+ posts

Picamera extention

I dont know how to make extensions, but can anyone make a Raspberry pi camera extention for linux scratch 1.4
with:
start video::extension
take photo::extension
end video::extension
take video () seconds long::extension

Last edited by JonathanSchaffer (Feb. 20, 2016 16:12:32)

francofantino
Scratcher
43 posts

Picamera extention

JonathanSchaffer wrote:

I dont know how to make extensions, but can anyone make a Raspberry pi camera extention for linux scratch 1.4
with:
start video::extension
take photo::extension
end video::extension
take video () seconds long::extension
Might be a little hard to make…
caesarion
New Scratcher
15 posts

Picamera extention

you can find a good description for ScratchX estensions at the official wiki:
https://github.com/LLK/scratchx/wiki

You will probably also need a helper application that gives you camera access because I do not think that this is possible in JavaScript. I had this problem when I planned to program UDP sockets, which you cannot access in JavaScript.

Last edited by caesarion (March 3, 2016 12:05:40)

hictooth
New Scratcher
4 posts

Picamera extention

The question would be what you want to do with the image/video after you've taken it. If you just want to save it to an SD card, or upload it to dropbox/imgur/etc then that's fine, but actually importing the image as a sprite/background is more tricky.
JonathanSchaffer
Scratcher
1000+ posts

Picamera extention

hictooth wrote:

The question would be what you want to do with the image/video after you've taken it. If you just want to save it to an SD card, or upload it to dropbox/imgur/etc then that's fine, but actually importing the image as a sprite/background is more tricky.
Wow necropost!
Default would be 1.jpg, then 2.jpg, then 3, etc.

Last edited by JonathanSchaffer (March 7, 2016 21:47:35)

Powered by DjangoBB