Questions tagged [orientation]

Orientation is the way up, down, left or right something is facing or being held in. Typically, you distinguish between Portrait (or Vertical) and Landscape (or Horizontal) orientations.

Filter by
Sorted by
Tagged with
0votes
0answers
8views

Change X and Y axes independent of how a sensor is rotated along the Z axis

I have a nRF51 sensor which has a MPU6050 sensor, which contains a accelerometer and a gyroscope. This sensor is used to determine its rotation. What I want to do with this sensor, is change the ...
user avatar
  • 67
0votes
0answers
11views

How to determine whether any text is rotated by 180 degrees without Tesseract

I want to figure out if some text is rotated by 180 degrees. I've checked this but people are offering solutions using Tesseract, and this is not applicable for low characters count such as having a ...
user avatar
0votes
0answers
5views

How to fix the code to run accurately in portrait mode?

The code below work fine for landscape mode 360 view. Link to check: https://metagrid1.sv.vt.edu/~swmohd/npolys/ICAT2021/ICAT2021/Stroubles_2021/_Multi1.html but, I want this code to also work in case ...
user avatar
  • 21
0votes
0answers
7views

Prompting user when viewing a website on an ipad to turn orientation to landscpape

I am wondering what I need to do when a user is viewing a website on an iPad / tablet device that they are prompted to rotate the iPad to landscape if it is in portrait mode. I have done some research ...
user avatar
0votes
0answers
53views

Locking orientation at run-time on demand

I currently have the following code: PROCEDURE LockOrientation(Orientation : TOrientation); BEGIN {$IFDEF MOBILE } VAR ScreenService : IFMXScreenService; IF TPlatformServices.Current....
user avatar
  • 6,605
1vote
0answers
16views

React native application is not using the simulated screen correctly

I recently moved my project from using Expo to React Native CLI. One problem I encounter is that the application is using the Ipad screen in landscape mode, as it was an iPhone in portrait mode. Even ...
user avatar
  • 13
0votes
1answer
24views

MediaQuery.of(context) causing error in Flutter app

I have had this problem of android emulator Keyboard disappearing after clicking on TextFormField that I exposed in this topic Here is the error : Unhandled Exception: 'package:flutter/src/animation/...
user avatar
  • 215
1vote
0answers
22views

Initializing quaternions from a 9dof IMU with semi-correct values

I am building and application where I need to switch an IMU on for around 5 seconds, and get a good orientation within the first 1-2 seconds. I am using the Madwick quaternion algorithm and it works ...
user avatar
  • 11
0votes
1answer
15views

Changing the Orientation Smoothly for SDK from App

I know the question related to orientation has been asked multiple times, but I am facing some weird issue. I am working on one SDK that has some Activity which can be opened from the App, The SDK ...
user avatar
  • 304
0votes
0answers
18views

CVPixelBufferRef: Video Buffer and Depth Buffer have different orientations

Right now I'm working with Depth camera at iOS since I want to measure distance to the camera of certain points at the frame. I did all necessary setup in my camera solution and now I have two ...
user avatar
0votes
0answers
8views

Creating Portrait PowerPoint Slides in Rmarkdown

Does anyone know how to change the orientation of PowerPoint Slides in with Rmarkdown? I can't find any other instance of someone asking this. Thanks!
user avatar
  • 1
0votes
0answers
34views

flutter How to update UI towards Alert dialog box?

I'm making an app that supports both landscape and portrait mode. I'm using the Orientation widget to detect if it's portrait or landscape. Most UIs change their size and layout normally. However, the ...
user avatar
  • 343
0votes
1answer
18views

Keep orientation changed for full device flutter Android 11

Using the following code I'm able to change the orientation of the device in app void rotate(orientation) { if (!_isEnabled) return; var property = DeviceOrientation.landscapeRight; ...
user avatar
0votes
0answers
17views

Objective C / Xcode - Is it possible to use layout of landscape but rotate to portrait, so that home bar is on portrait view instead of landscape

I created an app in landscape left mode only and so there is a tick only at Device Orientation in General for 'Landscape Left'. So, I forced only this orientation. My problem is that the home bar is ...
user avatar
0votes
1answer
11views

setRequestedOrientation changes the global system orientation preference

good evening people. Simple question why mActivity.setRequestedOrientation(force ? ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE : ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT); turns 'auto ...
user avatar
0votes
0answers
11views

Rotate app image for portrait display (Android)

I am working on a development board called orbbec (android 9) and in turn it will connect to a 43 inch 4k TV screen, but this screen will go vertically, so I must rotate the image vertically. How can ...
user avatar
0votes
0answers
20views

