Giter Site home page Giter Site logo

Comments (29)

eungyoda avatar eungyoda commented on August 29, 2024 4

i logged in as the "root" account. thx @jlucidar
@rlamarche yes! we can connect to the camera.

2018-04-06 5 33 29

from z-camera-doc.

rlamarche avatar rlamarche commented on August 29, 2024 2

Here you can find the code of my test :
https://github.com/rlamarche/zcamera-e1-liveview/tree/master

from z-camera-doc.

chandranpranav avatar chandranpranav commented on August 29, 2024 1

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.
Capvbcmhgture

from z-camera-doc.

benhinchley avatar benhinchley commented on August 29, 2024

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.

francisrath avatar francisrath commented on August 29, 2024

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.

rlamarche avatar rlamarche commented on August 29, 2024

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.

benhinchley avatar benhinchley commented on August 29, 2024

@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.

rlamarche avatar rlamarche commented on August 29, 2024

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.

lauramorillo avatar lauramorillo commented on August 29, 2024

@francisrath did you manage to connect the camera to a Raspberry Pi using USB Network?

from z-camera-doc.

francisrath avatar francisrath commented on August 29, 2024

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.

lauramorillo avatar lauramorillo commented on August 29, 2024

@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.

eungyoda avatar eungyoda commented on August 29, 2024

Can I change the ip address of the E1 camera? I want to connect and control several E1s.

from z-camera-doc.

jlucidar avatar jlucidar commented on August 29, 2024

telnet port is open, so you can reconfigure the whole thing to your needs.

from z-camera-doc.

eungyoda avatar eungyoda commented on August 29, 2024

@jlucidar Oh! cool! Can you tell me the root account information?

from z-camera-doc.

rlamarche avatar rlamarche commented on August 29, 2024

you mean that we can connect to the camera with telnet ?

from z-camera-doc.

rlamarche avatar rlamarche commented on August 29, 2024

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.

rlamarche avatar rlamarche commented on August 29, 2024

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.

eungyoda avatar eungyoda commented on August 29, 2024

@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.

eungyoda avatar eungyoda commented on August 29, 2024

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.

  1. connect telnet 192.168.168.1
  2. account : root
  3. mount -o remount,rw devtempfs /

from z-camera-doc.

jey18 avatar jey18 commented on August 29, 2024

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.

jey18 avatar jey18 commented on August 29, 2024

Ok i found a way to unbrick using a autoexec.ash script.
That was painful :)

from z-camera-doc.

vvjuss avatar vvjuss commented on August 29, 2024

Please show your autoexec.ash ))) And how to boot to normal. Thx!

from z-camera-doc.

jey18 avatar jey18 commented on August 29, 2024

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.

vvjuss avatar vvjuss commented on August 29, 2024

the camera turns off after 10 seconds. and I think autoexec not started.

from z-camera-doc.

jey18 avatar jey18 commented on August 29, 2024

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.

vvjuss avatar vvjuss commented on August 29, 2024

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.

jey18 avatar jey18 commented on August 29, 2024

Last line must be empty...

from z-camera-doc.

jey18 avatar jey18 commented on August 29, 2024

Try:
############
dmesg rtos on
sleep 10
dmesg rtos -3000 > c:\log.txt

############

And see if log.txt is created.

from z-camera-doc.

vvjuss avatar vvjuss commented on August 29, 2024

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)

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.