Author Topic: Python based simple camera interface  (Read 12634 times)

JeffNickel

  • Newbie
  • *
  • Posts: 18
    • View Profile
Python based simple camera interface
« on: March 31, 2020, 10:38:29 AM »
For the non-programmers among us has anyone created a simple python gui for my laptop that can control the cameras basic functions (Start, stop, save, view live, etc?  I understand that the necessary files are available however I do not have the programming wisdom to create something on my own.  Perhaps if you have created such a beast, however beta, you might share it with the unwashed?

NiNeff

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Python based simple camera interface
« Reply #1 on: March 31, 2020, 01:16:31 PM »
the new web gui with the current beta software should have what you are looking for.

sanjay

  • Krontech
  • Newbie
  • *****
  • Posts: 38
  • Krontech
    • View Profile
Re: Python based simple camera interface
« Reply #2 on: March 31, 2020, 01:27:33 PM »
Here's a tutorial that we just released this morning on how to utilize network control: https://www.krontech.ca/wp-content/uploads/2020/03/Network-Control-v0.6.5.pdf

SergeyKashin

  • Guest
Re: Python based simple camera interface
« Reply #3 on: March 31, 2020, 02:22:23 PM »
How many cameras can I control simultaneously?

foobar

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Python based simple camera interface
« Reply #4 on: March 31, 2020, 04:04:17 PM »
The web interface to the camera will only control a single camera at a time, but that doesn't stop you from opening multiple browsers or tabs, each of which can control a different camera.

The use of the REST API should enable simultaneous control of multiple cameras, but this is an exercise left to the reader - this was how we made the Chronos ring happen, but that project was little more than duct tape and bailing wire.

SergeyKashin

  • Guest
Re: Python based simple camera interface
« Reply #5 on: March 31, 2020, 04:52:55 PM »
For example, I will have 3 cameras and I need to launch them through the web interface at the same time, in 3 different tabs I can not do this, and through different triggers it is inconvenient

NiNeff

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Python based simple camera interface
« Reply #6 on: April 01, 2020, 08:31:27 AM »
For example, I will have 3 cameras and I need to launch them through the web interface at the same time, in 3 different tabs I can not do this, and through different triggers it is inconvenient
trigger only one and pass the signal throug triggering the others over the bnc port.

JeffNickel

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Python based simple camera interface
« Reply #7 on: April 01, 2020, 09:04:52 AM »
So I'll need to update my 1.04 firmware to Version 0.4.0 first.
Then connect via USB (after installing the WIN 7 USB driver.
Open a browser and input the cameras IP address,
Now have control of the camera through the gui.

To view a live image stream use VLC player and select the camera as the streaming source.

                  Question: Will the HDMI port still give the live image?

Thank you, this is awesome.

foobar

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Python based simple camera interface
« Reply #8 on: April 01, 2020, 09:11:35 AM »
Question: Will the HDMI port still give the live image?

Yes, the HDMI port will continue to give you the live video from the image sensor while either the web control page, or the RTSP stream are active.

JeffNickel

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Python based simple camera interface
« Reply #9 on: April 02, 2020, 01:23:38 PM »
Updated to 0.4.0, switched to new interface now how do I switch back to old interface?

foobar

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Python based simple camera interface
« Reply #10 on: April 02, 2020, 01:53:53 PM »
From the Main Menu, near the bottom there should be an option to Update your camera. From this menu, hitting the "Apply Software Updates" button will launch the software update tool, and allow you to switch back to the original GUI.