> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-hi/datasets/adding-data.md).

# Images, Videos, और Annotations अपलोड करें

Roboflow के साथ किसी model को train और deploy करने का पहला चरण data को एक Project में upload करना है।

सबसे पहले, आपको [एक Project बनाना होगा](/roboflow/roboflow-hi/datasets/create-a-project.md).

फिर, आपको एक web page पर ले जाया जाएगा, जहाँ से आप data upload कर सकते हैं। आप अपने project sidebar में उपलब्ध "Upload Data" button से भी इस page तक पहुँच सकते हैं।

## Data कैसे जोड़ें

आप अपने Roboflow account में data इन तरीकों से जोड़ सकते हैं:

* Web application का उपयोग करके: 1,000 images से कम वाले datasets के लिए अनुशंसित।
* Command line का उपयोग करके: 1,000 images से अधिक वाले datasets के लिए अनुशंसित।
* Dataset Upload Workflow Block का उपयोग करके: production में पहले से मौजूद model वाले Workflows से data एकत्र करने के लिए अनुशंसित।

Web application और command line से, आप ये upload कर सकते हैं:

* JPG, PNG, WEBP, AVIF, BMP, और HEIC/HEIF images.\*
* MOV और MP4 videos.
* PDF files.
* [समर्थित किसी भी format में annotations.](https://roboflow.com/formats)

\**अधिकतम size 20MB और 16,400 x 10,900 pixels।*

आप केवल अपनी संबंधित images के साथ annotations upload कर सकते हैं। आप उन images के लिए annotations upload नहीं कर सकते जो पहले ही आपके dataset में import की जा चुकी हैं।

## Web Application के साथ Data Upload करें

जब आप कोई project बनाते हैं, या Upload Data page पर जाते हैं, तो आपको एक box दिखाई देगा जिसमें आप images, videos, और annotations को drag और drop कर सकते हैं:

<figure><img src="/files/f2322ffb592117bfcdb7b001bbc0e4fd2684e2e6" alt="" width="563"><figcaption></figcaption></figure>

[40 से अधिक annotation formats समर्थित हैं।](https://roboflow.com/formats) समर्थित formats आपके project type के आधार पर अलग-अलग होते हैं।

<details>

<summary>File names कैसे process किए जाते हैं</summary>

हम upload/import और export, दोनों के दौरान class names को sanitize करते हैं ताकि image file names standardize किए जा सकें। Upload और dataset export के दौरान, हम निम्न करते हैं:

* शुरुआत और अंत के whitespace को हटाना
* सारा whitespace (newlines और tabs सहित) एक space में बदल दिया जाता है
* दोहरी spaces हटा दी जाती हैं
* `/.[]#~*` वर्णों को एक dash (`-`)
* `|'"` वर्णों को हटा दिया जाता है

</details>

### Video Upload करें

Upload की गई videos को अलग-अलग frames में बाँटा जाता है, जिन्हें आप annotate कर सकते हैं। जब आप कोई video upload करते हैं, तो एक extraction dialog खुलता है जिसमें built-in video player, sampling slider, और वैकल्पिक manual frame selection होती है।

#### Sampling interval

Slider का उपयोग करके यह सेट करें कि frames कितनी बार sample किए जाएँ। आप slider के नीचे दिए गए input fields में सीधे seconds में interval या इच्छित frame count भी टाइप कर सकते हैं। Sampling range 60 frames per second से लेकर हर 60 seconds में 1 frame तक होती है।

#### Manual frame selection

Frame selection panel को expand करने के लिए "Manual selection" पर क्लिक करें। वर्तमान playhead position पर frame चुनने के लिए "Add current frame" का उपयोग करें या `M` दबाएँ। अलग-अलग frames के बीच कदम-दर-कदम जाने के लिए `,` और `.`का उपयोग करें, या चयनित frames के बीच जाने के लिए `Shift+Left` और `Shift+Right`.

Sample किए गए और manual रूप से चुने गए frames को merge और deduplicate किया जाता है, और dialog में extract किए जाने वाले कुल frames की live count दिखाई देती है।

#### Trimming

Filmstrip पर trim handles को खींचकर start और end point सेट करें। Trim की गई range के बाहर के frames शामिल नहीं किए जाते।

Video को frames में split करने और उन्हें अपने dataset में upload करने के लिए "Extract N frames" पर क्लिक करें।

जब कई videos queue में हों, तो आप सभी पर एक ही interval settings लागू कर सकते हैं। Selected frames प्रति-video होते हैं, इसलिए selected frames मौजूद होने पर हर video अपना अलग dialog खोलता है।

<details>

<summary>समर्थित video file formats</summary>

Roboflow, videos को frame images में parse करने के लिए आपके browser की built-in video file support का उपयोग करता है, जिनका उपयोग आप अपने models को train करने के लिए कर सकते हैं। इसका मतलब है कि आप कई अलग-अलग video formats का उपयोग कर सकते हैं, जिनमें MOV और MP4 files शामिल हैं, यह इस पर निर्भर करता है कि आप कौन सा browser उपयोग कर रहे हैं।

आप [जाँच सकते हैं कि आपके browser द्वारा कौन से video formats समर्थित हैं](https://caniuse.com/?search=video%20format).

ध्यान दें कि उदाहरण के लिए HEVC/H.265 encoded MP4 files केवल Safari browser में समर्थित हैं। यदि आप GoPro या iPhone से import कर रहे हैं जो H.265 में शूट करता है, तो आप settings को H.264 में बदलना चाह सकते हैं, जो अधिक व्यापक रूप से समर्थित है।

यदि आपको अपना video file Roboflow में load करने में समस्या हो रही है, तो आप हमारे [forum](https://discuss.roboflow.com/) पर post कर सकते हैं या अपने account representative से संपर्क कर सकते हैं।

</details>

## Command Line के साथ Datasets Upload करें

आप Roboflow Python command line interface का उपयोग करके बड़े datasets upload कर सकते हैं।

आप command line interface से केवल images upload कर सकते हैं। यदि आपके पास videos हैं, तो आपको [उन्हें files के रूप में सहेजे गए frames में split करना होगा](https://superuser.com/questions/1044444/how-do-i-use-ffmpeg-to-split-a-video-into-images-and-then-reassemble-exactly-the). फिर इन files को Roboflow में upload किया जा सकता है।

शुरू करने के लिए, पहले install करें `roboflow-python`:

```
pip install roboflow
```

इसके बाद, [अपना Workspace ID प्राप्त करें](https://docs.roboflow.com/developer/rest-api/workspace-and-project-ids).

अंत में, निम्न format में एक command तैयार करें:

```
roboflow import -w testupload -p project-1-8zgld /path/to/dataset/folder
```

यहाँ वे arguments दिए गए हैं जिन्हें आपको specify करना होगा:

* `-w testupload`: यह workspace का नाम है।
* `-p <project-id>`: यह आपका project ID है।

जब आप command चलाते हैं, तो आपको एक message दिखाई देगा जो बताता है कि upload process शुरू हो गया है। फिर images upload होने के साथ-साथ आपको logs दिखाई देंगे:

<figure><img src="/files/1c69a9f47131c4126866b81f897a9ea1d0821ee0" alt=""><figcaption><p>Command-line का उपयोग करके dataset upload करना</p></figcaption></figure>

हमारे पास एक video walkthrough है जो दिखाता है कि command line से data कैसे upload किया जाता है:

{% embed url="<https://www.loom.com/share/19637984033a466b831af56f9404fa89>" %}

## अपना Uploaded Data देखें

Roboflow पर upload किया गया सभी data एक "batch" में upload होता है। इन batches को आपके Project Annotate page पर देखा जा सकता है:

<figure><img src="/files/c3502cde5bce9d7f911bae69bcd2f87a62a18060" alt=""><figcaption></figcaption></figure>

## Image size limits

किसी image का अधिकतम size 20 MB है

अधिकतम pixel dimensions 16,400 × 10,900 pixels हैं।

## Duplicate Images

यदि आप ऐसी image upload करने की कोशिश करते हैं जो पहले से किसी Project में मौजूद है, तो उस image के लिए upload छोड़ दिया जाएगा।

{% hint style="info" %}
यदि आप [दो datasets को merge करते हैं](https://docs.roboflow.com/merge-datasets), तो merged dataset और दोनों original datasets आपके account में मौजूद रहते हैं। इसलिए merge के लिए कोई charge नहीं है, क्योंकि images duplicate हैं।
{% endhint %}

## Data Ownership

Roboflow पर upload की गई सभी images और videos का स्वामित्व आपके पास बना रहता है। यह [हमारे Terms of Service के Section 23B में परिभाषित है](https://roboflow.com/terms):

> आपके द्वारा post, submit, publish, display, या transmit की गई किसी भी content, information, या materials पर आपके सभी ownership rights बने रहते हैं

## Data Privacy

**Public Plan:** यदि आप Public plan पर हैं, तो Roboflow द्वारा स्पष्ट रूप से निर्दिष्ट और व्यवस्थित न किए जाने पर, आपके datasets Roboflow Universe पर public होंगे।

**Paid Plans (Enterprise सहित):** जब तक अन्यथा निर्दिष्ट न हो, आपका data आपके account के लिए private रहता है।


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-hi/datasets/adding-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
