Comments (10)
Ok great that is why no captures yet. And I think beneficial to run slcapture and sldisp on the same box
from sltk.
One interesting thing is if i run from gui as i attempt to close the file i get some files generated each time i press the x to close
np,urlib,sys,cv2.os,time,optparse
They have a header with color info then a bunch of codes at
from sltk.
Got so focused on C++ dependencies, python deps totally slipped my mind.
slcapture.py
has two only external dependencies: opencv (you have, i think) and pyOSC https://github.com/ptone/pyosc
I have updated the Compilation Guide with details on how to install pyOSC https://github.com/jhdewitt/sltk/wiki/Software-Setup-Guide
Next up, python dependency for
slcapture.py
:
-
git clone https://github.com/ptone/pyosc
-
cd pyosc
-
sudo ./setup.py install
from sltk.
One interesting thing is if i run from gui as i attempt to close the file i get some files generated each time i press the x to close
np,urlib,sys,cv2.os,time,optparse
They have a header with color info then a bunch of codes at
Now this one, has me stumped! More details needed.
from sltk.
after install pyosc
prahjister@amlogic:~/sltk-master$ python slcapture.py
Traceback (most recent call last):
File "slcapture.py", line 827, in
client_display.connect( (display_server_addr, display_server_port) )
NameError: name 'display_server_addr' is not defined
from sltk.
What version of python should i be running slcapture.py?
from sltk.
Python 2
I'm running it on 2.7.14
from sltk.
I threw in an ip address and port...(not exactly sure which one) and it seems to be working
from sltk.
once those r defined looks like this one is good
from sltk.
yay !! small steps
slcapture
continuously streams the images from mjpg-streamer
and discards all images except for the ones "known" to have been taken just after sldisp
reports the pattern was shown during a capture sequence
slcapture
asks sldisp
for pattern X
. some time passes, and then sldisp
has generated the pattern and VSYNC it out to display device, after which it sends back a packet to slcapture
saying "pattern X
is live as of time T
". some time passes, and slcapture
then saves the first image it gets with a timestamp after time T
.
The program naively trusts timestamps, so if slcapture
and sldisp
are run on two computers with system clock offsets, it will act poorly and potentially be waiting many seconds before saving an image after a pattern has been shown.
from sltk.
Related Issues (20)
- Hey HOT 9
- Turn Table HOT 5
- update 4.5.18 HOT 11
- Box
- Hey HOT 3
- slcrunch HOT 5
- Hey HOT 1
- request
- Hey HOT 1
- Export to 3D format
- FAILED TO FIND CHESSBOARD, exiting.. HOT 1
- plotlens : segmentation fault.
- Errors may occur in line 484-487 of plyalign.cpp
- Windows Binaries?
- Estimating ref normals... Segmentation fault (core dumped)
- Hard coded server display address? HOT 2
- slcontrol HOT 1
- Just an update 3.29.18 HOT 7
- Is this supposed to show a date? HOT 9
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 sltk.