-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenshot preview #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating a new PR @john-rocky.
YOLO.xcodeproj/project.pbxproj
Outdated
6381D2142B7817C200ABA4E8 /* yolov8x.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8x.mlpackage; sourceTree = "<group>"; }; | ||
6381D2152B7817C200ABA4E8 /* yolov8s.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8s.mlpackage; sourceTree = "<group>"; }; | ||
6381D2162B7817C200ABA4E8 /* yolov8m.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8m.mlpackage; sourceTree = "<group>"; }; | ||
6381D2172B7817C200ABA4E8 /* yolov8n.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8n.mlpackage; sourceTree = "<group>"; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same reason as above. If you want to restore it, I will.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here, keep these references!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @john-rocky, this is the next PR to integrate, can you resolve conflicts?
@ambitious-octopus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @john-rocky, please keep the references and DEVELOPMENT_TEAM
in YOLO.xcodeproj/project.pbxproj
. Also add a +1 on the build number. Have you tested the branch independently?
YOLO.xcodeproj/project.pbxproj
Outdated
6381D2142B7817C200ABA4E8 /* yolov8x.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8x.mlpackage; sourceTree = "<group>"; }; | ||
6381D2152B7817C200ABA4E8 /* yolov8s.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8s.mlpackage; sourceTree = "<group>"; }; | ||
6381D2162B7817C200ABA4E8 /* yolov8m.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8m.mlpackage; sourceTree = "<group>"; }; | ||
6381D2172B7817C200ABA4E8 /* yolov8n.mlpackage */ = {isa = PBXFileReference; lastKnownFileType = folder.mlpackage; path = yolov8n.mlpackage; sourceTree = "<group>"; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here, keep these references!
@ambitious-octopus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @john-rocky . Let's fix the formatting and the PR is ready!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for resolving the issue, @john-rocky . @glenn-jocher , this PR is now ready and has been thoroughly tested by @john-rocky . In summary, it fixes the button for sharing photos with bounding boxes and also adds a preview of the image before it is sent.
@john-rocky @ambitious-octopus thanks guys, but I don't think we want an image preview. The image is already previewed in most sharing tools like WhatsApp or Slack before the user commits to sharing the image, so we're just inserting an additional step into their already complicated world. Also I don't see any adaptation in the code for landscape, so the preview image will have the high gap top and bottom even in landscape. This is why we don't want to load this down with features and functions, this is a minimum viable product (MVP) that users can use to start building their own apps, we don't want this to be a fully feature product. So please delete the preview and then this should be good to merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is specifically for adding preview functionality. If we decide against this feature, we can close the PR. Does that sound right, @john-rocky ? This was implemented based on user feedback from those testing apps that currently lack a preview option.
@ambitious-octopus |
A preview is now displayed when sharing screenshots.
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Added a new feature to allow users to share screenshots directly from the app.
π Key Changes
25
to26
inInfo.plist
.showShareAlert(image:)
,shareImage(image:)
, andhideScreenshotImageView()
methods to manage screenshot sharing.π― Purpose & Impact