0

I am using OpenCV on my Raspberry Pi to track circular objects. Then, I want to send the coordinate and radius values in an array of floats across the LAN to the Java program

I can send strings all fine with the code I have, but I'm having trouble trying to send numerical datatypes. What is the correct process for this?

asked Jan 29, 2014 at 16:24

2 Answers 2

1

A meta-answer would be to use JSON, since JSON generators and parsers can be found for every major programming language.

answered Jan 29, 2014 at 16:31
Sign up to request clarification or add additional context in comments.

Comments

1

Have you looked at BSON? It's like JSON, but optimised for a little more speed.

answered Jan 29, 2014 at 16:38

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.