Working Camera!

Working Camera!

by Alzter

👁 2,489 ❤️ 174 ⭐ 154 🔄 9
Created: Mar 23, 2022 Last modified: Mar 24, 2022 Shared: Mar 24, 2022

Description

For faster pictures go to: https://turbowarp.org/664466966?turbo This project combines screen scanning with Scratch's video sensing add-on to effectively screenshot the project window while video input is on to take a photo. Screen scanning is a method of taking screenshots of a Scratch project by scanning every single pixel of the stage (determining each pixel's colour while doing so), then saving the colour data to a list so an image can be outputted. This could probably still be optimized more to make photo taking faster but I'm not too bothered to change it yet! https://scratch.mit.edu/projects/349269238/ I also used screen scanning in this project to apply transformations to screenshots taken, squashing and stretching them by changing the scale X and Y of the output image. CREDITS: @frodewin's colour detector is used to detect the colours of pixels on the screen: https://scratch.mit.edu/projects/13412067/ An optimization from @HTV04's screen scanner was used to make the scanning process faster: https://scratch.mit.edu/projects/273108529/ And @DevanWolf's delta timer was used to make the UI animate at the same speed regardless of turbo mode. https://scratch.mit.edu/projects/60224648/

Instructions

This project allows you to take pictures using your webcam! Please stand still while the photo is being taken as moving can distort the image. These pictures are NOT stored online and are only accessible from your device, UNLESS you share a remix of the project containing a photo. Your photos will be inaccessible to anybody else for privacy reasons. If you share a remix of this project with your own photo, only you will be able to see it (when logged in to your account), and it will be automatically deleted for everybody else trying to view it. That being said, please do NOT share remixes of the project that contain photos taken of yourself and others, unless everyone in the photo (and their parents if they are under the legal age) have consented to having the photo be online, as it will still be on Scratch's servers if you share a remix.

Project Details

Visibility
Visible
Comments
Enabled