Inability to upload raw bytes

Open
#426 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

The requested entry point is project.upload_bytes(image: bytes, ...), but the issue names no files or tests. Start by locating the existing project image-upload API and its tests, then add coverage showing that raw frame bytes can be uploaded through the high-level interface alongside current upload paths.

Written by the indexing model from the issue text.

Description

Yo

In my application running on prod - I want to send some frames from my rtsp stream to roboflow - frames are ndarrays though

roboflow api does not support sending raw ndarray now, you can of course do it via rest api but would be nice to have some higher level function exposed:

project.upload_bytes(
    image: bytes,  
    ...
)

(I landed implementing smth along these lines myself, let me know if you need it in main)

Dominant language
Python
Stars
642
Forks
146
Avg merge
1d 10h
Merged PRs (30d)
13

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from roboflow/roboflow-python

All issues in roboflow/roboflow-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.