You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below are some common methods used with the Roboflow Python package, presented concisely for reference. For a full library reference, refer to the [Roboflow API reference documentation](https://docs.roboflow.com/api-reference).
67
67
68
68
```python
69
-
import roboflow
70
-
71
-
roboflow.login()
72
-
73
-
rf = roboflow.Roboflow()
74
-
75
-
# create a project
76
-
rf.create_project(
77
-
project_name="project name",
78
-
project_type="project-type",
79
-
license="project-license"# "private" for private projects
69
+
import roboflow
70
+
71
+
# Pass API key or use roboflow.login()
72
+
rf = roboflow.Roboflow(api_key="MY_API_KEY")
73
+
74
+
workspace = rf.workspace()
75
+
# creating object detection model that will detect flowers
76
+
project = workspace.create_project(
77
+
project_name="Flower detector",
78
+
project_type="object-detection", # Or "classification", "instance-segmentation", "semantic-segmentation"
79
+
project_license="MIT", # "private" for private projects, only available for paid customers
80
+
annotation="flowers"# If you plan to annotate lillys, sunflowers, etc.
0 commit comments