> 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).

# छवियाँ, वीडियो और एनोटेशन अपलोड करें

Roboflow के साथ एक model को training और deployment करने का पहला कदम डेटा को एक 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 का उपयोग करके: ऐसे Workflows से data इकट्ठा करने के लिए अनुशंसित जिनमें model पहले से production में हो।

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 and 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 (नई पंक्तियाँ और tabs सहित) को एक space में बदला जाता है
* Double spaces हटा दी जाती हैं
* `/.[]#~*` characters को एक dash (`-`)
* `|'"` characters हटा दिए जाते हैं

</details>

### Video Upload करें

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

#### Sampling interval

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

#### Manual frame selection

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

Sample किए गए और manually चुने गए frames को merge किया जाता है और duplicates हटाए जाते हैं, तथा dialog निकालने के लिए कुल frames की live count दिखाता है।

#### Trimming

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

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

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

<details>

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

Roboflow videos को frame images में parse करने के लिए आपके browser में video files के लिए मौजूद built-in 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 में shoot करता है, तो आप settings को H.264 में बदलना चाह सकते हैं, जो अधिक व्यापक रूप से समर्थित है।

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

</details>

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

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

आप command line interface से केवल images upload कर सकते हैं। यदि आपके पास videos हैं, तो आपको उन्हें [फ़ाइलों के रूप में सहेजे गए 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 हैं जिन्हें आपको निर्दिष्ट करना होगा:

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

जब आप command चलाते हैं, तो आपको एक message दिखाई देगा जो बताता है कि upload प्रक्रिया शुरू हो गई है। फिर जैसे-जैसे 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 सीमाएँ

एक 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 और दो मूल datasets आपके account में मौजूद रहते हैं। इसलिए, merge के लिए कोई शुल्क नहीं है, क्योंकि images duplicates हैं।
{% endhint %}

## Data Ownership

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

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

## Data Privacy

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

**Paid Plans (including Enterprise):** जब तक अन्यथा specified न हो, आपका 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:

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

The question should be specific, self-contained, and written in natural language.
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.
