Show HN: Python library for GoPro cameras
github.com
github.com
Also, the code mixes notation. Most Python code use snake_case because it's encouraged in PEP8, this code use both snake_case and camelCase (take_photo(X), getStatusRaw()).
The ReadMe headline only says GoPro, nothing about unofficial. It looks like it is official, especially with the product pics in the readme. I wouldn't be surprised if GoPro will ask you to remove the repo, or rename it.
If it was official, the repo should be under @gopro not my username. I have worked with GoPro cameras and published a lot on my GitHub and I had no problems with them.
Knowing that 9 years ago I learned python as my first language despite at the time, it wasnt taken very seriously outside single use and a beginner language.
Maybe its just me, but I'm seeing the tech world settle down on a few programming languages and standards. Python, Javascript, PHP, (from the other topic RSS, JSON).
This is good for keeping things modular.
By new coll languages I mean Go or Rust. Java and C# are still prominent in business sphere. And I can see push of functional languages as well, such as F#, but that is not so big pressure.
What I also see is big fracturing in ecosystems. When I started developing, I used .NET. I could make WinForm application for Windows and WebForm for Web.
Now there is MVC, Razor Pages, Single page apps (where you have to choose from many JavaScript frameworks). For Desktop app you can write WinForms, WPF, but Electron with .Net seems to be also popular now.
It seems no two companies are using same stack anymore. For me it's becoming quite overwhelming.
I started at this company because of my experience with Perl and Oracle. Now everything I do is Python and Postgres. I’m totally ok with that.
- rtsp://192.168.42.1/live
- rtsp://192.168.1.1:554/MJPG?W=720&H=400&Q=50&BR=5000000/track1
Their app is https://play.google.com/store/apps/details?id=com.zsbrother...., and I bet they left some port open other than 80/8080
GoPro hires developers who make their WiFi API from the ground up (they used to stream using HLS, now they use UDP).
A couple of comments:
1. We want to take a bunch of snapshots. We found that taking a picture also saved it to sdcard. And the more pictures on the card, the slower it performed. We ended up writing code to erase the picture we just took after offloading it.
2. We learned that we can’t connec the GoPro to computers USB for power while running this as the camera changes to a different mode. However, a stand alone usb charger worked well while using this. That might be nice to add to the reader.
gopro = GoProCamera.GoPro()
gopro.take_photo()
gopro.downloadLastMedia()
gopro.delete("last")That might be a nice addition to the readme.
For low-latency streaming, a better bet would be HDMI capture card or dongle and using HDMI-out on the GoPro.