Comparison of Two 3D Models to Determine Orientation Difference

I am working on a project where I am trying to compare a 3D reconstructed model with a predefined 3D model of the same object to find the orientation shift between them. An example of these types of ...
user avatar
0votes
1answer
14views

Allowing iPadOS screen rotation with UIRequiresFullScreen

I'm making an app that should support both landscape and portrait orientation, but that should not support multitasking (split view). I've tried to enable every orientation and the "Requires full ...
user avatar
0votes
0answers
16views

How can I make my navigation component support both portrait and landscape in fragment android

I am developing news app and i am using navigation components have only one fragment I want to make app should support both portrait and landscape how can implement following logic in my app if app ...
user avatar
0votes
1answer
17views

Flutter camera do not work in the phone orientation

everyone. I have one question about the flutter camera preview. https://pub.dev/packages/camera I am using this flutter camera plugin. Of course, it works as well. But it is crashed when phone ...
user avatar
0votes
0answers
7views

Should exif:thumbnail:Orientation affect primary image direction when Orientation is Undefined?

origin.jpeg The exif orientation tag is showed below (base) ➜ /tmp identify -verbose ./origin.jpeg|grep Orientation Orientation: Undefined exif:thumbnail:Orientation: 6 This image show ...
user avatar
0votes
0answers
53views

Finding an orientation of an object, in real-time video - Python openCV

I am using the attached code found here to find the orientation of objects: import cv2 import numpy as np # load image as HSV and select saturation img = cv2.imread("wing2.png") hh, ww, cc =...
user avatar
0votes
0answers
53views

React Native Keyboard Listners not working when webview is rendered in landscape mode initially

Having a combination of having orientation lock to landscape mode + having a WebView and a TextInput on a sscreen. Use case - To lock the orientation in landscape initially and change to portrait ...
user avatar
0votes
0answers
23views

Horizontal flatlist item not adapting to device orientation changes

So i'm making an email client. On the message view screen there is a header (from, to, subject) and a WebView for content. Each message is a child in a horizontal Flatlist with paging in order to ...
user avatar
  • 21
-1votes
1answer
25views

How to extract object orientation from video stream (Webcam) - Python

I found this guide which teaches how to refine the orientation of objects from images. I would love to know if it can and should be used to analyze the orientation of objects displayed in video ...
user avatar
0votes
0answers
12views

Is there a way to orient pdf to always be landscape mode when splitting using PyPDF2?

I have to split pdfs into separate pages which is easy enough, however I recently found that some of the pdfs will be rotated and be in portrait mode while majority is in landscape. This causes ...
user avatar
0votes
2answers
25views

iOS: how to have a different layout depending on app orientation?

I use UIKit and would like to have a completely different interface depending on the app orientation. I actually have 4 buttons on a view, here is how I want to display them: I know that I can play ...
user avatar
  • 41
0votes
0answers
7views

Computing HOSO feature based on surface normal image

I have a surface normal image and I want to compute HOSO feature as described in "HOSO: Histogram of Surface Orientation for RGB-D Salient Object Detection".
user avatar
  • 1
1vote
0answers
18views

CSS for mobile landscape rotated-left vs rotated-right?

Is there a CSS-only solution yet to differentiate rotate-left-landscape from rotate-right-landscape? We've got orientation, but not left or right. @media screen and (orientation:landscape) /* true for ...
user avatar
0votes
0answers
116views

Android 11 "setprop persist demo hdmirotation", etc Not Working to Rotate Display Screen (HDMI) without Changing Orientation

