Discuss Scratch

theonlygusti
Scratcher
1000+ posts

Take snapshot with webcam

stickfiregames wrote:

JayMrGogo wrote:

even if a picture of the person was captured, it could not be viewed by anyone else as you cannot store anything but numbers in cloud variables.

You can convert a static image on the screen into numbers using
touchingcolor?
blocks.
Yes, but that takes so long users will probably just quit the project before it finishes.
Support for this, but not allowing it to be used in the same project as cloud variables
I support the idea, it could just become a layer that isn't visible to Sprites, so it is drawn after everything else.
PrincessProgramming
New Scratcher
1 post

Take snapshot with webcam

I'm a new scratch user and although it is kind of a small privacy issue I don't understand why can they not just add blocks like
Screenshot
changebackroundtoscrennshot)
<- (hope this looks like scratch blocks)

I really hope that maby scratch will add such blocks.
All i want to do is take a picture and set it as stage….scratch can just add a “use wisely” or something that displays everytime you use that block

(if you have any good project ideas for me to make i'd love to try them thanks
theonlygusti
Scratcher
1000+ posts

Take snapshot with webcam

Maybe a block
picturefromwebcamera
Which could be implemented like this:
switchbackdroptopicturefromwebcamera
stickfiregames
Scratcher
1000+ posts

Take snapshot with webcam

TheHockeyist wrote:

Diamond_Projects wrote:

FalconGunner99 wrote:

How is this a privacy issue and the regular webcam not? And anyways, they probably wouldn't add any way for them to go anywhere except to a temporary costume
You can encrypt the picture to a number and save it on a cloud variable, and decrypt it later, with pen and good programming skills.

Please don't necropost. Anyways, this would be debatable. Encoding the thing would take minutes, if not hours. And who will sit still for that long? I doubt you could possibly take a picture with the thing if it takes hours to do. Also, storing the numbers on a cloud variable might compromise user privacy.
They wouldn't have to sit still because the video would be frozen.
I think this feature would be OK, but maybe it should be restricted when used in the same project as cloud variables.
theonlygusti
Scratcher
1000+ posts

Take snapshot with webcam

stickfiregames wrote:

TheHockeyist wrote:

Diamond_Projects wrote:

FalconGunner99 wrote:

How is this a privacy issue and the regular webcam not? And anyways, they probably wouldn't add any way for them to go anywhere except to a temporary costume
You can encrypt the picture to a number and save it on a cloud variable, and decrypt it later, with pen and good programming skills.

Please don't necropost. Anyways, this would be debatable. Encoding the thing would take minutes, if not hours. And who will sit still for that long? I doubt you could possibly take a picture with the thing if it takes hours to do. Also, storing the numbers on a cloud variable might compromise user privacy.
They wouldn't have to sit still because the video would be frozen.
I think this feature would be OK, but maybe it should be restricted when used in the same project as cloud variables.
Why? There is no way that anyone is going to keep the project up for the half-hour it takes to encrypt the image, and even if that is a risk, just draw the image after scripts processing, so that Sprites cannot interact with it.
JoshyRobot
Scratcher
25 posts

Take snapshot with webcam

NoxSpooth wrote:

spgame05 wrote:

MeDiaMond wrote:

No support, because it'd be possible to take a photo of someone without their permission and it's also possible to save pictures in cloud variables.
This may be possible already if you have clones and great programming skills.
How so?
This: http://scratch.mit.edu/projects/17358244/
Houdiny
Scratcher
93 posts

Take snapshot with webcam

PrincessPanda_test_ wrote:

Sorry, no support. That would abuse privacy
Well but some people might just hide this system in theyr project! Like you can trick people saying/making that the project interacts with your camera for some need, and the video capcuring system would be hid inside the scripts. Nobody in the world has the skill to spot a imaging system in some complicated scripts. Also there could be a thing that you would agree to the project that you will let your face to be saved in cloud variables. Oh by the way, nice to meet you again, and remember any project could hide information collecting scripts!
ealgase
Scratcher
100+ posts

Take snapshot with webcam

Williamja wrote:

That's a good idea, but how about new COSTUME of the sprite that the “capture video” block was ran in.

Example:

If this is the code for a sprite called Sprite1:
when flag clicked
turn video on
capture video as “Costume2222”

then a new costume (which is the picture) would be added to “Sprite1” named “Costume2222”
If there's already a Costume2222, it will delete it and replace it with the new one. With this, I could make a video taking system and maybe… a video sending system in scratch!
whenclickedturnvideooncapturevideoasCostume2222
Support with the above idea.
Chevronbae
New Scratcher
15 posts

Take snapshot with webcam

Hi every one! I need some help! BIG TIME!!!!!!! I know how to put the camera on scratch but I don't know how to take a picture? Any advise or code I could use?
whenIreceiveturnvideo ongotox:0y:0show

whenclickedturnvideooffhide



Thats what I did for the box. I can not make it in the box!!! It goes out of the box!!!!!!! Here is the link if you like to see it for yourself-https://scratch.mit.edu/projects/92241408/#player
alexphan
Scratcher
1000+ posts

Take snapshot with webcam

Chevronbae wrote:

Hi every one! I need some help! BIG TIME!!!!!!! I know how to put the camera on scratch but I don't know how to take a picture? Any advise or code I could use?
whenIreceiveturnvideo ongotox:0y:0show

whenclickedturnvideooffhide



Thats what I did for the box. I can not make it in the box!!! It goes out of the box!!!!!!! Here is the link if you like to see it for yourself-https://scratch.mit.edu/projects/92241408/#player

Currently you can't take pictures with the webcam.
Also please don't necropost or post a question on a topic. Instead make a new topic.
Studio04040807
Scratcher
100+ posts

Take snapshot with webcam

You could try having a list, with every single color possible (as a number) and using these blocks without screen refresh:
To take a picture of the screen:
definesavestagetolistgotox:-240y:177deleteallofpicturePicture is the list the picture is going to be stored inrepeatuntilyposition=-179changeyby-1repeatuntiltouchingedge?changexby1setcounterto0repeatuntiltouchingcoloritemcounterofevery single possible color as a number?changecounterby1addcountertopicturechangexby-1repeatuntiltouchingedge?changexby-1changexby1
To put that picture on the screen:
definesetstagetolistgotox:-240y:177setcounterto0repeatuntilyposition=-179pendownchangeyby-1repeatuntiltouchingedge?changexby1changecounterby1setpencolortoitemcounterofevery single possible color as a numberpenupchangexby-1repeatuntiltouchingedge?changexby-1changexby1
That's the best I can suggest, but it might take a while to put every color possible in a list,since first you would need to figure out every single color possible.
Also, yes, you can put reporter blocks in color inputs.
This is a possible answer to the question just above.

Last edited by Studio04040807 (March 10, 2016 03:07:21)

Sheep_maker
Scratcher
1000+ posts

Take snapshot with webcam

Support for
coloratx:0y:0default values update to current position
which can be used to save and render a picture of the screen (+ more uses!)
therealpsy
Scratcher
1000+ posts

Take snapshot with webcam

no support because sometimes people want to stay anonymous on Scratch
IronBit_Studios
Scratcher
1000+ posts

Take snapshot with webcam

NO.
Privacy issues are at stake here.
Gaza101
Scratcher
500+ posts

Take snapshot with webcam

I suppose a potential alternative could be adding the ability to freeze the webcam.

pausevideoresumevideo
Zekrom01
Scratcher
1000+ posts

Take snapshot with webcam

IronBit_Studios wrote:

NO.
Privacy issues are at stake here.
pvz_pro
Scratcher
500+ posts

Take snapshot with webcam

no support, the ST can not break the guidelines, because if they did they would get fired
Gaza101
Scratcher
500+ posts

Take snapshot with webcam

pvz_pro wrote:

no support, the ST can not break the guidelines, because if they did they would get fired
They can change their own guidelines, you know.
FalconGunner99
Scratcher
1000+ posts

Take snapshot with webcam

therealpsy wrote:

no support because sometimes people want to stay anonymous on Scratch

IronBit_Studios wrote:

NO.
Privacy issues are at stake here.

pvz_pro wrote:

no support, the ST can not break the guidelines, because if they did they would get fired
Wat counter: 3

There are no privacy issues here, as mentioned by multiple people earlier in the thread. The pictures would be stored locally, not uploaded to scratch's servers. You could encode them to a list in theory, but it would be very impractical and the project would be taken down before any damage could be done with it.
halfbyte-gamedev
Scratcher
1 post

Take snapshot with webcam

Why couldn't they add this…

addwebcampicturetobackdropsas

Powered by DjangoBB