Remove additional file after install opencv on raspberry pi
I installed OpenCV 3 and got 4GB of my memory space. After build, how can I remove extra files and just stay OpenCV?
According to this article:
enter link description here
opencv raspberry-pi raspbian
add a comment |
I installed OpenCV 3 and got 4GB of my memory space. After build, how can I remove extra files and just stay OpenCV?
According to this article:
enter link description here
opencv raspberry-pi raspbian
1
If you're going to use opencv with Python, the easiest way to install opencv on a Raspberry Pi is:pip3 install opencv-python
andpip3 install opencv-contrib-python
. Using these commands, you'll not need to download additional or unnecessary files. It is to be noticed that this method works only on Raspbian Stretch and above and Python 3 ( This method does not work with Raspbian Jessy and Python 2)
– singrium
Nov 22 '18 at 9:30
@singrium What version of OpenCV is installed with this method? 2 or 3?
– iMohammad
Nov 22 '18 at 9:41
1
If you don't specify the version by yourself, it will download the latest version which is 3.4.2, but if you want a specific version: run thispip3 install opencv-python == <version number>
andpip3 install opencv-contrib-python == <version number>
– singrium
Nov 22 '18 at 9:47
@singrium i try this method but give me an error: """ImportError: libcblas.so.3: cannot open shared object file: No such file or directory"""
– iMohammad
Nov 22 '18 at 10:55
1
Did this error occur when you tried the commands above or when you didimport cv2
? Opencv have some dependencies that you should install first: run these commands to install the needed packages, then install Opencvsudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install python3-pyqt5
– singrium
Nov 22 '18 at 10:58
add a comment |
I installed OpenCV 3 and got 4GB of my memory space. After build, how can I remove extra files and just stay OpenCV?
According to this article:
enter link description here
opencv raspberry-pi raspbian
I installed OpenCV 3 and got 4GB of my memory space. After build, how can I remove extra files and just stay OpenCV?
According to this article:
enter link description here
opencv raspberry-pi raspbian
opencv raspberry-pi raspbian
edited Dec 15 '18 at 21:30
cricket_007
82.5k1143111
82.5k1143111
asked Nov 22 '18 at 9:10
iMohammadiMohammad
365
365
1
If you're going to use opencv with Python, the easiest way to install opencv on a Raspberry Pi is:pip3 install opencv-python
andpip3 install opencv-contrib-python
. Using these commands, you'll not need to download additional or unnecessary files. It is to be noticed that this method works only on Raspbian Stretch and above and Python 3 ( This method does not work with Raspbian Jessy and Python 2)
– singrium
Nov 22 '18 at 9:30
@singrium What version of OpenCV is installed with this method? 2 or 3?
– iMohammad
Nov 22 '18 at 9:41
1
If you don't specify the version by yourself, it will download the latest version which is 3.4.2, but if you want a specific version: run thispip3 install opencv-python == <version number>
andpip3 install opencv-contrib-python == <version number>
– singrium
Nov 22 '18 at 9:47
@singrium i try this method but give me an error: """ImportError: libcblas.so.3: cannot open shared object file: No such file or directory"""
– iMohammad
Nov 22 '18 at 10:55
1
Did this error occur when you tried the commands above or when you didimport cv2
? Opencv have some dependencies that you should install first: run these commands to install the needed packages, then install Opencvsudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install python3-pyqt5
– singrium
Nov 22 '18 at 10:58
add a comment |
1
If you're going to use opencv with Python, the easiest way to install opencv on a Raspberry Pi is:pip3 install opencv-python
andpip3 install opencv-contrib-python
. Using these commands, you'll not need to download additional or unnecessary files. It is to be noticed that this method works only on Raspbian Stretch and above and Python 3 ( This method does not work with Raspbian Jessy and Python 2)
– singrium
Nov 22 '18 at 9:30
@singrium What version of OpenCV is installed with this method? 2 or 3?
– iMohammad
Nov 22 '18 at 9:41
1
If you don't specify the version by yourself, it will download the latest version which is 3.4.2, but if you want a specific version: run thispip3 install opencv-python == <version number>
andpip3 install opencv-contrib-python == <version number>
– singrium
Nov 22 '18 at 9:47
@singrium i try this method but give me an error: """ImportError: libcblas.so.3: cannot open shared object file: No such file or directory"""
– iMohammad
Nov 22 '18 at 10:55
1
Did this error occur when you tried the commands above or when you didimport cv2
? Opencv have some dependencies that you should install first: run these commands to install the needed packages, then install Opencvsudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install python3-pyqt5
– singrium
Nov 22 '18 at 10:58
1
1
If you're going to use opencv with Python, the easiest way to install opencv on a Raspberry Pi is:
pip3 install opencv-python
and pip3 install opencv-contrib-python
. Using these commands, you'll not need to download additional or unnecessary files. It is to be noticed that this method works only on Raspbian Stretch and above and Python 3 ( This method does not work with Raspbian Jessy and Python 2)– singrium
Nov 22 '18 at 9:30
If you're going to use opencv with Python, the easiest way to install opencv on a Raspberry Pi is:
pip3 install opencv-python
and pip3 install opencv-contrib-python
. Using these commands, you'll not need to download additional or unnecessary files. It is to be noticed that this method works only on Raspbian Stretch and above and Python 3 ( This method does not work with Raspbian Jessy and Python 2)– singrium
Nov 22 '18 at 9:30
@singrium What version of OpenCV is installed with this method? 2 or 3?
– iMohammad
Nov 22 '18 at 9:41
@singrium What version of OpenCV is installed with this method? 2 or 3?
– iMohammad
Nov 22 '18 at 9:41
1
1
If you don't specify the version by yourself, it will download the latest version which is 3.4.2, but if you want a specific version: run this
pip3 install opencv-python == <version number>
and pip3 install opencv-contrib-python == <version number>
– singrium
Nov 22 '18 at 9:47
If you don't specify the version by yourself, it will download the latest version which is 3.4.2, but if you want a specific version: run this
pip3 install opencv-python == <version number>
and pip3 install opencv-contrib-python == <version number>
– singrium
Nov 22 '18 at 9:47
@singrium i try this method but give me an error: """ImportError: libcblas.so.3: cannot open shared object file: No such file or directory"""
– iMohammad
Nov 22 '18 at 10:55
@singrium i try this method but give me an error: """ImportError: libcblas.so.3: cannot open shared object file: No such file or directory"""
– iMohammad
Nov 22 '18 at 10:55
1
1
Did this error occur when you tried the commands above or when you did
import cv2
? Opencv have some dependencies that you should install first: run these commands to install the needed packages, then install Opencv sudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install python3-pyqt5
– singrium
Nov 22 '18 at 10:58
Did this error occur when you tried the commands above or when you did
import cv2
? Opencv have some dependencies that you should install first: run these commands to install the needed packages, then install Opencv sudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install python3-pyqt5
– singrium
Nov 22 '18 at 10:58
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53427336%2fremove-additional-file-after-install-opencv-on-raspberry-pi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53427336%2fremove-additional-file-after-install-opencv-on-raspberry-pi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
If you're going to use opencv with Python, the easiest way to install opencv on a Raspberry Pi is:
pip3 install opencv-python
andpip3 install opencv-contrib-python
. Using these commands, you'll not need to download additional or unnecessary files. It is to be noticed that this method works only on Raspbian Stretch and above and Python 3 ( This method does not work with Raspbian Jessy and Python 2)– singrium
Nov 22 '18 at 9:30
@singrium What version of OpenCV is installed with this method? 2 or 3?
– iMohammad
Nov 22 '18 at 9:41
1
If you don't specify the version by yourself, it will download the latest version which is 3.4.2, but if you want a specific version: run this
pip3 install opencv-python == <version number>
andpip3 install opencv-contrib-python == <version number>
– singrium
Nov 22 '18 at 9:47
@singrium i try this method but give me an error: """ImportError: libcblas.so.3: cannot open shared object file: No such file or directory"""
– iMohammad
Nov 22 '18 at 10:55
1
Did this error occur when you tried the commands above or when you did
import cv2
? Opencv have some dependencies that you should install first: run these commands to install the needed packages, then install Opencvsudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
sudo apt-get install libqtgui4
sudo apt-get install python3-pyqt5
– singrium
Nov 22 '18 at 10:58