Comments (19)
I'm sure there's a way to do it. RPI camera or web cam with images sent to
the browser (mjpeg)... something like that.
Wouldn't be worried about CPU (Moore wouldn't be):
http://www.theregister.co.uk/2015/02/02/raspberry_pi_model_2/
If anyone is interested in having a camera watch their build progress on
their Raspberry Pi, buy this:
http://www.adafruit.com/product/1367
and ship it to me.
I'll see what I can do to integrate it into the host. I certainly am not
going to guarantee video since I'm a little suspicious that we aren't going
to have enough CPU to get this done, we might be able to take a picture
every once in a while though...
—
Reply to this email directly or view it on GitHub
#17.
from photonic3d.
Take a look at octoprint, this software has already webcam integration on the PI :)! So it's possible ;)! This even works with cheap non raspbarry Pi camera's ;)! And sorry I need to save my money again... I'm just a student and I just bought a dlp printer... Altough I can test iT for you ;)! I've got a raspberry PI cam ;)! Maybe we can test it by teamviewer so you can do all the SSH work yourself ;) and extraxt the log files you need!
from photonic3d.
Implemented in version .89
I should also mention this is completely untested. :)
from photonic3d.
This isn't working. I forgot a key piece to make this work. I'll see if I can't get this working this week.
from photonic3d.
Fixed now, start recording/stop recording of your build, then press the play button on the video. Pretty simple to use.
This will now support any raw h264 stream(many cameras out there) that you can send through to it. You will NOT need to install ffmpeg for this since everything is handled in Java native code. Everything is pretty much ready to go for the Raspberry Pi camera, the config.properties gives an example of how to use the pi camera at 100/100 pixels.
Recording in full HD worked like a dream on the new Raspberry Pi B+. If you are recording in HD and/or your recording long amounts of video you'll need to increase your max memory for Java. As you might expect, OutOfMemeoryExceptions are going to be much more common with video processing if you don't take precautions.
Working in version cwh-0.100.
If there is interest, I'll see if I can get real time streaming with DASH.
from photonic3d.
I can;t get this to work... I use a new raspberry pi 2 with the original pi camera... When I try to record by raspvid by SSH the red led start to light up so I guess it works... but not in creation workshop host... Altough I get an error about openbox (dont know what it is) ... could this be a problem for creation workshop host?
from photonic3d.
I'll need logs to determine what happened. Where do you see the error about openbox.
from photonic3d.
CWhost won't display Pi Camera Picture but raspistill works from command line.
from photonic3d.
Odd, I just tested it last night and it was working for me? All I did was install the camera on the RPi2B and booted up. Then I click the "Record Video" button and I see the camera activate. Later, I click "Stop Recording Video" and then i can click the "play" button on the embedded view and it replays what was recorded.
I did sort of think it was going to also stream the images to the web UI, but after re-reading the above, it seems that is not yet implemented?
from photonic3d.
Ok that record video works but the left frame still says "image not available"
from photonic3d.
The left frame will show you the current slice being projected, not any frame grabs from the camera. Try uploading the calibration .cws file and do a dry run of the job (no resin, and don't forget the Draken has a print bed auto calibration sequence coded into the GCode before it does a print). You should see each frame as it being projected also shown in that left image.
from photonic3d.
It sounds like your camera is configured properly. Can I get a bit more
information from you on this? What steps can I take to reproduce this
problem? In other words, which of the following steps doesn't work for you.
- Press "Record Video" button
- Wait for the desired amount of time.
- Press "Stop Recording Video" button
- Wait until the first frame of the recently recorded video is shown on
the web page. - Press the "Play" triangle button on the newly created HTML55 video.
Thanks,
Wes G.
On 7/14/2015 2:32 PM, SouthPaw-42 wrote:
CWSort won't display Pi Camera Picture but raspistill works from
command line.—
Reply to this email directly or view it on GitHub
#17 (comment).
from photonic3d.
Sorry apparently I'm responding to old posts...
from photonic3d.
@WesGilster Hi I thought you had some other features implemented. Would be great if you could take a picture with the Camera when specfic gcode is sent to printer. Example when the Build platform is raised and stop you could take a pic and put in folder then when print is done make a animated GIF from pictures.
I would also display the most recent picture in the UI so you can chenck if the print has failed.
from photonic3d.
What other features did you think I had implemented? Feel free to add another feature request! This sounds like a cool feature I'll mark this thread as a feature and rename the title. I'll integrate this feature with the resin level detection feature since it's really a subset of that issue. If you guys are interested in a stream feature, open another issue. I haven't worked on this in weeks because I didn't really see much interest or testing going on... Seems to be increasing a little bit now.
from photonic3d.
1.) Take a still picture every X seconds and display. Lets you check up on print progress.
X would be a field on the page.
2.) Take a sill picture every time a specfic gcode was sent to printer the picture would be displayed and stored.
gcode would be a field on the form.
When print is completed user would have option to make an animated GIF from pictures.
from photonic3d.
I'll work on the taking still picture based on gcode this weekend along with the empty resin vat detection. Keep in mind, that we've really outgrown this gui and I'm really just throwing it together on the main page. The Gui rewrite will make things look pretty again.
from photonic3d.
Backend functionality is complete, plus you can take pictures of different sizes now: cwh-0.136
from photonic3d.
Completed and tested in cwh-0.178 with new GUI.
New gui allows taking pictures while a print is in progress through the print job. Just click on the "Take Picture" button...
from photonic3d.
Related Issues (20)
- [BUG] : double skinName needed in API request HOT 1
- Any plan for locales? HOT 1
- Automatic on / off the projector. HOT 2
- Weird Java Error I can't get to the bottom of... hopefully it's a quick nudge for one of the masters here HOT 15
- Fall back on systemd if init.d isn't available HOT 10
- Offline printing! HOT 9
- Installation Help HOT 5
- Debugging Help
- Printer set up HOT 2
- Display and wifi stopped working after update HOT 1
- laser 3D printer HOT 1
- Does photonics respect the layer setting in CWS gcode? HOT 1
- Is the project dead? HOT 8
- KLD-LCD1260 Profile HOT 7
- Linux Install destroys Config. NO WARNING HOT 10
- How to start this? HOT 1
- Connect with Duet2 Ethernet HOT 1
- Contact request HOT 5
- Connect Photonic "serial" to Klipper HOT 1
- projector HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photonic3d.