---
name: "bn_camera"
section: "1"
platform: "linux"
package: "python3-berrynet"
version: "3.10.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bn_camera"
---

# bn\_camera(1)

program to publish images from camera to MQTT

## NAME

bn\_camera - program to publish images from camera to MQTT

## SYNOPSIS

**bn\_camera** \[**--mode MODE**\] \[**--stream-src STREAM\_SRC**\] \[**--fps FPS**\] \[**--filepath FILEPATH**\] \[**--broker-ip BROKER\_IP**\] \[**--broker-port BROKER\_PORT**\] \[**--display**\]

**bn\_camera** \[{**-h** \| **--help**} \| {**--debug**}\]

## DESCRIPTION

This manual page documents briefly the **bn\_camera** command.

This manual page was written for the Debian distribution because the original program does not have a manual page.

**bn\_camera** is a program that send images captured from camera to MQTT.

## OPTIONS

The program follows the usual GNU command line syntax, with long options starting with two dashes (\`-'). A summary of options is included below.

- **--mode** *MODE*

  Camera creates frame(s) from stream or file. (default: stream)

- **--stream-src** *STREAM\_SRC*

  Camera stream source. It can be device node ID or RTSP URL. (default: 0)

- **--fps** *FPS*

  Frame per second in streaming mode. (default: 1)

- **--filepath** *FILEPATH*

  Input image path in file mode. (default: empty)

- **--broker-ip** *BROKER\_IP*

  MQTT broker IP.

- **--broker-port** *BROKER\_PORT*

  MQTT broker port.

- **--display**

  Open a window and display the sent out frames. This argument is only effective in stream mode.

- **-h**, **--help**

  Show summary of options.

- **--debug**

  Debug mode toggle.

## BUGS

The upstreams BTS can be found at **https://github.com/DT42/BerryNet/issues**.

## SEE ALSO

[**bn\_darknet**(1)](/bn_darknet/1.md), [**bn\_dashboard**(1)](/bn_dashboard/1.md), [**bn\_data\_collector**(1)](/bn_data_collector/1.md)

## AUTHOR

**Ying-Chun Liu** \<paulliu@debian.org\>

Wrote this manpage for the Debian system.

## COPYRIGHT

Copyright © 2018 Ying-Chun Liu (PaulLiu)\

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3.