According to this Rotate Android display without changing orientation and this Allow rotate into portrait mode but do not rotate external display, I have to change some props value in build.prop file (...
user avatar
0votes
0answers
22views

Does android support portrait (vertical) encoded videos in all API levels?

I am experimenting with ExoPlayer using videos encoded with a vertical aspect ratio (9:16 and 3:4). The videos don't have an orientation angle in the mp4 header, and are actually encoded with such ...
user avatar
  • 384
0votes
0answers
10views

Pixel 6 changes reported screen size based on orientation - how to get the screen size in a stable way?

We use the "screen size" resource qualifier to determine the size of the device - roughly speaking whether it's a phone or a tablet. This is because our app is meant to start in portrait ...
user avatar
  • 4,737
0votes
3answers
70views

React native android autorotate issue

I want my application should be fixed to portrait orientation. but when I enable the auto-rotate in mobile, my application can able to rotate portrait and landscape. even I have added the android:...
user avatar
1vote
2answers
84views

Keep view portrait but let iOS Rotate with phone

I'm looking for a way to rotate iOS UI, without rotating the game view. The game I'm working on supports multiple orientations, but the game view takes care of the rotation and all animation related ...
user avatar
0votes
1answer
35views

iOS. Interface orientation on launch

I have an app that supports both portrait and landscape. So in Info.plist / Project Settings I specify both orientations. In my UIViewController I override supportedInterfaceOrientations to return ....
user avatar
0votes
0answers
11views

Find Youtube video dimension/orientation to embed

I have a piece of content and a Youtube video link that I am trying to display on a page. While embedding the Youtube video I want to be able to make it horizontal/landscape or vertical/portrait based ...
user avatar
1vote
2answers
45views

Android custom SurfaceView orientation can't rotate from portrait to landscape

I'm a new android application engineer. I'm trying to make a vulkan rendering backend demo which use SurfaceView as a View on android Java code. I made the gles rendering backend demo using ...
user avatar
0votes
0answers
5views

The title of the appbar is not printed

I created a class called 'videoappbar' to get rid of the appbar in landscape mode. But the title doesn't come out on the appbar. enter image description here What's wrong? I definitely created a video ...
user avatar
1vote
1answer
36views

MD analysis using python

I am trying to run this(python3 traj_orientation-group.py -g fnIII-9_ps20_Nchain6_T298_nw.gro -x fnIII-9_ps20_Nchain6_T298_nw.xtc -o fnIII-9_ps20_Nchain6_run1.phrsn-orientation --protein_res_start 1 --...
user avatar
0votes
0answers
27views

How to hide appbar in landscape mode?

class H2_46 extends StatelessWidget { final autoSizeGroupLyric = AutoSizeGroup(); @override Widget build(BuildContext context) { return Scaffold( appBar: buildAppBar(), body:...
user avatar
0votes
0answers
25views

Flutter recognise device orientation changed even when Potrait mode is forced

in my app I have a page to take photos. When rotating the device, the page should be locked in potrait mode and only the icons in the appbar should rotate. (The behavior is identical to the iOS camera)...
user avatar
0votes
0answers
11views

Image orientation preserving in Keras data generator

I'm working on a Text detection in scene images. There are both landscape and portrait oriented photos in my dataset. As I noticed by checking the output of data generator, it doesn't preserve the ...
user avatar
0votes
0answers
20views

Two things, how in the world do you move a page break in VBA? Is it possible to display the VBA created page in landscape mode

you will notice if you run the code, the page breaks to the next page between Elevation(Ground) and GPS Survey Date/Time. once its done creating the new sheet I can manually turn the orientation to ...
user avatar
  • 11
0votes
0answers
37views

In Blender, during animation, the object does not rotate according to the specified orientation

I was animating the movement of an object with rotation, it was necessary for the object to rotate on its own axis, that is, on Local or Normal, instead the object did not rotate correctly, as I found ...
user avatar
-1votes
1answer
71views

How do I return the angle of orientation from getOrientation() and Open CV code?

I am trying to find the angle of orientation of an object in an image. In the image output, the image contains the axis and degree of rotation, and I want to have that degree of location so I can ...
user avatar
0votes
0answers
19views

Print HTML with both orientations Landscape and Portrait

I've tried to have both orientations in HTML, but when printing the content inside landscape orientation is in portrait sizes. Here's an example. @page portrait-page { size: A4 portrait; } @...
user avatar
0votes
1answer
78views

Orientation change is not preserved while using viewmodel

New to MVVM clean archietecture .Building an app which has single screen consisting of Recycler view. The data is fetched through retrofit.According to the documentation ViewModel is able to live ...
user avatar
0votes
0answers
37views

intervention image response in wrong orientation when image is saved on s3

I saved images on s3 (portrait). Now if I response them on page with intervention image, I see them in landscape orientation. The same thing does not happen if I response them with Storage::response() ...
user avatar
  • 3,854
0votes
0answers
15views

How can I carry over a custom transform orientation that I made in Blender to Unity?

I made a plane in Blender and on that plane there are angled wings with control surfaces. In Unity I want the plane controls to actually move the control surfaces. The problem is that if I use the ...
user avatar
1vote
0answers
103views

ios15 status bar animation when setting a new root view controller in a another orientation

I change the root view controller this way window.rootViewController==viewController The current root view controller is in landscape orientation, and with no status bar : -(...
user avatar
  • 8,856

15 30 50 per page
1
2 3 4 5
83