MCPcopy Index your code
hub / github.com/dorukkumkumoglu/optocamzero

github.com/dorukkumkumoglu/optocamzero @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
299 symbols 755 edges 10 files 70 documented · 23%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Optocam Zero

Optocam Zero is a Raspberry Pi Zero based compact digital camera made using off the shelf components.

I designed Optocam Zero to have a very compact, carry everywhere and have fun sort of camera. As I was inspired by Kodak charmera and similar toy cameras, I wanted it to be feel playful, enjoyable and be intuitive to use. I also aimed to make it relatively easy to build so that others can also build one and have fun with it. That's why all the case parts are easily printable and for the electronics it uses off the shelf components that are easy to find.

exploded view

Features

  • Very compact and easy to carry in your pocket.
  • Intuitive and simple camera interface and controls.
  • Uses autofocus camera module.
  • 8 photo filters included.
  • Easy and fast image transfer through custom hotspot interface. Optimized both for mobile and desktop.
  • Screen dimming when inactive to preserve battery.
  • USB-C charging. Device can be used while charging.
  • Interchangable battery.
  • Off the shelf/ common components for the electronics.
  • Fully 3D printed case parts (apart from fasteners).
  • 3D printable TPU protective sleeve and lanyard design is available.
  • NEW - GIF recording and playback.

Specs

  • UPDATE - Now boots in 5 seconds with the buildroot image.
  • 2592x2592px Jpeg image capture. Image saves in the background while preview stays active.
  • 240x240px 1.4 inch lcd display.
  • Consistent 25-30 fps camera preview on the screen.
  • Uses 14500 type li-ion battery.
  • 70–80 minutes of use per charge.
  • Dimensions: 51×71×18mm (excluding camera and screen bump)

Sample Photos

How to Build Optocam Zero?

Everything you need to build an Optocam Zero yourself is included in this repo.

All the 3d print files, Required parts list, and detailed step by step build guide can be found under the hardware folder.

If you're considering building one, check the BOM to get an idea of the cost for required tools and parts. Also, have a look at the build guide, it will give you a clear idea of what the build involves.

Hardware

See the hardware folder for:

Software

See the software folder for:

  • Optocam Zero camera software installer and installation guide.
  • Camera controls information.

Core symbols most depended-on inside this repo

at
called by 43
software/firmware-buildroot/src/optocam_render.h
textbbox
called by 39
software/firmware-buildroot/src/optocam_render.h
draw
called by 38
software/firmware-buildroot/src/optocam_render.h
log
called by 22
software/python-legacy/scripts/optocamzero.py
now_s
called by 21
software/firmware-buildroot/src/optocam_hud.h
alpha_composite
called by 20
software/firmware-buildroot/src/optocam_render.h
font
called by 17
software/firmware-buildroot/src/optocam_render.h
load_font
called by 16
software/python-legacy/scripts/optocamzero.py

Shape

Function 218
Class 35
Method 24
Route 22

Languages

C++51%
Python43%
C5%

Modules by API surface

software/firmware-buildroot/src/optocam_app.cpp83 symbols
software/python-legacy/scripts/optocamzero.py61 symbols
software/firmware-buildroot/overlay/usr/share/optocam/gallery_server.py35 symbols
software/python-legacy/scripts/gallery_server.py34 symbols
software/firmware-buildroot/src/optocam_render.h22 symbols
software/firmware-buildroot/src/optocam_hud.h21 symbols
software/firmware-buildroot/src/optocam_gif.h15 symbols
software/firmware-buildroot/src/optocam_preview.cpp12 symbols
software/firmware-buildroot/src/st7789_test.c8 symbols
software/firmware-buildroot/src/optocam_splash.c8 symbols

For agents

$ claude mcp add optocamzero \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page