Comments (29)
i logged in as the "root" account. thx @jlucidar
@rlamarche yes! we can connect to the camera.
from z-camera-doc.
Here you can find the code of my test :
https://github.com/rlamarche/zcamera-e1-liveview/tree/master
from z-camera-doc.
Heyy guys I would really like some input here, I'm trying to connect my GoPro Hero 8 and use it as a camera on OpenCV applications. I'm using multiple cameras for object detection. When I connect my GoPro it is detected as a Network Adapter under the name 'GoPro RNDIS Device' I can use it on Skype, Zoom, and other applications but when I try to connect two cameras it detects only one camera.. But in device manager detects as two. What I want is to read these camera inputs through OpenCV. Any input would be appreciated.
from z-camera-doc.
The USB network feature was not fully implemented in the E1 from what I found. Though the correct IP address is 192.168.168.1
, to connect to it via usb you will need to connect to the USB0
networking device and set an IP Address in the right range, the easiest way to do this is on a linux machine.
from z-camera-doc.
Is it possible to control the camera at all over USB with the current firmware? I would like to use it in a time lapse setup, starting/stopping the sequence, and moving pictures from the camera to a PC (Raspberry PI for example).
from z-camera-doc.
Hi,
I successfully connected to the zcamera through usb port in networking mode on IP 192.168.168.1.
Thanks for the info on the IP Address.
I have also successfuly got the liveview in h264 and displaying it in a Qt application.
But I find that the resolution is very low (less than 640x480). I wonder if it is possible to increase it.
Note that the camera is also responding on the http api through the usb port.
from z-camera-doc.
@rlamarche you should be able to control the resolution via the HTTP API, it used to be documented in the streaming section of the docs, but i believe that has since been removed (might need to go through the commit history to find it again)
from z-camera-doc.
Thanks. I looked but there is no http control of this kind.
But : when changing the recording format in the camera it self, the h264 resolution changes.
in 4K, I get the lowest resolution. But when choosing 2160 (4/3), I get 640x480.
Summary :
I get 432x240 in 4K mode.
I get 640x480 in all 4/3 modes.
I get 640x640 in all 1:1 modes.
I get 848x480 in 1080, 720 and WVGA modes.
So the best mode for both recording and "liveviewing" on remote is 2160.
WiFi or USB Network mode have the same behaviour. There is just a different IP.
And when I enable USB Network mode, WiFi mode is no longer available.
from z-camera-doc.
@francisrath did you manage to connect the camera to a Raspberry Pi using USB Network?
from z-camera-doc.
No, I gave up. Not putting any more effort into this camera as it seems like they didn't bother following up on their promises :(
Tried to contact them regarding a new camera, but got no reply there either...
from z-camera-doc.
@francisrath if you still want to do something with it I managed to connect. The main problem was the cable I was using! If you enable the usb network you will only need to modify /etc/dhcpcd.conf to add:
interface usb0
static ip_address=192.168.168.2
static routers=192.168.168.1
static domain_name_servers=192.168.168.1
And then you should be able to connect to the http api calling http://192.168.168.1
It doesn't work with all the usb cables, so you should first ensure that the raspberry pi is recognising a device interface usb0.
from z-camera-doc.
Can I change the ip address of the E1 camera? I want to connect and control several E1s.
from z-camera-doc.
telnet port is open, so you can reconfigure the whole thing to your needs.
from z-camera-doc.
@jlucidar Oh! cool! Can you tell me the root account information?
from z-camera-doc.
you mean that we can connect to the camera with telnet ?
from z-camera-doc.
mmh that's interesting. Do you think that we could unlock or add some features to the camera by this way ? Or is this an isolated environment ..
from z-camera-doc.
I did connect to the camera, thank you for the tip.
Now we should be able to do some hacks by patching the ambarella firmware no ?
See here : http://konradit.github.io/hacking.html
from z-camera-doc.
@jlucidar i didm't change E1 ip address. All files / folders are read-only. Do you know how to change it?
from z-camera-doc.
I got the right to read and write. But I made the wrong bashrc file, and E1 became a black brick.
If you want to change the write permission, try as follows. Caution. It can be black brick.
- connect telnet 192.168.168.1
- account : root
- mount -o remount,rw devtempfs /
from z-camera-doc.
BE CAREFUL. I play with telnet. I killed the 'awesome_camera' process. Now the cam don't boot normaly, and i cannot connect anymore. Anyone would know what to do?
from z-camera-doc.
Ok i found a way to unbrick using a autoexec.ash script.
That was painful :)
from z-camera-doc.
Please show your autoexec.ash ))) And how to boot to normal. Thx!
from z-camera-doc.
I dont have a computer to read my sd card because i'm on holidays. I think if you copy the firmware on sd card root, then create a autoexec.ash with :
firmfl prog c:\E1fw.bin
Then the camera will flash a valid firmware and boot again. You must eject your sd card as soon as you read 'update complete' or something like that on the small LCD display. If not, the flash process will start again.
from z-camera-doc.
the camera turns off after 10 seconds. and I think autoexec not started.
from z-camera-doc.
Did you edit it in unix text format ? If you are on Windows with notepad++. If not , it will be ignored.
from z-camera-doc.
Im using nano on macos or ubuntu. But nothing. Also I tried simple commands like ps > /tmp/fuse_d/log.txt, but it seems that the autoexec is simply not executed.
from z-camera-doc.
Last line must be empty...
from z-camera-doc.
Try:
############
dmesg rtos on
sleep 10
dmesg rtos -3000 > c:\log.txt
############
And see if log.txt is created.
from z-camera-doc.
You're right! It's all in the last line. I opened it in sublime and fixed. Will try to flash firmware.
Thank you!!!
from z-camera-doc.
Related Issues (20)
- E2 RS232 HOT 3
- Questions about Z CAM E2G camera multi-device synchronization function? HOT 1
- GET ?act=info response returns incorrect values HOT 1
- adding E2-M4 Specs HOT 1
- HTTP control of pre-roll? HOT 1
- Streaming documentation for S1/S1 Pro
- Is Pelco-D on CTRL is RS232? HOT 4
- SDK支持SUSE操作系统吗
- Is libssp.so support suse os ?
- RTMP and SRT not working
- Lanc absolute focus
- S1 supported? HOT 1
- lens_focus_spd not working
- USB RNDIS connect to ipad
- command consistency HOT 1
- get lens_focus_pos key value HOT 7
- Can't find any doc around E2 UART protocol "async msg"
- Peak control
- Inconsistent lens focus position
- RTSP Stream artifacts - v1.0.3 E2-F6
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 z-camera-doc.