Peter Gaston

Results 14 comments of Peter Gaston

Was this resolved? Or dead. I'd really like to use this. Would something like this "Decoding Base64 image in swift" from stack overflow help? https://stackoverflow.com/questions/51557553/decoding-base64-image-in-swift

Hello - thanks for your quick response! I implemented, to the best of my knowledge both compressed image and regular image message types - both needed for my situation. Given...

My images come from a ROS environment on a drone. I'm using the iPad as both a display and as a machine learning platform - the drone doesn't have enough...

No love. The string itself should be divisible by 4 apparently - and it isn't. Tossing in padding at the end "==" allows a valid base64 decode, but that doesn't...

The data sure seems to be ascii, i.e., not binary. The obvious thing is base64 decoding. That's hiccup #1 as it doesn't work. Also, this https://answers.ros.org/question/51490/sensor_msgscompressedimage-decompression/ seems to imply that...

started here... https://developer.apple.com/documentation/compression/compressing_and_decompressing_data_with_buffer_compression?language=objc though now that I think of it, it's doubtful this would be apple related. probably best to do a gzip decompression... that, or best yet look at...

okay, latest - the compression is handled by opencv imencode / imdecode. https://answers.opencv.org/question/188436/what-exactly-does-the-imencode-do-wanted-to-use-it-for-image-upload-onto-server/ Seems clear that the compressed format is binary. (Do ROS messages send anything in binary? Or is...

I'm having a heck of a time getting compressed image to work. I'm pretty sure from the documentation that opencv imencode/decode are the key functions to call. However, I'm having...

I'm most interesting in getting a compressed image on the ipad and publishing a small image (of floats) Testing this afternoon - code now compiles... swift rbsImageSubscriber = rbsManager?.addSubscriber(topic: "/subCompressed",...

Seems like this is a recent problem? See as well -- https://forums.developer.nvidia.com/t/run-dev-sh-failed-to-build-base-image-file-has-unexpected-size/277156/6