Coder Social home page Coder Social logo

camera lens intrinsics about sltk HOT 4 OPEN

prahjister avatar prahjister commented on July 4, 2024
camera lens intrinsics

from sltk.

Comments (4)

jhdewitt avatar jhdewitt commented on July 4, 2024

Honestly, I need to take tonight to review the network connections code between the programs to clean it up and separate setting them out into an argument/file; having to recompile the program to change this seems pretty unreasonable.

Anyways, it seems I have comments in my local version that haven't been committed yet. Here it is but with the edits I think you want.

# mjpg streamer
cam_server_addr = "127.0.0.1"

# sldisp
display_server_addr = "127.0.0.1"

# slturn
turn_server_addr = "127.0.0.1" // not applicable

# slcontrol GUI
GUI_server_addr = "" // windows box ip

# this program (slcapture.py)
control_server_addr = "127.0.0.1"

from sltk.

prahjister avatar prahjister commented on July 4, 2024

How do I know if slcapture is running properly?

from sltk.

jhdewitt avatar jhdewitt commented on July 4, 2024

If slcapture is running properly, it should have an open connection to mjpg-streamer and be showing timestamps of the incoming frames.

I start sldisp and my screen starts to flash on arm box
I alt tab out and run slcapture.py and it takes control of my mouse and i have a plus on my cursor. I cannot do anything except move the mouse at this time with my mouse and a blank terminal window is opened and is blank. This is also on my arm box
I alt tab out to sldisp and screen is flashing

The repo is a little behind on all changes. Concerned about breaking stuff but feeling lucky today so please pull new sldisp.cpp from repo 4c72516

from sltk.

prahjister avatar prahjister commented on July 4, 2024
prahjister@amlogic:~/sltk-master$ make sldisp
g++  -lstdc++ sldisp.cpp util.cpp -o bin/sldisp `sdl2-config --static-libs --cflags` `pkg-config --libs --cflags liblo` -lGL -lGLU -lglut
sldisp.cpp: In function ‘int main(int, char**)’:
sldisp.cpp:673:35: error: ‘SERVER_CONTROL_ADDRESS’ was not declared in this scope
     lo_address t = lo_address_new(SERVER_CONTROL_ADDRESS, SERVER_CONTROL_PORT);
                                   ^
sldisp.cpp:673:59: error: ‘SERVER_CONTROL_PORT’ was not declared in this scope
     lo_address t = lo_address_new(SERVER_CONTROL_ADDRESS, SERVER_CONTROL_PORT);
                                                           ^
Makefile:67: recipe for target 'sldisp' failed
make: *** [sldisp] Error 1
prahjister@amlogic:~/sltk-master$

This is error with latest sldisp.cpp

from sltk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.